Compadre  1.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 ()
 
KOKKOS_INLINE_FUNCTION XYZ (double _x, double _y, double _z)
 
KOKKOS_INLINE_FUNCTION double & operator[] (const int i)
 
KOKKOS_INLINE_FUNCTION XYZ operator* (double scalar)
 

Public Attributes

double x
 
double y
 
double z
 

Constructor & Destructor Documentation

KOKKOS_INLINE_FUNCTION Compadre::XYZ::XYZ ( )
inline

Definition at line 11 of file Compadre_Misc.hpp.

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

Definition at line 14 of file Compadre_Misc.hpp.

Member Function Documentation

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

Definition at line 33 of file Compadre_Misc.hpp.

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

Definition at line 21 of file Compadre_Misc.hpp.

Member Data Documentation

double Compadre::XYZ::x

Definition at line 16 of file Compadre_Misc.hpp.

double Compadre::XYZ::y

Definition at line 17 of file Compadre_Misc.hpp.

double Compadre::XYZ::z

Definition at line 18 of file Compadre_Misc.hpp.


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