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

Public Member Functions

template<class Tacc>
void store (Tacc &&acc, u32 offset) const
SymTensorCollection< T, 0, 0 > & operator*= (const T scal)
SymTensorCollection< T, 0, 0 > & operator+= (const SymTensorCollection< T, 0, 0 > other)
SymTensorCollection< T, 0, 0 > operator- (const SymTensorCollection< T, 0, 0 > &other) const

Static Public Member Functions

static SymTensorCollection from_vec (const sycl::vec< T, 3 > &v)
static SymTensorCollection zeros ()
template<class Tacc>
static SymTensorCollection load (Tacc &&acc, u32 offset)

Public Attributes

t0

Static Public Attributes

static constexpr u32 num_component = 1

Detailed Description

template<class T>
struct shammath::SymTensorCollection< T, 0, 0 >

Definition at line 548 of file symtensor_collections.hpp.

Member Function Documentation

◆ from_vec()

template<class T>
SymTensorCollection shammath::SymTensorCollection< T, 0, 0 >::from_vec ( const sycl::vec< T, 3 > & v)
inlinestatic

Definition at line 553 of file symtensor_collections.hpp.

◆ load()

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

Definition at line 562 of file symtensor_collections.hpp.

◆ operator*=()

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

Definition at line 566 of file symtensor_collections.hpp.

◆ operator+=()

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

Definition at line 573 of file symtensor_collections.hpp.

◆ operator-()

template<class T>
SymTensorCollection< T, 0, 0 > shammath::SymTensorCollection< T, 0, 0 >::operator- ( const SymTensorCollection< T, 0, 0 > & other) const
inline

Definition at line 580 of file symtensor_collections.hpp.

◆ store()

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

Definition at line 557 of file symtensor_collections.hpp.

◆ zeros()

template<class T>
SymTensorCollection shammath::SymTensorCollection< T, 0, 0 >::zeros ( )
inlinestatic

Definition at line 554 of file symtensor_collections.hpp.

Member Data Documentation

◆ num_component

template<class T>
u32 shammath::SymTensorCollection< T, 0, 0 >::num_component = 1
staticconstexpr

Definition at line 551 of file symtensor_collections.hpp.

◆ t0

template<class T>
T shammath::SymTensorCollection< T, 0, 0 >::t0

Definition at line 549 of file symtensor_collections.hpp.


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