Compadre  1.5.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Compadre::XYZ Struct Reference

Detailed Description

Definition at line 16 of file Compadre_Misc.hpp.

#include <Compadre_Misc.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION XYZ (double _x=0.0, double _y=0.0, double _z=0.0)
 
KOKKOS_INLINE_FUNCTION XYZ (const scalar_type *arry)
 
 XYZ (const std::vector< scalar_type > &vec)
 
KOKKOS_INLINE_FUNCTION XYZ operator+= (const XYZ &other)
 
KOKKOS_INLINE_FUNCTION XYZ operator+= (XYZ &other)
 
KOKKOS_INLINE_FUNCTION XYZ operator-= (const XYZ &other)
 
KOKKOS_INLINE_FUNCTION XYZ operator-= (XYZ &other)
 
KOKKOS_INLINE_FUNCTION XYZ operator*= (const double &scaling)
 
KOKKOS_INLINE_FUNCTION
scalar_type
operator[] (const int i)
 
KOKKOS_INLINE_FUNCTION scalar_type operator[] (const int i) const
 
KOKKOS_INLINE_FUNCTION XYZ operator* (double scalar)
 
KOKKOS_INLINE_FUNCTION size_t extent (int comp=0)
 
KOKKOS_INLINE_FUNCTION int extent_int (int comp=0)
 

Public Attributes

double x
 
double y
 
double z
 

Constructor & Destructor Documentation

KOKKOS_INLINE_FUNCTION Compadre::XYZ::XYZ ( double  _x = 0.0,
double  _y = 0.0,
double  _z = 0.0 
)
inline

Definition at line 23 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION Compadre::XYZ::XYZ ( const scalar_type arry)
inline

Definition at line 26 of file Compadre_Misc.hpp.

Compadre::XYZ::XYZ ( const std::vector< scalar_type > &  vec)
inline

Definition at line 28 of file Compadre_Misc.hpp.

Member Function Documentation

KOKKOS_INLINE_FUNCTION size_t Compadre::XYZ::extent ( int  comp = 0)
inline

Definition at line 92 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION int Compadre::XYZ::extent_int ( int  comp = 0)
inline

Definition at line 97 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION XYZ Compadre::XYZ::operator* ( double  scalar)
inline

Definition at line 83 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION XYZ Compadre::XYZ::operator*= ( const double &  scaling)
inline

Definition at line 55 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION XYZ Compadre::XYZ::operator+= ( const XYZ other)
inline

Definition at line 31 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION XYZ Compadre::XYZ::operator+= ( XYZ other)
inline

Definition at line 37 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION XYZ Compadre::XYZ::operator-= ( const XYZ other)
inline

Definition at line 43 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION XYZ Compadre::XYZ::operator-= ( XYZ other)
inline

Definition at line 49 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION scalar_type& Compadre::XYZ::operator[] ( const int  i)
inline

Definition at line 61 of file Compadre_Misc.hpp.

KOKKOS_INLINE_FUNCTION scalar_type Compadre::XYZ::operator[] ( const int  i) const
inline

Definition at line 72 of file Compadre_Misc.hpp.

Member Data Documentation

double Compadre::XYZ::x

Definition at line 18 of file Compadre_Misc.hpp.

double Compadre::XYZ::y

Definition at line 19 of file Compadre_Misc.hpp.

double Compadre::XYZ::z

Definition at line 20 of file Compadre_Misc.hpp.


The documentation for this struct was generated from the following file: