GMatTensor 0.10.6
Loading...
Searching...
No Matches
GMatTensor::Cartesian2d::pointer Namespace Reference

API for individual tensors with pointer-only input. More...

Functions

template<class T >
void O2 (T *ret)
 See Cartesian2d::O2() More...
 
template<class T >
void O4 (T *ret)
 See Cartesian2d::O4() More...
 
template<class T >
void I2 (T *ret)
 See Cartesian2d::I2() More...
 
template<class T >
void II (T *ret)
 See Cartesian2d::II() More...
 
template<class T >
void I4 (T *ret)
 See Cartesian2d::I4() More...
 
template<class T >
void I4rt (T *ret)
 See Cartesian2d::I4rt() More...
 
template<class T >
void I4s (T *ret)
 See Cartesian2d::I4s() More...
 
template<class T >
void I4d (T *ret)
 See Cartesian2d::I4d() More...
 
template<class T >
Trace (const T *A)
 See Cartesian2d::Trace() More...
 
template<class T >
Hydrostatic (const T *A)
 See Cartesian2d::Hydrostatic() More...
 
template<class T >
void sym (const T *A, T *ret)
 See Cartesian2d::Sym() More...
 
template<class T >
Hydrostatic_deviatoric (const T *A, T *ret)
 Returns Cartesian2d::Hydrostatic() and computes Cartesian2d::Deviatoric() More...
 
template<class T >
Deviatoric_ddot_deviatoric (const T *A)
 Double tensor contraction of the tensor's deviator. More...
 
template<class T >
Norm_deviatoric (const T *A)
 See Cartesian2d::Norm_deviatoric() More...
 
template<class T >
A2_ddot_B2 (const T *A, const T *B)
 See Cartesian2d::A2_ddot_B2() More...
 
template<class T >
A2s_ddot_B2s (const T *A, const T *B)
 See Cartesian2d::A2s_ddot_B2s() More...
 
template<class T >
void A2_dyadic_B2 (const T *A, const T *B, T *ret)
 See Cartesian2d::A2_dyadic_B2() More...
 
template<class T >
void A2_dot_B2 (const T *A, const T *B, T *ret)
 See Cartesian2d::A2_dot_B2() More...
 
template<class T >
void A4_ddot_B2 (const T *A, const T *B, T *ret)
 See Cartesian2d::A4_ddot_B2() More...
 

Detailed Description

API for individual tensors with pointer-only input.

No arrays of tensors are allowed, hence the input is fixed to:

  • Second order tensors, size = 2 * 2 = 4. Storage convention (xx, xy, yx, yy).
  • Fourth order tensors, size = 2 * 2 * 2 * 2 = 16.

Function Documentation

◆ A2_ddot_B2()

template<class T >
T GMatTensor::Cartesian2d::pointer::A2_ddot_B2 ( const T *  A,
const T *  B 
)
inline

See Cartesian2d::A2_ddot_B2()

Parameters
A2nd order tensor
B2nd order tensor
Returns
scalar

Definition at line 273 of file Cartesian2d.h.

◆ A2_dot_B2()

template<class T >
void GMatTensor::Cartesian2d::pointer::A2_dot_B2 ( const T *  A,
const T *  B,
T *  ret 
)
inline

See Cartesian2d::A2_dot_B2()

Parameters
A2nd order tensor
B2nd order tensor
retoutput 2th order tensor

Definition at line 320 of file Cartesian2d.h.

◆ A2_dyadic_B2()

template<class T >
void GMatTensor::Cartesian2d::pointer::A2_dyadic_B2 ( const T *  A,
const T *  B,
T *  ret 
)
inline

See Cartesian2d::A2_dyadic_B2()

Parameters
A2nd order tensor
B2nd order tensor
retoutput 4th order tensor

Definition at line 299 of file Cartesian2d.h.

◆ A2s_ddot_B2s()

template<class T >
T GMatTensor::Cartesian2d::pointer::A2s_ddot_B2s ( const T *  A,
const T *  B 
)
inline

See Cartesian2d::A2s_ddot_B2s()

Parameters
A2nd order tensor
B2nd order tensor
Returns
scalar

Definition at line 286 of file Cartesian2d.h.

◆ A4_ddot_B2()

template<class T >
void GMatTensor::Cartesian2d::pointer::A4_ddot_B2 ( const T *  A,
const T *  B,
T *  ret 
)
inline

