OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
FuelCell::ApplicationCore::BlockInfo Struct Reference

A small structure collecting the different BlockIndices of FEVector vectors (for instance, solution) involved in the computations. More...

#include <mesh_loop_info_objects.h>

Inheritance diagram for FuelCell::ApplicationCore::BlockInfo:
Inheritance graph
[legend]
Collaboration diagram for FuelCell::ApplicationCore::BlockInfo:
Collaboration graph
[legend]

Public Member Functions

template<int dim, int spacedim>
void initialize (const DoFHandler< dim, spacedim > &dof_handler)
 Fill the structure globally with values describing the DoFHandler. More...
 
template<int dim, int spacedim>
void initialize_local (const DoFHandler< dim, spacedim > &dof_handler)
 Fill the structure locally with values describing the DoFHandler. More...
 

Public Attributes

BlockIndices global
 The block structure of the global FEVector solution. More...
 
BlockIndices local
 The block structure of a local FEVector solution. More...
 
std::vector< BlockIndices > levels
 The multilevel block structure of the global FEVector solution. More...
 
std::vector< unsigned int > base_element
 A vector of base elements. More...
 
std::vector< unsigned int > local_renumbering
 A vector containing the internal renumbering of degrees of freedom from the standard ordering on a cell to a block wise ordering on the same cell. More...
 

Detailed Description

A small structure collecting the different BlockIndices of FEVector vectors (for instance, solution) involved in the computations.

Author
Guido Kanschat

Member Function Documentation

template<int dim, int spacedim>
void FuelCell::ApplicationCore::BlockInfo::initialize ( const DoFHandler< dim, spacedim > &  dof_handler)
inline

Fill the structure globally with values describing the DoFHandler.

template<int dim, int spacedim>
void FuelCell::ApplicationCore::BlockInfo::initialize_local ( const DoFHandler< dim, spacedim > &  dof_handler)
inline

Fill the structure locally with values describing the DoFHandler.

Member Data Documentation

std::vector<unsigned int> FuelCell::ApplicationCore::BlockInfo::base_element

A vector of base elements.

Note
index -> value = # block -> # fe in FESystem object.
BlockIndices FuelCell::ApplicationCore::BlockInfo::global

The block structure of the global FEVector solution.

std::vector<BlockIndices> FuelCell::ApplicationCore::BlockInfo::levels

The multilevel block structure of the global FEVector solution.

BlockIndices FuelCell::ApplicationCore::BlockInfo::local

The block structure of a local FEVector solution.

std::vector<unsigned int> FuelCell::ApplicationCore::BlockInfo::local_renumbering

A vector containing the internal renumbering of degrees of freedom from the standard ordering on a cell to a block wise ordering on the same cell.

Note
index -> value = standard # dof -> block wise # dof.
if local_renumbering.size() = 0: the standard internal renumbering of degrees of freedom is activated.

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