MFEM  v4.5.2
Finite element discretization library
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
mfem::TFiniteElementSpace_simple< FE, IndexType > Class Template Reference

#include <tfespace.hpp>

Collaboration diagram for mfem::TFiniteElementSpace_simple< FE, IndexType >:
[legend]

Public Types

typedef FE FE_type
 
typedef IndexType index_type
 

Public Member Functions

 TFiniteElementSpace_simple (const FE &fe, const FiniteElementSpace &fes)
 
int GetNE () const
 
void SetElement (int el)
 
template<AssignOp::Type Op, typename glob_dof_data_t , typename dof_layout_t , typename dof_data_t >
MFEM_ALWAYS_INLINE void Extract (const glob_dof_data_t &glob_dof_data, const dof_layout_t &dof_layout, dof_data_t &dof_data) const
 
template<typename glob_dof_data_t , typename dof_layout_t , typename dof_data_t >
MFEM_ALWAYS_INLINE void Extract (const glob_dof_data_t &glob_dof_data, const dof_layout_t &dof_layout, dof_data_t &dof_data) const
 
template<AssignOp::Type Op, typename dof_layout_t , typename dof_data_t , typename glob_dof_data_t >
MFEM_ALWAYS_INLINE void Assemble (const dof_layout_t &dof_layout, const dof_data_t &dof_data, glob_dof_data_t &glob_dof_data) const
 
template<typename dof_layout_t , typename dof_data_t , typename glob_dof_data_t >
MFEM_ALWAYS_INLINE void Assemble (const dof_layout_t &dof_layout, const dof_data_t &dof_data, glob_dof_data_t &glob_dof_data) const
 
template<AssignOp::Type Op, typename vec_layout_t , typename glob_vdof_data_t , typename vdof_layout_t , typename vdof_data_t >
MFEM_ALWAYS_INLINE void VectorExtract (const vec_layout_t &vl, const glob_vdof_data_t &glob_vdof_data, const vdof_layout_t &vdof_layout, vdof_data_t &vdof_data) const
 
template<typename vec_layout_t , typename glob_vdof_data_t , typename vdof_layout_t , typename vdof_data_t >
MFEM_ALWAYS_INLINE void VectorExtract (const vec_layout_t &vl, const glob_vdof_data_t &glob_vdof_data, const vdof_layout_t &vdof_layout, vdof_data_t &vdof_data) const
 
template<AssignOp::Type Op, typename vdof_layout_t , typename vdof_data_t , typename vec_layout_t , typename glob_vdof_data_t >
MFEM_ALWAYS_INLINE void VectorAssemble (const vdof_layout_t &vdof_layout, const vdof_data_t &vdof_data, const vec_layout_t &vl, glob_vdof_data_t &glob_vdof_data) const
 
template<typename vdof_layout_t , typename vdof_data_t , typename vec_layout_t , typename glob_vdof_data_t >
MFEM_ALWAYS_INLINE void VectorAssemble (const vdof_layout_t &vdof_layout, const vdof_data_t &vdof_data, const vec_layout_t &vl, glob_vdof_data_t &glob_vdof_data) const
 
template<typename vdof_layout_t , typename vdof_data_t , typename vec_layout_t , typename glob_vdof_data_t >
MFEM_ALWAYS_INLINE void ExtractComponents (int first_comp, const vec_layout_t &vl, const glob_vdof_data_t &glob_vdof_data, const vdof_layout_t &vdof_layout, vdof_data_t &vdof_data) const
 
template<typename vdof_layout_t , typename vdof_data_t , typename vec_layout_t , typename glob_vdof_data_t >
MFEM_ALWAYS_INLINE void AssembleComponents (int first_comp, const vdof_layout_t &vdof_layout, const vdof_data_t &vdof_data, const vec_layout_t &vl, glob_vdof_data_t &glob_vdof_data) const
 
template<typename vcomplex_t >
void Assemble (const TMatrix< FE::dofs, FE::dofs, vcomplex_t > &m, SparseMatrix &M) const
 
