v0.14.0
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 26 of file Types.hpp.

◆ BitFEId

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

Finite element Id.

Definition at line 43 of file Types.hpp.

◆ BitFieldId

Field Id.

Examples
dm_build_partitioned_mesh.cpp.

Definition at line 42 of file Types.hpp.

◆ BitIntefaceId

Definition at line 45 of file Types.hpp.

◆ BitProblemId

Problem Id.

Definition at line 44 of file Types.hpp.

◆ BitRefEdges

Definition at line 34 of file Types.hpp.

◆ BitRefLevel

◆ ComplexDoubleAllocator

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

Definition at line 63 of file Types.hpp.

◆ CubitBCType

bc & material meshsets

Examples
add_cubit_meshsets.cpp, and meshset_to_vtk.cpp.

Definition at line 52 of file Types.hpp.

◆ DofIdx

typedef int MoFEM::Types::DofIdx

Index of DOF.

Definition at line 18 of file Types.hpp.

◆ DoubleAllocator

Definition at line 62 of file Types.hpp.

◆ EntIdx

typedef int MoFEM::Types::EntIdx

Index of DOF on the entity.

Definition at line 23 of file Types.hpp.

◆ EntPart

typedef int MoFEM::Types::EntPart

Partition owning entity.

Definition at line 24 of file Types.hpp.

◆ FEIdx

typedef int MoFEM::Types::FEIdx

Index of the element.

Definition at line 22 of file Types.hpp.

◆ FieldBitNumber

Field bit number.

Definition at line 28 of file Types.hpp.

◆ FieldCoefficientsNumber

Number of field coefficients.

Definition at line 27 of file Types.hpp.

◆ FieldData

Field data type.

Definition at line 25 of file Types.hpp.

◆ IntAllocator

Definition at line 61 of file Types.hpp.

◆ MatrixAdaptor

Matrix adaptor.

ublas::shallow_array_adaptor<double>(9, ptr));

Definition at line 132 of file Types.hpp.

◆ MatrixADouble

Definition at line 80 of file Types.hpp.

◆ MatrixADouble3by3

Definition at line 108 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 104 of file Types.hpp.

◆ MatrixComplexDouble

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

Definition at line 78 of file Types.hpp.

◆ MatrixComplexDouble3by3

Definition at line 106 of file Types.hpp.

◆ MatrixDouble

◆ MatrixDouble3by3

Examples
EshelbianOperators.cpp, and Remodeling.cpp.

Definition at line 105 of file Types.hpp.

◆ MatrixInt

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

Definition at line 76 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 121 of file Types.hpp.

◆ MoFEMDofIdx

Index of DOF using mofem native index.

Definition at line 19 of file Types.hpp.

◆ PetscGlobalDofIdx

Index of DOF using global pets index.

Definition at line 21 of file Types.hpp.

◆ PetscLocalDofIdx

Index of DOF using local petsc index.

Definition at line 20 of file Types.hpp.

◆ ShortId

typedef int MoFEM::Types::ShortId

Unique Id in the field.

Definition at line 32 of file Types.hpp.

◆ UBlasMatrix

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

Definition at line 75 of file Types.hpp.

◆ UBlasVector

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

Definition at line 66 of file Types.hpp.

◆ UId

typedef uint128_t MoFEM::Types::UId

Unique Id.

Definition at line 31 of file Types.hpp.

◆ VecAllocator

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

Definition at line 59 of file Types.hpp.

◆ VectorAdaptor

◆ VectorADouble

Definition at line 71 of file Types.hpp.

◆ VectorADouble9

Definition at line 99 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 85 of file Types.hpp.

◆ VectorComplexDouble

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

Definition at line 69 of file Types.hpp.

◆ VectorDouble

◆ VectorDouble12

Definition at line 97 of file Types.hpp.

◆ VectorDouble3

◆ VectorDouble4

Definition at line 93 of file Types.hpp.

◆ VectorDouble5

Definition at line 94 of file Types.hpp.

◆ VectorDouble6

Definition at line 95 of file Types.hpp.

◆ VectorDouble9

Definition at line 96 of file Types.hpp.

◆ VectorInt

using MoFEM::Types::VectorInt = typedef UBlasVector<int>
Examples
HookeElement.hpp, and test_cache_on_entities.cpp.

Definition at line 67 of file Types.hpp.

◆ VectorInt3

Definition at line 87 of file Types.hpp.

◆ VectorInt4

Definition at line 88 of file Types.hpp.

◆ VectorInt5

Definition at line 89 of file Types.hpp.

◆ VectorInt6

Definition at line 90 of file Types.hpp.

◆ VectorInt9

Definition at line 91 of file Types.hpp.

◆ VectorIntAdaptor

Definition at line 116 of file Types.hpp.

◆ VectorShallowArrayAdaptor

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

Definition at line 114 of file Types.hpp.

MoFEM::Types::MatrixAdaptor
MatrixShallowArrayAdaptor< double > MatrixAdaptor
Matrix adaptor.
Definition: Types.hpp:132