| FEAT 3
    Finite Element Analysis Toolbox | 
Mapping from mesh cells to Dof that have support on them. More...
#include <dof_mapping_base.hpp>
 
  
| Public Types | |
| typedef SpaceType::ShapeType | ShapeType | 
| shape typedef  More... | |
| typedef Space_ | SpaceType | 
| space typedef  More... | |
| Public Member Functions | |
| void | finish () | 
| Releases the dof-mapping from the current cell.  More... | |
| Index | get_current_cell_index () const | 
| Returns the current cell-index.  More... | |
| Index | get_index (int local_dof_idx) const | 
| Returns the mapped dof index.  More... | |
| Index | get_num_global_dofs () const | 
| Return the number of global dofs.  More... | |
| int | get_num_local_dofs () const | 
| Returns the number of local dofs.  More... | |
| void | prepare (Index cell_index) | 
| Prepares the dof-mapping for a given cell.  More... | |
| Protected Member Functions | |
| DofMappingBase (const SpaceType &space) | |
| constructor  More... | |
| Protected Attributes | |
| Index | _cell_index | 
| currently active cell index  More... | |
| const SpaceType & | _space | 
| space reference  More... | |
Mapping from mesh cells to Dof that have support on them.
This class acts as a base-class and interface documentation for Finite Element Dof mapping implementations.
In FEAT, every FE basis function is associated with a mesh entity of a certain 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 the closure of the 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.
| Space_ | The finite element space that this Dof mapping is used by. | 
Definition at line 34 of file dof_mapping_base.hpp.
| typedef SpaceType::ShapeType FEAT::Space::DofMappingBase< Space_ >::ShapeType | 
shape typedef
Definition at line 40 of file dof_mapping_base.hpp.
| typedef Space_ FEAT::Space::DofMappingBase< Space_ >::SpaceType | 
space typedef
Definition at line 38 of file dof_mapping_base.hpp.
| 
 | inlineexplicitprotected | 
constructor
Definition at line 49 of file dof_mapping_base.hpp.
| 
 | inline | 
Releases the dof-mapping from the current cell.
Definition at line 71 of file dof_mapping_base.hpp.
References FEAT::Space::DofMappingBase< Space_ >::_cell_index.
| 
 | inline | 
Returns the current cell-index.
Definition at line 80 of file dof_mapping_base.hpp.
References FEAT::Space::DofMappingBase< Space_ >::_cell_index.
| Index FEAT::Space::DofMappingBase< Space_ >::get_index | ( | int | local_dof_idx | ) | const | 
Returns the mapped dof index.
| [in] | local_dof_idx | The index of the local dof whose mapped index is to be returned. | 
| Index FEAT::Space::DofMappingBase< Space_ >::get_num_global_dofs | ( | ) | const | 
Return the number of global dofs.
| int FEAT::Space::DofMappingBase< Space_ >::get_num_local_dofs | ( | ) | const | 
Returns the number of local dofs.
| 
 | inline | 
Prepares the dof-mapping for a given cell.
| [in] | cell_index | The index of the cell that is to be used by the dof-mapping. | 
Definition at line 63 of file dof_mapping_base.hpp.
References FEAT::Space::DofMappingBase< Space_ >::_cell_index.
Referenced by FEAT::Space::DofMappingUniform< Space_, DofTraits_, DofTag_ >::prepare().
| 
 | protected | 
currently active cell index
Definition at line 46 of file dof_mapping_base.hpp.
Referenced by FEAT::Space::DofMappingBase< Space_ >::finish(), FEAT::Space::DofMappingBase< Space_ >::get_current_cell_index(), FEAT::Space::DofMappingIdentity< Space_, dofs_per_cell_ >::get_index(), FEAT::Space::DofMappingSingleEntity< Space_, codim_, dofs_per_cell_ >::get_index(), and FEAT::Space::DofMappingBase< Space_ >::prepare().
| 
 | protected | 
space reference
Definition at line 44 of file dof_mapping_base.hpp.
Referenced by FEAT::Space::DofMappingIdentity< Space_, dofs_per_cell_ >::get_num_global_dofs(), FEAT::Space::DofMappingSingleEntity< Space_, codim_, dofs_per_cell_ >::get_num_global_dofs(), FEAT::Space::DofMappingUniform< Space_, DofTraits_, DofTag_ >::get_num_global_dofs(), and FEAT::Space::DofMappingUniform< Space_, DofTraits_, DofTag_ >::prepare().