Tensorium
Loading...
Searching...
No Matches
tensorium_RG::Field3D< T > Struct Template Reference

#include <GridLayout.hpp>

Collaboration diagram for tensorium_RG::Field3D< T >:

Public Member Functions

T * ptr () noexcept
const T * ptr () const noexcept
size_t idx (size_t i, size_t j, size_t k) const noexcept

Public Attributes

aligned_unique_ptr< T > data
Strides< T > st

Member Function Documentation

◆ idx()

template<typename T>
size_t tensorium_RG::Field3D< T >::idx ( size_t i,
size_t j,
size_t k ) const
inlinenoexcept

References st.

Referenced by tensorium_RG::bssn::compute_constraint_monitor(), tensorium_RG::halo_linear_extrapolate_full(), and tensorium_RG::halo_periodic().

Here is the caller graph for this function:

◆ ptr() [1/2]

template<typename T>
const T * tensorium_RG::Field3D< T >::ptr ( ) const
inlinenoexcept

References data.

◆ ptr() [2/2]

Member Data Documentation

◆ data

◆ st


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