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
MeshWorker::BlockInfo Struct Reference

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

#include <mesh_worker_info.h>

Inheritance diagram for MeshWorker::BlockInfo:
Inheritance graph
[legend]
Collaboration diagram for MeshWorker::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.
 
template<int dim, int spacedim>
void initialize_local (const DoFHandler< dim, spacedim > &dof_handler)
 Fill the structure locally with values describing the DoFHandler.
 
template<int dim, int spacedim>
void initialize (const MGDoFHandler< dim, spacedim > &mg_dof_handler)
 Fill the structure globally with values describing the MGDoFHandler.
 

Public Attributes

BlockIndices global
 The block structure of the global FEVector solution.
 
BlockIndices local
 The block structure of a local (cell) FEVector solution.
 
std::vector< BlockIndices > levels
 The multilevel block structure of the global FEVector solution.
 
std::vector< unsigned int > base_element
 A vector of base elements.
 
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.
 

Detailed Description

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

Author
Guido Kanschat, 2009

Member Function Documentation

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

Fill the structure globally with values describing the DoFHandler.

template<int dim, int spacedim>
void MeshWorker::BlockInfo::initialize ( const MGDoFHandler< dim, spacedim > &  mg_dof_handler)
inline

Fill the structure globally with values describing the MGDoFHandler.

References AppFrame::initialize().

Here is the call graph for this function:

template<int dim, int spacedim>
void MeshWorker::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> MeshWorker::BlockInfo::base_element

A vector of base elements.

Note
index -> value = # block -> # fe in an FESystem object
BlockIndices MeshWorker::BlockInfo::global

The block structure of the global FEVector solution.

std::vector<BlockIndices> MeshWorker::BlockInfo::levels

The multilevel block structure of the global FEVector solution.

BlockIndices MeshWorker::BlockInfo::local

The block structure of a local (cell) FEVector solution.

Referenced by MeshWorker::Assembler::LocalMatrixBlocks< number >::initialize().

std::vector<unsigned int> MeshWorker::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

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