v0.13.1
Typedefs
MoFEM::Types Namespace Reference

Types. More...

Typedefs

typedef int DofIdx
 Index of DOF. More...
 
typedef int MoFEMDofIdx
 Index of DOF using mofem native index. More...
 
typedef int PetscLocalDofIdx
 Index of DOF using local petsc index. More...
 
typedef int PetscGlobalDofIdx
 Index of DOF using global pets index. More...
 
typedef int FEIdx
 Index of the element. More...
 
typedef int EntIdx
 Index of DOF on the entity. More...
 
typedef int EntPart
 Partition owning entity. More...
 
typedef double FieldData
 Field data type. More...
 
typedef int ApproximationOrder
 Approximation on the entity. More...
 
typedef int FieldCoefficientsNumber
 Number of field coefficients. More...
 
typedef char FieldBitNumber
 Field bit number. More...
 
typedef uint128_t UId
 Unique Id. More...
 
typedef int ShortId
 Unique Id in the field. More...
 
typedef std::bitset< BITREFEDGES_SIZEBitRefEdges
 
typedef std::bitset< BITREFLEVEL_SIZEBitRefLevel
 Bit structure attached to each entity identifying to what mesh entity is attached. More...
 
typedef std::bitset< BITFIELDID_SIZEBitFieldId
 Field Id. More...
 
typedef std::bitset< BITFEID_SIZEBitFEId
 Finite element Id. More...
 
typedef std::bitset< BITPROBLEMID_SIZEBitProblemId
 Problem Id. More...
 
typedef std::bitset< BITINTERFACEUID_SIZEBitIntefaceId
 
typedef std::bitset< 32 > CubitBCType
 
template<typename T >
using VecAllocator = std::vector< T, std::allocator< T > >
 
using IntAllocator = VecAllocator< int >
 
using DoubleAllocator = VecAllocator< double >
 
using ComplexDoubleAllocator = VecAllocator< std::complex< double > >
 
template<typename T >
using UBlasVector = ublas::vector< T, VecAllocator< T > >
 
using VectorInt = UBlasVector< int >
 
using VectorDouble = UBlasVector< double >
 
using VectorComplexDouble = UBlasVector< std::complex< double > >
 
using VectorADouble = UBlasVector< adouble >
 
template<typename T >
using UBlasMatrix = ublas::matrix< T, ublas::row_major, VecAllocator< T > >
 
using MatrixInt = UBlasMatrix< int >
 
using MatrixDouble = UBlasMatrix< double >
 
using MatrixComplexDouble = UBlasMatrix< std::complex< double > >
 
using MatrixADouble = UBlasMatrix< adouble >
 
template<typename T , size_t N>
using VectorBoundedArray = ublas::vector< T, ublas::bounded_array< T, N > >
 
using VectorInt3 = VectorBoundedArray< int, 3 >
 
using VectorInt4 = VectorBoundedArray< int, 4 >
 
using VectorInt5 = VectorBoundedArray< int, 5 >
 
using VectorInt6 = VectorBoundedArray< int, 6 >
 
using VectorInt9 = VectorBoundedArray< int, 9 >
 
using VectorDouble3 = VectorBoundedArray< double, 3 >
 
using VectorDouble4 = VectorBoundedArray< double, 4 >
 
using VectorDouble5 = VectorBoundedArray< double, 5 >
 
using VectorDouble6 = VectorBoundedArray< double, 6 >
 
using VectorDouble9 = VectorBoundedArray< double, 9 >
 
using VectorDouble12 = VectorBoundedArray< double, 12 >
 
using VectorADouble9 = VectorBoundedArray< adouble, 9 >
 
template<typename T , size_t N>
using MatrixBoundedArray = ublas::matrix< T, ublas::row_major, ublas::bounded_array< T, N > >
 
using MatrixDouble3by3 = MatrixBoundedArray< double, 9 >
 
using MatrixComplexDouble3by3 = MatrixBoundedArray< std::complex< double >, 9 >
 
using MatrixADouble3by3 = MatrixBoundedArray< adouble, 9 >
 
template<typename T >
using VectorShallowArrayAdaptor = ublas::vector< T, ublas::shallow_array_adaptor< T > >
 
using VectorAdaptor = VectorShallowArrayAdaptor< double >
 
using VectorIntAdaptor = VectorShallowArrayAdaptor< int >
 
template<typename T >
using MatrixShallowArrayAdaptor = ublas::matrix< double, ublas::row_major, ublas::shallow_array_adaptor< double > >
 
typedef MatrixShallowArrayAdaptor< doubleMatrixAdaptor
 Matrix adaptor. More...
 

Detailed Description

Types.

Typedef Documentation

◆ ApproximationOrder

Approximation on the entity.

Definition at line 37 of file Types.hpp.

◆ BitFEId

typedef std::bitset<BITFEID_SIZE> MoFEM::Types::BitFEId

Finite element Id.

Definition at line 54 of file Types.hpp.

◆ BitFieldId

Field Id.

Examples
dm_build_partitioned_mesh.cpp.

Definition at line 53 of file Types.hpp.

◆ BitIntefaceId

Definition at line 56 of file Types.hpp.

◆ BitProblemId

Problem Id.

Definition at line 55 of file Types.hpp.

◆ BitRefEdges

Definition at line 45 of file Types.hpp.

◆ BitRefLevel

◆ ComplexDoubleAllocator

using MoFEM::Types::ComplexDoubleAllocator = typedef VecAllocator<std::complex<double> >

Definition at line 74 of file Types.hpp.

◆ CubitBCType

bc & material meshsets

Examples
meshset_to_vtk.cpp.

Definition at line 63 of file Types.hpp.

◆ DofIdx

typedef int MoFEM::Types::DofIdx

Index of DOF.

