OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
Compute cell and face contributions of a functional, typically for error estimates. More...
#include <mesh_worker_assembler.h>
Public Member Functions | |
void | initialize (FEVectors &residuals, bool separate_faces=true) |
template<int dim> | |
void | assemble (const InfoObjects::DoFInfo< dim > &info) |
Assemble the values J1 into the global vectors and reset them to zero. | |
template<int dim> | |
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. | |
number | operator() (unsigned int i) const |
The value oth the ith #result. | |
Public Attributes | |
std::vector< number > | J1 |
std::vector< number > | J2 |
Private Attributes | |
FEVectors | results |
bool | separate_faces |
Compute cell and face contributions of a functional, typically for error estimates.
|
inline |
Assemble the values J1 into the global vectors and reset them to zero.
References MeshWorker::InfoObjects::DoFInfo< dim, spacedim >::cell, MeshWorker::InfoObjects::DoFInfo< dim, spacedim >::face, and MeshWorker::InfoObjects::DoFInfo< dim, spacedim >::face_number.
|
inline |
Assemble both local values into the global vectors and reset them to zero.
References MeshWorker::InfoObjects::DoFInfo< dim, spacedim >::cell, and MeshWorker::InfoObjects::DoFInfo< dim, spacedim >::face.
|
inline |
Referenced by AppFrame::LocalEstimate< dim >::initialize().
number MeshWorker::Assembler::CellsAndFaces< number >::operator() | ( | unsigned int | i | ) | const |
The value oth the ith #result.
std::vector<number> MeshWorker::Assembler::CellsAndFaces< number >::J1 |
std::vector<number> MeshWorker::Assembler::CellsAndFaces< number >::J2 |
|
private |
|
private |