OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
AppFrame::LocalEstimate< dim > Class Template Reference

#include <dof_application.h>

Inheritance diagram for AppFrame::LocalEstimate< dim >:
Inheritance graph
[legend]
Collaboration diagram for AppFrame::LocalEstimate< dim >:
Collaboration graph
[legend]

Public Member Functions

void initialize (DoFApplication< dim > *a, const MeshWorker::BlockInfo &, FEVectors &m)
 Constructor.
 
void cell (const typename DoFApplication< dim >::CellInfo &cell)
 Do the work on a cell.
 
void bdry (const typename DoFApplication< dim >::FaceInfo &face)
 Do the work on a boundary face.
 
void face (const typename DoFApplication< dim >::FaceInfo &face1, const typename DoFApplication< dim >::FaceInfo &face2)
 Do the work on an interior face.
 
- Public Member Functions inherited from MeshWorker::Assembler::CellsAndFaces< double >
void initialize (FEVectors &residuals, bool separate_faces=true)
 
void assemble (const InfoObjects::DoFInfo< dim > &info)
 Assemble the values #J1 into the global vectors and reset them to zero.
 
void assemble (const InfoObjects::DoFInfo< dim > &info1, const InfoObjects::DoFInfo< dim > &info2)
 Assemble both local values into the global vectors and reset them to zero.
 
double operator() (unsigned int i) const
 The value oth the ith #result.
 
- Public Member Functions inherited from MeshWorker::WorkerObjects::IntegrationWorker< dim >
 IntegrationWorker ()
 Constructor, which sets the UpdateFlags flags to their default values.
 
void initialize_selectors (const VectorSelector &cs, const VectorSelector &bs, const VectorSelector &fs)
 Initialize the VectorSelector objects cell_selector, bdry_selector, and face_selector.
 
void add_selector (const std::string &name, bool values, bool gradients, bool hessians, bool cell, bool bdry, bool face)
 Add a FEVector name as it is stored in FEVectors to some or all selectors.
 
void add_update_flags (const UpdateFlags flags, bool cell=true, bool bdry=true, bool face=true, bool ngbr=true)
 Add additional UpdateFlags flags.
 
void initialize_gauss_quadrature (unsigned int n_cell_points, unsigned int n_bdry_points, unsigned int n_face_points)
 Assign n-point Gauss quadratures to each of the quadrature rules.
 
- Public Member Functions inherited from MeshWorker::WorkerObjects::LocalWorker< dim >
 LocalWorker ()
 Constructor, setting boundary_fluxes and interior_fluxes to true.
 
void cell (const InfoObjects::DoFInfo< dim > &cell)
 Do the work on a cell.
 
void bdry (const InfoObjects::DoFInfo< dim > &face)
 Do the work on a boundary face.
 
void face (const InfoObjects::DoFInfo< dim > &face1, const InfoObjects::DoFInfo< dim > &face2)
 Do the work on an interior face.
 

Private Attributes

SmartPointer< DoFApplication
< dim > > 
app
 

Additional Inherited Members

- Public Attributes inherited from MeshWorker::Assembler::CellsAndFaces< double >
std::vector< double > J1
 
std::vector< double > J2
 
- Public Attributes inherited from MeshWorker::WorkerObjects::IntegrationWorker< dim >
MeshWorker::VectorSelector cell_selector
 Select the FEVector vectors from FEVectors that should be computed in the quadrature points on cells.
 
MeshWorker::VectorSelector bdry_selector
 Select the FEVector vectors from FEVectors that should be computed in the quadrature points on boundary faces.
 
MeshWorker::VectorSelector face_selector
 Select the FEVector vectors from FEVectors that should be computed in the quadrature points on interior faces.
 
Quadrature< dimcell_quadrature
 The quadrature rule used on cells.
 
Quadrature< dim-1 > bdry_quadrature
 The quadrature rule used on boundary faces.
 
Quadrature< dim-1 > face_quadrature
 The quadrature rule used on interior faces.
 
UpdateFlags cell_flags
 The set of update flags for cell integration.
 
UpdateFlags bdry_flags
 The set of update flags for boundary face integration.
 
UpdateFlags face_flags
 The set of update flags for interior face integration.
 
UpdateFlags ngbr_flags
 The set of update flags for interior face integration.
 

Detailed Description

template<int dim>
class AppFrame::LocalEstimate< dim >

Deprecated:
This class is a shortcut, but should not be needed in future applications.

The LocalIntegrator computing an error estimate based on jumps of the normal derivative.

This class implements the estimate, using the functions DoFApplication::cell_estimate(), DoFApplication::bdry_estimate() and DoFApplication::face_estimate().

Author
Guido Kanschat, 2007

Member Function Documentation

template<int dim>
void AppFrame::LocalEstimate< dim >::bdry ( const typename DoFApplication< dim >::FaceInfo &  face)

Do the work on a boundary face.

template<int dim>
void AppFrame::LocalEstimate< dim >::cell ( const typename DoFApplication< dim >::CellInfo &  cell)

Do the work on a cell.

template<int dim>
void AppFrame::LocalEstimate< dim >::face ( const typename DoFApplication< dim >::FaceInfo &  face1,
const typename DoFApplication< dim >::FaceInfo &  face2 
)

Do the work on an interior face.

template<int dim>
void AppFrame::LocalEstimate< dim >::initialize ( DoFApplication< dim > *  a,
const MeshWorker::BlockInfo ,
FEVectors m 
)
inline

Constructor.

References AppFrame::LocalEstimate< dim >::app, and MeshWorker::Assembler::CellsAndFaces< number >::initialize().

Here is the call graph for this function:

Member Data Documentation

template<int dim>
SmartPointer<DoFApplication<dim> > AppFrame::LocalEstimate< dim >::app
private

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