template<typename vec_layout_t , typename vcomplex_t >
void AssembleBlock (int block_i, int block_j, const vec_layout_t &vl, const TMatrix< FE::dofs, FE::dofs, vcomplex_t > &m, SparseMatrix &M) const
 

Static Public Attributes

static const int dofs = FE::dofs
 

Protected Attributes

index_type ind
 
int num_elems
 
int remain_elems
 

Detailed Description

template<typename FE, typename IndexType>
class mfem::TFiniteElementSpace_simple< FE, IndexType >

Definition at line 112 of file tfespace.hpp.

Member Typedef Documentation

◆ FE_type

template<typename FE, typename IndexType>
typedef FE mfem::TFiniteElementSpace_simple< FE, IndexType >::FE_type

Definition at line 115 of file tfespace.hpp.

◆ index_type

template<typename FE, typename IndexType>
typedef IndexType mfem::TFiniteElementSpace_simple< FE, IndexType >::index_type

Definition at line 116 of file tfespace.hpp.

Constructor & Destructor Documentation

◆ TFiniteElementSpace_simple()

template<typename FE, typename IndexType>
mfem::TFiniteElementSpace_simple< FE, IndexType >::TFiniteElementSpace_simple ( const FE &  fe,
const FiniteElementSpace fes 
)
inline

Definition at line 124 of file tfespace.hpp.

Member Function Documentation

◆ Assemble() [1/3]

template<typename FE, typename IndexType>
template<AssignOp::Type Op, typename dof_layout_t , typename dof_data_t , typename glob_dof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::Assemble ( const dof_layout_t &  dof_layout,
const dof_data_t &  dof_data,
glob_dof_data_t &  glob_dof_data 
) const
inline

Definition at line 177 of file tfespace.hpp.

◆ Assemble() [2/3]

template<typename FE, typename IndexType>
template<typename dof_layout_t , typename dof_data_t , typename glob_dof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::Assemble ( const dof_layout_t &  dof_layout,
const dof_data_t &  dof_data,
glob_dof_data_t &  glob_dof_data 
) const
inline

Definition at line 201 of file tfespace.hpp.

◆ Assemble() [3/3]

template<typename FE, typename IndexType>
template<typename vcomplex_t >
void mfem::TFiniteElementSpace_simple< FE, IndexType >::Assemble ( const TMatrix< FE::dofs, FE::dofs, vcomplex_t > &  m,
SparseMatrix M 
) const
inline

Definition at line 394 of file tfespace.hpp.

◆ AssembleBlock()

template<typename FE, typename IndexType>
template<typename vec_layout_t , typename vcomplex_t >
void mfem::TFiniteElementSpace_simple< FE, IndexType >::AssembleBlock ( int  block_i,
int  block_j,
const vec_layout_t &  vl,
const TMatrix< FE::dofs, FE::dofs, vcomplex_t > &  m,
SparseMatrix M 
) const
inline

Definition at line 415 of file tfespace.hpp.

◆ AssembleComponents()

template<typename FE, typename IndexType>
template<typename vdof_layout_t , typename vdof_data_t , typename vec_layout_t , typename glob_vdof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::AssembleComponents ( int  first_comp,
const vdof_layout_t &  vdof_layout,
const vdof_data_t &  vdof_data,
const vec_layout_t &  vl,
glob_vdof_data_t &  glob_vdof_data 
) const
inline

Definition at line 364 of file tfespace.hpp.

◆ Extract() [1/2]

template<typename FE, typename IndexType>
template<AssignOp::Type Op, typename glob_dof_data_t , typename dof_layout_t , typename dof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::Extract ( const glob_dof_data_t &  glob_dof_data,
const dof_layout_t &  dof_layout,
dof_data_t &  dof_data 
) const
inline

Definition at line 141 of file tfespace.hpp.

◆ Extract() [2/2]

