31 int limStart = Geom::Base::GetNDof<dim>(pOrder - 1) - 1;
32 int limEnd = Geom::Base::GetNDof<dim>(pOrder) - 2;
33 return {limStart, limEnd};
56 uint8_t
Order =
static_cast<uint8_t
>(-1);
57 uint8_t
NDOF =
static_cast<uint8_t
>(-1);
58 uint8_t
NDIFF =
static_cast<uint8_t
>(-1);
64 static_assert(
sizeof(
RecAtr) <= 1ULL * 16);
78 template <
int nVarsFixed>
81 template <
int nVarsFixed>
84 template <
int nVarsFixed,
int gDim>
Degree-of-freedom array with vector-space operations (MPI-collective).
Eigen-matrix array: each row is an Eigen::Map<Matrix> over contiguous real storage.
Batch of uniform-sized Eigen matrices per row, with variable batch count.
Eigen-vector array: each row is an Eigen::Map over contiguous real storage.
Core type aliases, constants, and metaprogramming utilities for the DNDS framework.
#define DNDS_assert(expr)
Debug-only assertion (compiled out when DNDS_NDEBUG is defined). Prints the expression + file/line + ...
MPI wrappers: MPIInfo, collective operations, type mapping, CommStrategy.
Primary solver state container: an ArrayEigenMatrix pair with MPI-collective vector-space operations.
decltype(t3VecsPair::father) t3Vecs
decltype(tVecsPair::father) tVecs
decltype(tVVecPair::father) tVVec
decltype(tMatsPair::father) tMats
decltype(tScalarPair::father) tScalar
decltype(t3MatPair::father) t3Mat
decltype(tVMatPair::father) tVMat
decltype(tCoeffPair::father) tCoeff
std::pair< int, int > GetRecDOFRange(int pOrder)
Returns the reconstruction DOF index range [start, end] (inclusive) for a given polynomial order with...
decltype(tRecAtrPair::father) tRecAtr
DNDS::ArrayPair< DNDS::ArrayEigenVector< 3 > > tCoordPair
decltype(tCoordPair::father) tCoord
the host side operators are provided as implemented
DNDS_CONSTANT const real UnInitReal
Sentinel "not initialised" real value (NaN). Cheap to detect with std::isnan or IsUnInitReal; survive...
double real
Canonical floating-point scalar used throughout DNDSR (double precision).
ssp< DNDS::ArrayEigenVector< NonUniformSize > > father
Owned-side array (must be resized before ghost setup).
static std::string pybind11_name()
static MPI_Datatype CommType()