See Cartesian2d::A4_ddot_B2()

Parameters
A4th order tensor
B2nd order tensor
retoutput 2th order tensor

Definition at line 336 of file Cartesian2d.h.

◆ Deviatoric_ddot_deviatoric()

template<class T >
T GMatTensor::Cartesian2d::pointer::Deviatoric_ddot_deviatoric ( const T *  A)
inline

Double tensor contraction of the tensor's deviator.

\( (dev(A))_{ij} (dev(A))_{ji} \)

Parameters
A2nd order tensor
Returns
scalar

Definition at line 247 of file Cartesian2d.h.

◆ Hydrostatic()

template<class T >
T GMatTensor::Cartesian2d::pointer::Hydrostatic ( const T *  A)
inline

See Cartesian2d::Hydrostatic()

Parameters
A2nd order tensor
Returns
scalar

Definition at line 200 of file Cartesian2d.h.

◆ Hydrostatic_deviatoric()

template<class T >
T GMatTensor::Cartesian2d::pointer::Hydrostatic_deviatoric ( const T *  A,
T *  ret 
)
inline

Returns Cartesian2d::Hydrostatic() and computes Cartesian2d::Deviatoric()

Parameters
A2nd order tensor
ret2nd order tensor, may be the same pointer as A
Returns
scalar

Definition at line 228 of file Cartesian2d.h.

◆ I2()

template<class T >
void GMatTensor::Cartesian2d::pointer::I2 ( T *  ret)
inline

See Cartesian2d::I2()

Parameters
retoutput 2nd order tensor

Definition at line 67 of file Cartesian2d.h.

◆ I4()

template<class T >
void GMatTensor::Cartesian2d::pointer::I4 ( T *  ret)
inline

See Cartesian2d::I4()

Parameters
retoutput 2nd order tensor

Definition at line 104 of file Cartesian2d.h.

◆ I4d()

template<class T >
void GMatTensor::Cartesian2d::pointer::I4d ( T *  ret)
inline

See Cartesian2d::I4d()

Parameters
retoutput 2nd order tensor

Definition at line 168 of file Cartesian2d.h.

◆ I4rt()

template<class T >
void GMatTensor::Cartesian2d::pointer::I4rt ( T *  ret)
inline

See Cartesian2d::I4rt()

Parameters
retoutput 2nd order tensor

Definition at line 127 of file Cartesian2d.h.

◆ I4s()

template<class T >
void GMatTensor::Cartesian2d::pointer::I4s ( T *  ret)
inline

See Cartesian2d::I4s()

Parameters
retoutput 2nd order tensor

Definition at line 150 of file Cartesian2d.h.

◆ II()

template<class T >
void GMatTensor::Cartesian2d::pointer::II ( T *  ret)
inline

See Cartesian2d::II()

Parameters
retoutput 2nd order tensor

Definition at line 81 of file Cartesian2d.h.

◆ Norm_deviatoric()

template<class T >
T GMatTensor::Cartesian2d::pointer::Norm_deviatoric ( const T *  A)
inline

See Cartesian2d::Norm_deviatoric()

Parameters
A2nd order tensor
Returns
scalar

Definition at line 260 of file Cartesian2d.h.

◆ O2()

template<class T >
void GMatTensor::Cartesian2d::pointer::O2 ( T *  ret)
inline

See Cartesian2d::O2()

Parameters
retoutput 2nd order tensor

Definition at line 45 of file Cartesian2d.h.

◆ O4()

template<class T >
void GMatTensor::Cartesian2d::pointer::O4 ( T *  ret)
inline

See Cartesian2d::O4()

Parameters
retoutput 2nd order tensor

Definition at line 56 of file Cartesian2d.h.

◆ sym()

template<class T >
void GMatTensor::Cartesian2d::pointer::sym ( const T *  A,
T *  ret 
)
inline

See Cartesian2d::Sym()

Parameters
A2nd order tensor
ret2nd order tensor, may be the same pointer as A

Definition at line 212 of file Cartesian2d.h.

◆ Trace()

template<class T >
T GMatTensor::Cartesian2d::pointer::Trace ( const T *  A)
inline

See Cartesian2d::Trace()

Parameters
A2nd order tensor
Returns
scalar

Definition at line 188 of file Cartesian2d.h.