Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
shammath::SymTensor3d_1< T > Struct Template Reference
+ Collaboration diagram for shammath::SymTensor3d_1< T >:

Public Member Functions

inner (const SymTensor3d_1 &t) const
 
SymTensor3d_1 inner (const T scal) const
 
SymTensor3d_1operator*= (const T scal)
 
SymTensor3d_1 operator* (const T &scal) const
 
SymTensor3d_1operator+= (const SymTensor3d_1 other)
 
SymTensor3d_1 operator+ (const SymTensor3d_1 &t2) const
 
SymTensor3d_1 operator- (const SymTensor3d_1 &t2) const
 
template<class Tacc >
void store (Tacc &&acc, u32 offset) const
 

Static Public Member Functions

template<class Tacc >
static SymTensor3d_1 load (Tacc &&acc, u32 offset)
 

Public Attributes

v_0
 
v_1
 
v_2
 

Static Public Attributes

static constexpr u32 compo_cnt = 3
 

Detailed Description

template<class T>
struct shammath::SymTensor3d_1< T >

Definition at line 23 of file symtensors.hpp.

Member Function Documentation

◆ inner() [1/2]

template<class T >
T shammath::SymTensor3d_1< T >::inner ( const SymTensor3d_1< T > &  t) const
inline

Definition at line 31 of file symtensors.hpp.

◆ inner() [2/2]

template<class T >
SymTensor3d_1 shammath::SymTensor3d_1< T >::inner ( const T  scal) const
inline

Definition at line 35 of file symtensors.hpp.

◆ load()

template<class T >
template<class Tacc >
static SymTensor3d_1 shammath::SymTensor3d_1< T >::load ( Tacc &&  acc,
u32  offset 
)
inlinestatic

Definition at line 81 of file symtensors.hpp.

◆ operator*()

template<class T >
SymTensor3d_1 shammath::SymTensor3d_1< T >::operator* ( const T &  scal) const
inline

Definition at line 48 of file symtensors.hpp.

◆ operator*=()

template<class T >
SymTensor3d_1 & shammath::SymTensor3d_1< T >::operator*= ( const T  scal)
inline

Definition at line 39 of file symtensors.hpp.

◆ operator+()

template<class T >
SymTensor3d_1 shammath::SymTensor3d_1< T >::operator+ ( const SymTensor3d_1< T > &  t2) const
inline

Definition at line 65 of file symtensors.hpp.

◆ operator+=()

template<class T >
SymTensor3d_1 & shammath::SymTensor3d_1< T >::operator+= ( const SymTensor3d_1< T >  other)
inline

Definition at line 56 of file symtensors.hpp.

◆ operator-()

template<class T >
SymTensor3d_1 shammath::SymTensor3d_1< T >::operator- ( const SymTensor3d_1< T > &  t2) const
inline

Definition at line 69 of file symtensors.hpp.

◆ store()

template<class T >
template<class Tacc >
void shammath::SymTensor3d_1< T >::store ( Tacc &&  acc,
u32  offset 
) const
inline

Definition at line 74 of file symtensors.hpp.

Member Data Documentation

◆ compo_cnt

template<class T >
constexpr u32 shammath::SymTensor3d_1< T >::compo_cnt = 3
staticconstexpr

Definition at line 25 of file symtensors.hpp.

◆ v_0

template<class T >
T shammath::SymTensor3d_1< T >::v_0

Definition at line 27 of file symtensors.hpp.

◆ v_1

template<class T >
T shammath::SymTensor3d_1< T >::v_1

Definition at line 28 of file symtensors.hpp.

◆ v_2

template<class T >
T shammath::SymTensor3d_1< T >::v_2

Definition at line 29 of file symtensors.hpp.


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