Compadre  1.5.5
 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 8 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 15 of file Compadre_Misc.hpp.

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

Definition at line 18 of file Compadre_Misc.hpp.

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

Definition at line 20 of file Compadre_Misc.hpp.

Member Function Documentation

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

Definition at line 84 of file Compadre_Misc.hpp.

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

Definition at line 89 of file Compadre_Misc.hpp.

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

Definition at line 75 of file Compadre_Misc.hpp.

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

Definition at line 47 of file Compadre_Misc.hpp.

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

Definition at line 23 of file Compadre_Misc.hpp.

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

Definition at line 29 of file Compadre_Misc.hpp.

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

Definition at line 35 of file Compadre_Misc.hpp.

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

Definition at line 41 of file Compadre_Misc.hpp.

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

Definition at line 53 of file Compadre_Misc.hpp.

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

Definition at line 64 of file Compadre_Misc.hpp.

Member Data Documentation

double Compadre::XYZ::x

Definition at line 10 of file Compadre_Misc.hpp.

double Compadre::XYZ::y

Definition at line 11 of file Compadre_Misc.hpp.

double Compadre::XYZ::z

Definition at line 12 of file Compadre_Misc.hpp.


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