Definition at line 29 of file Types.hpp.

◆ DoubleAllocator

Definition at line 73 of file Types.hpp.

◆ EntIdx

typedef int MoFEM::Types::EntIdx

Index of DOF on the entity.

Definition at line 34 of file Types.hpp.

◆ EntPart

typedef int MoFEM::Types::EntPart

Partition owning entity.

Definition at line 35 of file Types.hpp.

◆ FEIdx

typedef int MoFEM::Types::FEIdx

Index of the element.

Definition at line 33 of file Types.hpp.

◆ FieldBitNumber

Field bit number.

Definition at line 39 of file Types.hpp.

◆ FieldCoefficientsNumber

Number of field coefficients.

Definition at line 38 of file Types.hpp.

◆ FieldData

Field data type.

Definition at line 36 of file Types.hpp.

◆ IntAllocator

Definition at line 72 of file Types.hpp.

◆ MatrixAdaptor

Matrix adaptor.

ublas::shallow_array_adaptor<double>(9, ptr));
MatrixShallowArrayAdaptor< double > MatrixAdaptor
Matrix adaptor.
Definition: Types.hpp:143
Examples
SmallStrainPlasticity.hpp.

Definition at line 143 of file Types.hpp.

◆ MatrixADouble

Definition at line 91 of file Types.hpp.

◆ MatrixADouble3by3

Definition at line 119 of file Types.hpp.

◆ MatrixBoundedArray

template<typename T , size_t N>
using MoFEM::Types::MatrixBoundedArray = typedef ublas::matrix<T, ublas::row_major, ublas::bounded_array<T, N> >

Definition at line 114 of file Types.hpp.

◆ MatrixComplexDouble

using MoFEM::Types::MatrixComplexDouble = typedef UBlasMatrix<std::complex<double> >

Definition at line 89 of file Types.hpp.

◆ MatrixComplexDouble3by3

Definition at line 117 of file Types.hpp.

◆ MatrixDouble

◆ MatrixDouble3by3

Examples
OpPostProcElastic.hpp, and PlasticOpsMonitor.hpp.

Definition at line 116 of file Types.hpp.

◆ MatrixInt

using MoFEM::Types::MatrixInt = typedef UBlasMatrix<int>
Examples
bernstein_bezier_generate_base.cpp.

Definition at line 87 of file Types.hpp.

◆ MatrixShallowArrayAdaptor

template<typename T >
using MoFEM::Types::MatrixShallowArrayAdaptor = typedef ublas::matrix<double, ublas::row_major, ublas::shallow_array_adaptor<double> >

Definition at line 130 of file Types.hpp.

◆ MoFEMDofIdx

Index of DOF using mofem native index.

Definition at line 30 of file Types.hpp.

◆ PetscGlobalDofIdx

Index of DOF using global pets index.

Definition at line 32 of file Types.hpp.

◆ PetscLocalDofIdx

Index of DOF using local petsc index.

Definition at line 31 of file Types.hpp.

◆ ShortId

typedef int MoFEM::Types::ShortId

Unique Id in the field.

Definition at line 43 of file Types.hpp.

◆ UBlasMatrix

template<typename T >
using MoFEM::Types::UBlasMatrix = typedef ublas::matrix<T, ublas::row_major, VecAllocator<T> >

Definition at line 86 of file Types.hpp.

◆ UBlasVector

template<typename T >
using MoFEM::Types::UBlasVector = typedef ublas::vector<T, VecAllocator<T> >

Definition at line 77 of file Types.hpp.

◆ UId

typedef uint128_t MoFEM::Types::UId

Unique Id.

Definition at line 42 of file Types.hpp.

◆ VecAllocator

template<typename T >
using MoFEM::Types::VecAllocator = typedef std::vector<T, std::allocator<T> >

Definition at line 70 of file Types.hpp.

◆ VectorAdaptor

Examples
SmallStrainPlasticity.hpp.

Definition at line 126 of file Types.hpp.

◆ VectorADouble

Definition at line 82 of file Types.hpp.

◆ VectorADouble9

Definition at line 110 of file Types.hpp.

◆ VectorBoundedArray

template<typename T , size_t N>
using MoFEM::Types::VectorBoundedArray = typedef ublas::vector<T, ublas::bounded_array<T, N> >

Definition at line 96 of file Types.hpp.

◆ VectorComplexDouble

using MoFEM::Types::VectorComplexDouble = typedef UBlasVector<std::complex<double> >

Definition at line 80 of file Types.hpp.

◆ VectorDouble

◆ VectorDouble12

Definition at line 108 of file Types.hpp.

◆ VectorDouble3

Definition at line 103 of file Types.hpp.

◆ VectorDouble4

Definition at line 104 of file Types.hpp.

◆ VectorDouble5

Definition at line 105 of file Types.hpp.

◆ VectorDouble6

Definition at line 106 of file Types.hpp.

◆ VectorDouble9

Definition at line 107 of file Types.hpp.

◆ VectorInt

using MoFEM::Types::VectorInt = typedef UBlasVector<int>
Examples
HookeElement.hpp.

Definition at line 78 of file Types.hpp.

◆ VectorInt3

Definition at line 98 of file Types.hpp.

◆ VectorInt4

Definition at line 99 of file Types.hpp.

◆ VectorInt5

Definition at line 100 of file Types.hpp.

◆ VectorInt6

Definition at line 101 of file Types.hpp.

◆ VectorInt9

Definition at line 102 of file Types.hpp.

◆ VectorIntAdaptor

Definition at line 127 of file Types.hpp.

◆ VectorShallowArrayAdaptor

template<typename T >
using MoFEM::Types::VectorShallowArrayAdaptor = typedef ublas::vector<T, ublas::shallow_array_adaptor<T> >

Definition at line 124 of file Types.hpp.