FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
FEAT::Space::DofAssignmentBase< Space_, shape_dim_, DataType_ > Class Template Reference

Mapping of mesh entities to FE basis functions associated with them. More...

#include <dof_assignment_base.hpp>

Inheritance diagram for FEAT::Space::DofAssignmentBase< Space_, shape_dim_, DataType_ >:
FEAT::Space::DofAssignmentIdentity< Space_, shape_dim_, DataType_, dofs_per_cell_ > FEAT::Space::DofAssignmentNull< Space_, shape_dim_, DataType_ > FEAT::Space::DofAssignmentUniform< Space_, shape_dim_, DataType_, DofTraits_, DofTag_ > FEAT::Space::DofAssignmentSingleEntity< Space_, shape_dim_, DataType_, shape_dim_, dofs_per_cell_ > FEAT::Space::DofAssignmentSingleEntity< Space_, shape_dim_, DataType_, dof_dim_, dofs_per_cell_ >

Public Types

typedef Space_ SpaceType
 space typedef More...
 

Public Member Functions

void finish ()
 
Index get_index (int assign_idx) const
 
int get_max_assigned_dofs () const
 
int get_num_assigned_dofs () const
 
void prepare (Index cell_index)
 

Protected Member Functions

 DofAssignmentBase (const SpaceType &space)
 constructor More...
 

Protected Attributes

Index _cell_index
 currently active cell index More...
 
const SpaceType_space
 space reference More...
 

Detailed Description

template<typename Space_, int shape_dim_, typename DataType_>
class FEAT::Space::DofAssignmentBase< Space_, shape_dim_, DataType_ >

Mapping of mesh entities to FE basis functions associated with them.

In FEAT, every FE basis function is associated with mesh entities of exactly one shape dimension, i.e. vertices, facets or cells. The DofMapping maps a mesh cell (meaning only the highest-dimensional entities of a mesh) to a set of basis functions with nonempty support on that cell. It does, however, not contain any information about which entities of that cell are associated with which basis function. This is done by the DofAssignment.

For the DofAssignment, mesh entities are open. This means i.e. the DofAssignment for an edge only knows about basis functions directly associated with the edge and NOT about basis functions associated with the vertices that represent the edge's end points.

See also
DofMappingBase
Author
Peter Zajac

Definition at line 36 of file dof_assignment_base.hpp.

Member Typedef Documentation

◆ SpaceType

template<typename Space_ , int shape_dim_, typename DataType_ >
typedef Space_ FEAT::Space::DofAssignmentBase< Space_, shape_dim_, DataType_ >::SpaceType

space typedef

Definition at line 40 of file dof_assignment_base.hpp.

Constructor & Destructor Documentation

◆ DofAssignmentBase()

template<typename Space_ , int shape_dim_, typename DataType_ >
FEAT::Space::DofAssignmentBase< Space_, shape_dim_, DataType_ >::DofAssignmentBase ( const SpaceType space)
inlineexplicitprotected

constructor

Definition at line 49 of file dof_assignment_base.hpp.

Member Function Documentation

◆ finish()

template<typename Space_ , int shape_dim_, typename DataType_ >
void FEAT::Space::DofAssignmentBase< Space_, shape_dim_, DataType_ >::finish ( )
inline

Definition at line 61 of file dof_assignment_base.hpp.

◆ prepare()

template<typename Space_ , int shape_dim_, typename DataType_ >
void FEAT::Space::DofAssignmentBase< Space_, shape_dim_, DataType_ >::prepare ( Index  cell_index)
inline

Definition at line 56 of file dof_assignment_base.hpp.

Member Data Documentation

◆ _cell_index

template<typename Space_ , int shape_dim_, typename DataType_ >
Index FEAT::Space::DofAssignmentBase< Space_, shape_dim_, DataType_ >::_cell_index
protected

◆ _space

template<typename Space_ , int shape_dim_, typename DataType_ >
const SpaceType& FEAT::Space::DofAssignmentBase< Space_, shape_dim_, DataType_ >::_space
protected

space reference

Definition at line 44 of file dof_assignment_base.hpp.


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