template<typename FE, typename IndexType>
template<typename glob_dof_data_t , typename dof_layout_t , typename dof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::Extract ( const glob_dof_data_t &  glob_dof_data,
const dof_layout_t &  dof_layout,
dof_data_t &  dof_data 
) const
inline

Definition at line 165 of file tfespace.hpp.

◆ ExtractComponents()

template<typename FE, typename IndexType>
template<typename vdof_layout_t , typename vdof_data_t , typename vec_layout_t , typename glob_vdof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::ExtractComponents ( int  first_comp,
const vec_layout_t &  vl,
const glob_vdof_data_t &  glob_vdof_data,
const vdof_layout_t &  vdof_layout,
vdof_data_t &  vdof_data 
) const
inline

Definition at line 329 of file tfespace.hpp.

◆ GetNE()

template<typename FE, typename IndexType>
int mfem::TFiniteElementSpace_simple< FE, IndexType >::GetNE ( ) const
inline

Definition at line 129 of file tfespace.hpp.

◆ SetElement()

template<typename FE, typename IndexType>
void mfem::TFiniteElementSpace_simple< FE, IndexType >::SetElement ( int  el)
inline

Definition at line 131 of file tfespace.hpp.

◆ VectorAssemble() [1/2]

template<typename FE, typename IndexType>
template<AssignOp::Type Op, typename vdof_layout_t , typename vdof_data_t , typename vec_layout_t , typename glob_vdof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::VectorAssemble ( const vdof_layout_t &  vdof_layout,
const vdof_data_t &  vdof_data,
const vec_layout_t &  vl,
glob_vdof_data_t &  glob_vdof_data 
) const
inline

Definition at line 271 of file tfespace.hpp.

◆ VectorAssemble() [2/2]

template<typename FE, typename IndexType>
template<typename vdof_layout_t , typename vdof_data_t , typename vec_layout_t , typename glob_vdof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::VectorAssemble ( const vdof_layout_t &  vdof_layout,
const vdof_data_t &  vdof_data,
const vec_layout_t &  vl,
glob_vdof_data_t &  glob_vdof_data 
) const
inline

Definition at line 315 of file tfespace.hpp.

◆ VectorExtract() [1/2]

template<typename FE, typename IndexType>
template<AssignOp::Type Op, typename vec_layout_t , typename glob_vdof_data_t , typename vdof_layout_t , typename vdof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::VectorExtract ( const vec_layout_t &  vl,
const glob_vdof_data_t &  glob_vdof_data,
const vdof_layout_t &  vdof_layout,
vdof_data_t &  vdof_data 
) const
inline

Definition at line 214 of file tfespace.hpp.

◆ VectorExtract() [2/2]

template<typename FE, typename IndexType>
template<typename vec_layout_t , typename glob_vdof_data_t , typename vdof_layout_t , typename vdof_data_t >
MFEM_ALWAYS_INLINE void mfem::TFiniteElementSpace_simple< FE, IndexType >::VectorExtract ( const vec_layout_t &  vl,
const glob_vdof_data_t &  glob_vdof_data,
const vdof_layout_t &  vdof_layout,
vdof_data_t &  vdof_data 
) const
inline

Definition at line 258 of file tfespace.hpp.

Member Data Documentation

◆ dofs

template<typename FE, typename IndexType>
const int mfem::TFiniteElementSpace_simple< FE, IndexType >::dofs = FE::dofs
static

Definition at line 117 of file tfespace.hpp.

◆ ind

template<typename FE, typename IndexType>
index_type mfem::TFiniteElementSpace_simple< FE, IndexType >::ind
protected

Definition at line 120 of file tfespace.hpp.

◆ num_elems

template<typename FE, typename IndexType>
int mfem::TFiniteElementSpace_simple< FE, IndexType >::num_elems
protected

Definition at line 121 of file tfespace.hpp.

◆ remain_elems

template<typename FE, typename IndexType>
int mfem::TFiniteElementSpace_simple< FE, IndexType >::remain_elems
protected

Definition at line 121 of file tfespace.hpp.


The documentation for this class was generated from the following file: