Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
shammath::SymTensor3d_2< T > Struct Template Reference
Collaboration diagram for shammath::SymTensor3d_2< T >:

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

v_00
v_01
v_02
v_11
v_12
v_22

Static Public Attributes

static constexpr u32 compo_cnt = 6

Detailed Description

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

Definition at line 91 of file symtensors.hpp.

Member Function Documentation

◆ inner() [1/3]

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

Definition at line 107 of file symtensors.hpp.

◆ inner() [2/3]

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

Definition at line 102 of file symtensors.hpp.

◆ inner() [3/3]

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

Definition at line 114 of file symtensors.hpp.

◆ load()

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

Definition at line 179 of file symtensors.hpp.

◆ operator*()

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

Definition at line 131 of file symtensors.hpp.

◆ operator*=()

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

Definition at line 119 of file symtensors.hpp.

◆ operator+()

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

Definition at line 148 of file symtensors.hpp.

◆ operator+=()

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

Definition at line 136 of file symtensors.hpp.

◆ operator-()

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

Definition at line 158 of file symtensors.hpp.

◆ store()

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

Definition at line 169 of file symtensors.hpp.

Member Data Documentation

◆ compo_cnt

template<class T>
u32 shammath::SymTensor3d_2< T >::compo_cnt = 6
staticconstexpr

Definition at line 93 of file symtensors.hpp.

◆ v_00

template<class T>
T shammath::SymTensor3d_2< T >::v_00

Definition at line 95 of file symtensors.hpp.

◆ v_01

template<class T>
T shammath::SymTensor3d_2< T >::v_01

Definition at line 96 of file symtensors.hpp.

◆ v_02

template<class T>
T shammath::SymTensor3d_2< T >::v_02

Definition at line 97 of file symtensors.hpp.

◆ v_11

template<class T>
T shammath::SymTensor3d_2< T >::v_11

Definition at line 98 of file symtensors.hpp.

◆ v_12

template<class T>
T shammath::SymTensor3d_2< T >::v_12

Definition at line 99 of file symtensors.hpp.

◆ v_22

template<class T>
T shammath::SymTensor3d_2< T >::v_22

Definition at line 100 of file symtensors.hpp.


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