Tensorium
Loading...
Searching...
No Matches
tensorium_RG::detail Namespace Reference

Functions

template<typename T>
std::array< size_t, 3 > spatial_indices (const tensorium::Vector< T > &X)
template<typename T>
void shift_axis (tensorium::Vector< T > &X, const std::array< size_t, 3 > &idx, size_t axis, T delta)
template<typename T>
tensorium::Vector< T > shifted_copy (const tensorium::Vector< T > &X, const std::array< size_t, 3 > &idx, T dx, T dy, T dz)

Function Documentation

◆ shift_axis()

template<typename T>
void tensorium_RG::detail::shift_axis ( tensorium::Vector< T > & X,
const std::array< size_t, 3 > & idx,
size_t axis,
T delta )
inline

References X().

Referenced by tensorium_RG::covariant_tensor2_second(), tensorium_RG::partial_scalar(), tensorium_RG::partial_tensor2(), and tensorium_RG::partial_vector().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shifted_copy()

template<typename T>
tensorium::Vector< T > tensorium_RG::detail::shifted_copy ( const tensorium::Vector< T > & X,
const std::array< size_t, 3 > & idx,
T dx,
T dy,
T dz )
inline

References X().

Referenced by tensorium_RG::compute_partial_derivatives_scalar(), tensorium_RG::compute_partial_derivatives_tensor2D(), tensorium_RG::compute_partial_derivatives_vector(), tensorium_RG::compute_second_derivatives_scalar(), and tensorium_RG::compute_second_derivatives_tensor2D().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ spatial_indices()

template<typename T>
std::array< size_t, 3 > tensorium_RG::detail::spatial_indices ( const tensorium::Vector< T > & X)
inline

References X().

Referenced by tensorium_RG::compute_partial_derivatives_scalar(), tensorium_RG::compute_partial_derivatives_tensor2D(), tensorium_RG::compute_partial_derivatives_vector(), tensorium_RG::compute_second_derivatives_scalar(), tensorium_RG::compute_second_derivatives_tensor2D(), tensorium_RG::covariant_tensor2_second(), tensorium_RG::partial_scalar(), tensorium_RG::partial_tensor2(), and tensorium_RG::partial_vector().

Here is the call graph for this function:
Here is the caller graph for this function: