Alamo
Namespaces | Data Structures | Typedefs | Enumerations | Functions | Variables
Set Namespace Reference

Namespaces

 Constant
 

Data Structures

class  Field
 
class  Field< Set::Scalar >
 
class  Matrix3
 
class  Matrix4
 
class  Matrix4< 2, Sym::Full >
 
class  Matrix4< 2, Sym::Major >
 
class  Matrix4< 2, Sym::MajorMinor >
 
class  Matrix4< 3, Sym::Full >
 
class  Matrix4< 3, Sym::Major >
 
class  Matrix4< 3, Sym::MajorMinor >
 
class  Matrix4< AMREX_SPACEDIM, Sym::Diagonal >
 
class  Matrix4< AMREX_SPACEDIM, Sym::Isotropic >
 
class  Quaternion
 

Typedefs

using Scalar = amrex::Real
 
using Vector = Eigen::Matrix< amrex::Real, AMREX_SPACEDIM, 1 >
 
using Vector3d = Eigen::Vector3d
 
using Covector = Eigen::Matrix< amrex::Real, 1, AMREX_SPACEDIM >
 
using Matrix = Eigen::Matrix< amrex::Real, AMREX_SPACEDIM, AMREX_SPACEDIM >
 
using Matrix3d = Eigen::Matrix3d
 
using iMatrix = Eigen::Matrix< int, AMREX_SPACEDIM, AMREX_SPACEDIM >
 
using HC = Hypercube
 
template<typename T >
using Patch = amrex::Array4< T > const &
 

Enumerations

enum  Sym {
  None, Major, Minor, MajorMinor,
  Diagonal, Full, Isotropic
}
 
enum  Hypercube { Node = 0, Edge = 1, Face = 2, Cell = 3 }
 

Functions

AMREX_FORCE_INLINE Set::Matrix reduce (const Set::Matrix3d &in)
 
AMREX_FORCE_INLINE Set::Matrix3d expand (const Set::Matrix &in)
 
AMREX_FORCE_INLINE Quaternion operator* (const Set::Scalar alpha, const Quaternion b)
 
AMREX_FORCE_INLINE Quaternion operator* (const Quaternion b, const Set::Scalar alpha)
 
AMREX_FORCE_INLINE Quaternion operator+ (const Quaternion a, const Quaternion b)
 
AMREX_FORCE_INLINE Quaternion operator- (const Quaternion a, const Quaternion b)
 
AMREX_FORCE_INLINE bool operator== (const Quaternion a, const Quaternion b)
 
AMREX_FORCE_INLINE Vector Position (const int &i, const int &j, const int &k, const amrex::Geometry &geom, const amrex::IndexType &ixType)
 
AMREX_FORCE_INLINE Vector Normal (AMREX_D_DECL(bool xmin, bool ymin, bool zmin), AMREX_D_DECL(bool xmax, bool ymax, bool zmax))
 
AMREX_FORCE_INLINE Vector Size (const amrex::Geometry &geom)
 
AMREX_FORCE_INLINE Vector Volume (const int &i, const int &j, const int &k, const amrex::Geometry &geom, const amrex::IndexType &ixType)
 
template<int dim, int sym>
std::ostream & operator<< (std::ostream &os, const Matrix4< dim, sym > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix operator* (const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &a, const Set::Matrix &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector operator* (const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &a, const Set::Matrix3 &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool operator== (const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &a, const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Diagonal > operator+ (const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &a, const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Diagonal > operator- (const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &a, const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Diagonal > operator* (const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &a, const Set::Scalar &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Diagonal > operator* (const Set::Scalar &b, const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &a)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Diagonal > operator/ (const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &a, const Set::Scalar &b)
 
std::ostream & operator<< (std::ostream &os, const Matrix4< 3, Sym::Full > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix operator* (const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &a, const Set::Matrix &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix operator* (const Set::Matrix &b, const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &a)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector operator* (const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &a, const Set::Matrix3 &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Isotropic > operator* (const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &a, const Set::Scalar &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Isotropic > operator/ (const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &a, const Set::Scalar &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Isotropic > operator* (const Set::Scalar &b, const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &a)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool operator== (const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &a, const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Isotropic > operator+ (const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &a, const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< AMREX_SPACEDIM, Sym::Isotropic > operator- (const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &a, const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::Major > operator+ (const Matrix4< 2, Sym::Major > &a, const Matrix4< 2, Sym::Major > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::Major > operator- (const Matrix4< 2, Sym::Major > &a, const Matrix4< 2, Sym::Major > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::Major > operator* (const Matrix4< 2, Sym::Major > &a, const Set::Scalar &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::Major > operator* (const Set::Scalar &b, const Matrix4< 2, Sym::Major > &a)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::Major > operator/ (const Matrix4< 2, Sym::Major > &a, const Set::Scalar &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix operator* (const Matrix4< 2, Sym::Major > &a, const Set::Matrix &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::Major > operator+ (const Matrix4< 3, Sym::Major > &a, const Matrix4< 3, Sym::Major > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::Major > operator- (const Matrix4< 3, Sym::Major > &a, const Matrix4< 3, Sym::Major > &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::Major > operator* (const Matrix4< 3, Sym::Major > &a, const Set::Scalar &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::Major > operator* (const Set::Scalar &b, const Matrix4< 3, Sym::Major > &a)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::Major > operator/ (const Matrix4< 3, Sym::Major > &a, const Set::Scalar &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix operator* (const Matrix4< 3, Sym::Major > &a, const Set::Matrix &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector operator* (const Matrix4< AMREX_SPACEDIM, Sym::Major > &a, const Set::Matrix3 &b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool operator== (Matrix4< 2, Sym::MajorMinor > a, Matrix4< 2, Sym::MajorMinor > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::MajorMinor > operator+ (Matrix4< 2, Sym::MajorMinor > a, Matrix4< 2, Sym::MajorMinor > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::MajorMinor > operator- (Matrix4< 2, Sym::MajorMinor > a, Matrix4< 2, Sym::MajorMinor > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::MajorMinor > operator* (Matrix4< 2, Sym::MajorMinor > a, Set::Scalar b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::MajorMinor > operator* (Set::Scalar b, Matrix4< 2, Sym::MajorMinor > a)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 2, Sym::MajorMinor > operator/ (Matrix4< 2, Sym::MajorMinor > a, Set::Scalar b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix< Set::Scalar, 2, 2 > operator* (Matrix4< 2, Sym::MajorMinor > a, Eigen::Matrix< Set::Scalar, 2, 2 > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix< amrex::Real, 2, 1 > operator* (Matrix4< 2, Sym::MajorMinor > a, std::array< Eigen::Matrix< amrex::Real, 2, 2 >, 2 > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector operator* (Matrix4< 2, Sym::MajorMinor > a, Set::Matrix3 b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool operator== (Matrix4< 3, Sym::MajorMinor > a, Matrix4< 3, Sym::MajorMinor > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::MajorMinor > operator+ (Matrix4< 3, Sym::MajorMinor > a, Matrix4< 3, Sym::MajorMinor > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::MajorMinor > operator- (Matrix4< 3, Sym::MajorMinor > a, Matrix4< 3, Sym::MajorMinor > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::MajorMinor > operator* (Matrix4< 3, Sym::MajorMinor > a, Set::Scalar b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::MajorMinor > operator* (Set::Scalar b, Matrix4< 3, Sym::MajorMinor > a)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4< 3, Sym::MajorMinor > operator/ (Matrix4< 3, Sym::MajorMinor > a, Set::Scalar b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix< amrex::Real, 3, 3 > operator* (Matrix4< 3, Sym::MajorMinor > a, Eigen::Matrix< amrex::Real, 3, 3 > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix< amrex::Real, 2, 2 > operator* (Matrix4< 3, Sym::MajorMinor > a, Eigen::Matrix< amrex::Real, 2, 2 > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix< amrex::Real, 3, 1 > operator* (Matrix4< 3, Sym::MajorMinor > a, std::array< Eigen::Matrix< amrex::Real, 3, 3 >, 3 > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix< amrex::Real, 2, 1 > operator* (Matrix4< 3, Sym::MajorMinor > a, std::array< Eigen::Matrix< amrex::Real, 2, 2 >, 2 > b)
 
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector operator* (Matrix4< 3, Sym::MajorMinor > a, Set::Matrix3 b)
 

Variables

static Scalar Garbage = NAN
 

Typedef Documentation

◆ Covector

using Set::Covector = typedef Eigen::Matrix<amrex::Real,1,AMREX_SPACEDIM>

Definition at line 22 of file Base.H.

◆ HC

using Set::HC = typedef Hypercube

Definition at line 35 of file Set.H.

◆ iMatrix

using Set::iMatrix = typedef Eigen::Matrix<int,AMREX_SPACEDIM,AMREX_SPACEDIM>

Definition at line 25 of file Base.H.

◆ Matrix

using Set::Matrix = typedef Eigen::Matrix<amrex::Real,AMREX_SPACEDIM,AMREX_SPACEDIM>

Definition at line 23 of file Base.H.

◆ Matrix3d

using Set::Matrix3d = typedef Eigen::Matrix3d

Definition at line 24 of file Base.H.

◆ Patch

template<typename T >
using Set::Patch = typedef amrex::Array4<T> const&

Definition at line 88 of file Set.H.

◆ Scalar

using Set::Scalar = typedef amrex::Real

Definition at line 19 of file Base.H.

◆ Vector

using Set::Vector = typedef Eigen::Matrix<amrex::Real,AMREX_SPACEDIM,1>

Definition at line 20 of file Base.H.

◆ Vector3d

using Set::Vector3d = typedef Eigen::Vector3d

Definition at line 21 of file Base.H.

Enumeration Type Documentation

◆ Hypercube

Enumerator
Node 
Edge 
Face 
Cell 

Definition at line 31 of file Set.H.

◆ Sym

enum Set::Sym
Enumerator
None 
Major 
Minor 
MajorMinor 
Diagonal 
Full 
Isotropic 

Definition at line 197 of file Base.H.

Function Documentation

◆ expand()

AMREX_FORCE_INLINE Set::Matrix3d Set::expand ( const Set::Matrix in)

Definition at line 34 of file Base.H.

◆ Normal()

AMREX_FORCE_INLINE Vector Set::Normal ( AMREX_D_DECL(bool xmin, bool ymin, bool zmin)  ,
AMREX_D_DECL(bool xmax, bool ymax, bool zmax)   
)

Definition at line 143 of file Base.H.

◆ operator*() [1/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix Set::operator* ( const Matrix4< 2, Sym::Major > &  a,
const Set::Matrix b 
)

Definition at line 210 of file Matrix4_Major.H.

◆ operator*() [2/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2, Sym::Major> Set::operator* ( const Matrix4< 2, Sym::Major > &  a,
const Set::Scalar b 
)

Definition at line 190 of file Matrix4_Major.H.

◆ operator*() [3/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix Set::operator* ( const Matrix4< 3, Sym::Major > &  a,
const Set::Matrix b 
)

Definition at line 505 of file Matrix4_Major.H.

◆ operator*() [4/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3, Sym::Major> Set::operator* ( const Matrix4< 3, Sym::Major > &  a,
const Set::Scalar b 
)

Definition at line 484 of file Matrix4_Major.H.

◆ operator*() [5/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix Set::operator* ( const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  a,
const Set::Matrix b 
)

Definition at line 66 of file Matrix4_Diagonal.H.

◆ operator*() [6/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector Set::operator* ( const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  a,
const Set::Matrix3 b 
)

Definition at line 82 of file Matrix4_Diagonal.H.

◆ operator*() [7/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM, Sym::Diagonal> Set::operator* ( const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  a,
const Set::Scalar b 
)

Definition at line 115 of file Matrix4_Diagonal.H.

◆ operator*() [8/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix Set::operator* ( const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  a,
const Set::Matrix b 
)

Definition at line 120 of file Matrix4_Isotropic.H.

◆ operator*() [9/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector Set::operator* ( const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  a,
const Set::Matrix3 b 
)

Definition at line 146 of file Matrix4_Isotropic.H.

◆ operator*() [10/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM,Sym::Isotropic> Set::operator* ( const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  a,
const Set::Scalar b 
)

Definition at line 158 of file Matrix4_Isotropic.H.

◆ operator*() [11/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector Set::operator* ( const Matrix4< AMREX_SPACEDIM, Sym::Major > &  a,
const Set::Matrix3 b 
)

Definition at line 521 of file Matrix4_Major.H.

◆ operator*() [12/30]

AMREX_FORCE_INLINE Quaternion Set::operator* ( const Quaternion  b,
const Set::Scalar  alpha 
)

Definition at line 85 of file Base.H.

◆ operator*() [13/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Matrix Set::operator* ( const Set::Matrix b,
const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  a 
)

Definition at line 141 of file Matrix4_Isotropic.H.

◆ operator*() [14/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2, Sym::Major> Set::operator* ( const Set::Scalar b,
const Matrix4< 2, Sym::Major > &  a 
)

Definition at line 197 of file Matrix4_Major.H.

◆ operator*() [15/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3, Sym::Major> Set::operator* ( const Set::Scalar b,
const Matrix4< 3, Sym::Major > &  a 
)

Definition at line 491 of file Matrix4_Major.H.

◆ operator*() [16/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM, Sym::Diagonal> Set::operator* ( const Set::Scalar b,
const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  a 
)

Definition at line 123 of file Matrix4_Diagonal.H.

◆ operator*() [17/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM,Sym::Isotropic> Set::operator* ( const Set::Scalar b,
const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  a 
)

Definition at line 174 of file Matrix4_Isotropic.H.

◆ operator*() [18/30]

AMREX_FORCE_INLINE Quaternion Set::operator* ( const Set::Scalar  alpha,
const Quaternion  b 
)

Definition at line 78 of file Base.H.

◆ operator*() [19/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix<Set::Scalar,2,2> Set::operator* ( Matrix4< 2, Sym::MajorMinor >  a,
Eigen::Matrix< Set::Scalar, 2, 2 >  b 
)

Definition at line 214 of file Matrix4_MajorMinor.H.

◆ operator*() [20/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector Set::operator* ( Matrix4< 2, Sym::MajorMinor >  a,
Set::Matrix3  b 
)

Definition at line 227 of file Matrix4_MajorMinor.H.

◆ operator*() [21/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2,Sym::MajorMinor> Set::operator* ( Matrix4< 2, Sym::MajorMinor >  a,
Set::Scalar  b 
)

Definition at line 195 of file Matrix4_MajorMinor.H.

◆ operator*() [22/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix<amrex::Real,2,1> Set::operator* ( Matrix4< 2, Sym::MajorMinor >  a,
std::array< Eigen::Matrix< amrex::Real, 2, 2 >, 2 >  b 
)

◆ operator*() [23/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix<amrex::Real,2,2> Set::operator* ( Matrix4< 3, Sym::MajorMinor >  a,
Eigen::Matrix< amrex::Real, 2, 2 >  b 
)

Definition at line 555 of file Matrix4_MajorMinor.H.

◆ operator*() [24/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix<amrex::Real,3,3> Set::operator* ( Matrix4< 3, Sym::MajorMinor >  a,
Eigen::Matrix< amrex::Real, 3, 3 >  b 
)

Definition at line 538 of file Matrix4_MajorMinor.H.

◆ operator*() [25/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Vector Set::operator* ( Matrix4< 3, Sym::MajorMinor >  a,
Set::Matrix3  b 
)

Definition at line 572 of file Matrix4_MajorMinor.H.

◆ operator*() [26/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3,Sym::MajorMinor> Set::operator* ( Matrix4< 3, Sym::MajorMinor >  a,
Set::Scalar  b 
)

Definition at line 519 of file Matrix4_MajorMinor.H.

◆ operator*() [27/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix<amrex::Real,2,1> Set::operator* ( Matrix4< 3, Sym::MajorMinor >  a,
std::array< Eigen::Matrix< amrex::Real, 2, 2 >, 2 >  b 
)

◆ operator*() [28/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Eigen::Matrix<amrex::Real,3,1> Set::operator* ( Matrix4< 3, Sym::MajorMinor >  a,
std::array< Eigen::Matrix< amrex::Real, 3, 3 >, 3 >  b 
)

◆ operator*() [29/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2,Sym::MajorMinor> Set::operator* ( Set::Scalar  b,
Matrix4< 2, Sym::MajorMinor >  a 
)

Definition at line 202 of file Matrix4_MajorMinor.H.

◆ operator*() [30/30]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3,Sym::MajorMinor> Set::operator* ( Set::Scalar  b,
Matrix4< 3, Sym::MajorMinor >  a 
)

Definition at line 526 of file Matrix4_MajorMinor.H.

◆ operator+() [1/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2, Sym::Major> Set::operator+ ( const Matrix4< 2, Sym::Major > &  a,
const Matrix4< 2, Sym::Major > &  b 
)

Definition at line 176 of file Matrix4_Major.H.

◆ operator+() [2/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3, Sym::Major> Set::operator+ ( const Matrix4< 3, Sym::Major > &  a,
const Matrix4< 3, Sym::Major > &  b 
)

Definition at line 470 of file Matrix4_Major.H.

◆ operator+() [3/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM, Sym::Diagonal> Set::operator+ ( const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  a,
const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  b 
)

Definition at line 99 of file Matrix4_Diagonal.H.

◆ operator+() [4/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM,Sym::Isotropic> Set::operator+ ( const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  a,
const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  b 
)

Definition at line 187 of file Matrix4_Isotropic.H.

◆ operator+() [5/7]

AMREX_FORCE_INLINE Quaternion Set::operator+ ( const Quaternion  a,
const Quaternion  b 
)

Definition at line 92 of file Base.H.

◆ operator+() [6/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2,Sym::MajorMinor> Set::operator+ ( Matrix4< 2, Sym::MajorMinor >  a,
Matrix4< 2, Sym::MajorMinor >  b 
)

Definition at line 181 of file Matrix4_MajorMinor.H.

◆ operator+() [7/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3,Sym::MajorMinor> Set::operator+ ( Matrix4< 3, Sym::MajorMinor >  a,
Matrix4< 3, Sym::MajorMinor >  b 
)

Definition at line 505 of file Matrix4_MajorMinor.H.

◆ operator-() [1/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2, Sym::Major> Set::operator- ( const Matrix4< 2, Sym::Major > &  a,
const Matrix4< 2, Sym::Major > &  b 
)

Definition at line 183 of file Matrix4_Major.H.

◆ operator-() [2/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3, Sym::Major> Set::operator- ( const Matrix4< 3, Sym::Major > &  a,
const Matrix4< 3, Sym::Major > &  b 
)

Definition at line 477 of file Matrix4_Major.H.

◆ operator-() [3/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM, Sym::Diagonal> Set::operator- ( const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  a,
const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  b 
)

Definition at line 107 of file Matrix4_Diagonal.H.

◆ operator-() [4/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM,Sym::Isotropic> Set::operator- ( const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  a,
const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  b 
)

Definition at line 196 of file Matrix4_Isotropic.H.

◆ operator-() [5/7]

AMREX_FORCE_INLINE Quaternion Set::operator- ( const Quaternion  a,
const Quaternion  b 
)

Definition at line 100 of file Base.H.

◆ operator-() [6/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2,Sym::MajorMinor> Set::operator- ( Matrix4< 2, Sym::MajorMinor >  a,
Matrix4< 2, Sym::MajorMinor >  b 
)

Definition at line 188 of file Matrix4_MajorMinor.H.

◆ operator-() [7/7]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3,Sym::MajorMinor> Set::operator- ( Matrix4< 3, Sym::MajorMinor >  a,
Matrix4< 3, Sym::MajorMinor >  b 
)

Definition at line 512 of file Matrix4_MajorMinor.H.

◆ operator/() [1/6]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2, Sym::Major> Set::operator/ ( const Matrix4< 2, Sym::Major > &  a,
const Set::Scalar b 
)

Definition at line 203 of file Matrix4_Major.H.

◆ operator/() [2/6]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3, Sym::Major> Set::operator/ ( const Matrix4< 3, Sym::Major > &  a,
const Set::Scalar b 
)

Definition at line 497 of file Matrix4_Major.H.

◆ operator/() [3/6]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM, Sym::Diagonal> Set::operator/ ( const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  a,
const Set::Scalar b 
)

Definition at line 130 of file Matrix4_Diagonal.H.

◆ operator/() [4/6]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<AMREX_SPACEDIM,Sym::Isotropic> Set::operator/ ( const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  a,
const Set::Scalar b 
)

Definition at line 166 of file Matrix4_Isotropic.H.

◆ operator/() [5/6]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<2,Sym::MajorMinor> Set::operator/ ( Matrix4< 2, Sym::MajorMinor >  a,
Set::Scalar  b 
)

Definition at line 207 of file Matrix4_MajorMinor.H.

◆ operator/() [6/6]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Matrix4<3,Sym::MajorMinor> Set::operator/ ( Matrix4< 3, Sym::MajorMinor >  a,
Set::Scalar  b 
)

Definition at line 531 of file Matrix4_MajorMinor.H.

◆ operator<<() [1/2]

std::ostream& Set::operator<< ( std::ostream &  os,
const Matrix4< 3, Sym::Full > &  b 
)

◆ operator<<() [2/2]

template<int dim, int sym>
std::ostream& Set::operator<< ( std::ostream &  os,
const Matrix4< dim, sym > &  b 
)

Definition at line 201 of file Base.H.

◆ operator==() [1/5]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool Set::operator== ( const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  a,
const Matrix4< AMREX_SPACEDIM, Sym::Diagonal > &  b 
)

Definition at line 93 of file Matrix4_Diagonal.H.

◆ operator==() [2/5]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool Set::operator== ( const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  a,
const Matrix4< AMREX_SPACEDIM, Sym::Isotropic > &  b 
)

Definition at line 180 of file Matrix4_Isotropic.H.

◆ operator==() [3/5]

AMREX_FORCE_INLINE bool Set::operator== ( const Quaternion  a,
const Quaternion  b 
)

Definition at line 108 of file Base.H.

◆ operator==() [4/5]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool Set::operator== ( Matrix4< 2, Sym::MajorMinor >  a,
Matrix4< 2, Sym::MajorMinor >  b 
)

Definition at line 175 of file Matrix4_MajorMinor.H.

◆ operator==() [5/5]

AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE bool Set::operator== ( Matrix4< 3, Sym::MajorMinor >  a,
Matrix4< 3, Sym::MajorMinor >  b 
)

Definition at line 499 of file Matrix4_MajorMinor.H.

◆ Position()

AMREX_FORCE_INLINE Vector Set::Position ( const int &  i,
const int &  j,
const int &  k,
const amrex::Geometry &  geom,
const amrex::IndexType &  ixType 
)

Definition at line 121 of file Base.H.

Here is the call graph for this function:

◆ reduce()

AMREX_FORCE_INLINE Set::Matrix Set::reduce ( const Set::Matrix3d in)

Definition at line 28 of file Base.H.

◆ Size()

AMREX_FORCE_INLINE Vector Set::Size ( const amrex::Geometry &  geom)

Definition at line 161 of file Base.H.

◆ Volume()

AMREX_FORCE_INLINE Vector Set::Volume ( const int &  i,
const int &  j,
const int &  k,
const amrex::Geometry &  geom,
const amrex::IndexType &  ixType 
)

Definition at line 176 of file Base.H.

Here is the call graph for this function:

Variable Documentation

◆ Garbage

Scalar Set::Garbage = NAN
static

Definition at line 118 of file Base.H.