|
OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Very basic info class only containing information on geometry and degrees of freedom on a mesh entity. More...
#include <mesh_loop_info_objects.h>

Public Member Functions | |
Constructors, destructor, and initialization | |
| DoFInfo (const BlockInfo &block_info) | |
| Constructor. More... | |
| DoFInfo (const FEVectors &, const BlockInfo &block_info) | |
Reinitialization | |
| template<typename DHCellIterator > | |
| void | reinit (const DHCellIterator &c) |
Set the current cell and fill indices. More... | |
| template<typename DHCellIterator , typename DHFaceIterator > | |
| void | reinit (const DHCellIterator &c, const DHFaceIterator &f, const unsigned int fn) |
Set the current cell and face and fill indices. More... | |
| template<typename DHCellIterator , typename DHFaceIterator > | |
| void | reinit (const DHCellIterator &c, const DHFaceIterator &f, const unsigned int fn, const unsigned int sn) |
Set the current cell, face, and subface and fill indices. More... | |
Public Attributes | |
Mesh iterators | |
| DoFHandler< dim >::cell_iterator | dof_cell |
The current DoFHandler<dim> cell. More... | |
| DoFHandler< dim > ::active_cell_iterator | dof_active_cell |
The current DoFHandler<dim> active cell. More... | |
| DoFHandler< dim >::face_iterator | dof_face |
The current DoFHandler<dim> face. More... | |
| Triangulation< dim >::cell_iterator | cell |
The current Triangulation<dim> cell. More... | |
| Triangulation< dim >::face_iterator | face |
The current Triangulation<dim> face. More... | |
| unsigned int | face_number |
| The number of the current face on the current cell. More... | |
| unsigned int | sub_number |
| The number of the current subface on the current face of the current cell. More... | |
Other data | |
| std::vector< unsigned int > | indices |
| The local dof indices associated with the current cell. More... | |
| SmartPointer< const BlockInfo > | block_info |
| The block structure of the problem at hand. More... | |
Private Member Functions | |
| void | get_indices (const typename DoFHandler< dim, spacedim >::cell_iterator c) |
Fill indices. More... | |
Private Attributes | |
| std::vector< unsigned int > | indices_org |
| Auxiliary vector. More... | |
Very basic info class only containing information on geometry and degrees of freedom on a mesh entity.
The information in this class is usually used by mesh loops.
This class operates in two different modes:
MODE1: block wise local renumbering mode is activated if BlockInfo::local_renumbering.size() > 0 by calling both BlockInfo::initialize() and BlockInfo::initialize_local() functions.MODE2: standard deal.ii local renumbering mode is activated if BlockInfo::local_renumbering.size() = 0 by only calling BlockInfo::initialize() function.MODE1 is used in FCST software by default.The BlockInfo object is stored here as a pointer. Therefore, if the local block structure changes, for instance because of the mesh refinement, the DoFInfo class will automatically use this new structure.
|
inline |
Constructor.
|
inline |
|
inlineprivate |
Fill indices.
|
inline |
Set the current cell and fill indices.
Referenced by FuelCell::ApplicationCore::IntegrationInfo< dim, FEVALUESBASE >::reinit().

|
inline |
Set the current cell and face and fill indices.
|
inline |
Set the current cell, face, and subface and fill indices.
| SmartPointer<const BlockInfo> FuelCell::ApplicationCore::DoFInfo< dim, spacedim >::block_info |
The block structure of the problem at hand.
| Triangulation<dim>::cell_iterator FuelCell::ApplicationCore::DoFInfo< dim, spacedim >::cell |
The current Triangulation<dim> cell.
| DoFHandler<dim>::active_cell_iterator FuelCell::ApplicationCore::DoFInfo< dim, spacedim >::dof_active_cell |
The current DoFHandler<dim> active cell.
| DoFHandler<dim>::cell_iterator FuelCell::ApplicationCore::DoFInfo< dim, spacedim >::dof_cell |
The current DoFHandler<dim> cell.
| DoFHandler<dim>::face_iterator FuelCell::ApplicationCore::DoFInfo< dim, spacedim >::dof_face |
The current DoFHandler<dim> face.
| Triangulation<dim>::face_iterator FuelCell::ApplicationCore::DoFInfo< dim, spacedim >::face |
The current Triangulation<dim> face.
| unsigned int FuelCell::ApplicationCore::DoFInfo< dim, spacedim >::face_number |
The number of the current face on the current cell.
This number is static_cast<unsigned int>(-1) if the DoFInfo object is initialized with a cell only.
| std::vector<unsigned int> FuelCell::ApplicationCore::DoFInfo< dim, spacedim >::indices |
The local dof indices associated with the current cell.
|
private |
Auxiliary vector.
| unsigned int FuelCell::ApplicationCore::DoFInfo< dim, spacedim >::sub_number |
The number of the current subface on the current face of the current cell.
This number is static_cast<unsigned int>(-1) if the DoFInfo object is initialized with a cell and face only.
1.8.5