Reference documentation for deal.II version 9.6.0
|
#include <deal.II/meshworker/assembler.h>
Public Member Functions | |
void | initialize (const BlockInfo *block_info, AnyData &residuals) |
void | initialize (const AffineConstraints< typename VectorType::value_type > &constraints) |
template<class DOFINFO > | |
void | initialize_info (DOFINFO &info, bool face) const |
template<class DOFINFO > | |
void | assemble (const DOFINFO &info) |
template<class DOFINFO > | |
void | assemble (const DOFINFO &info1, const DOFINFO &info2) |
Private Member Functions | |
void | assemble (VectorType &global, const BlockVector< double > &local, const std::vector< types::global_dof_index > &dof) |
Private Attributes | |
AnyData | residuals |
SmartPointer< const BlockInfo, ResidualLocalBlocksToGlobalBlocks< VectorType > > | block_info |
SmartPointer< const AffineConstraints< typename VectorType::value_type >, ResidualLocalBlocksToGlobalBlocks< VectorType > > | constraints |
Assemble local residuals into global residuals.
The global residuals are expected as an FEVectors object. The local residuals are block vectors.
Depending on whether the BlockInfo object was initialize with BlockInfo::initialize_local(), the comprehensive or block data model is used locally.
In the block model, each of the blocks of the local vectors corresponds to the restriction of a single block of the system to this cell (see GlossBlock). Thus, the size of this local block is the number of degrees of freedom of the corresponding base element of the FESystem.
Definition at line 110 of file assembler.h.
|
inline |
Copy the BlockInfo and the matrix pointers into local variables.
Definition at line 529 of file assembler.h.
|
inline |
Initialize the constraints.
Definition at line 539 of file assembler.h.
|
inline |
Initialize the local data in the DoFInfo object used later for assembling.
The info
object refers to a cell if !face
, or else to an interior or boundary face.
Definition at line 549 of file assembler.h.
|
inline |
Assemble the local residuals into the global residuals.
Definition at line 589 of file assembler.h.
|
inline |
Assemble both local residuals into the global residuals.
Definition at line 601 of file assembler.h.
|
inlineprivate |
Assemble a single local residual into the global.
Definition at line 558 of file assembler.h.
|
private |
The global vectors, stored as an AnyData container of pointers.
Definition at line 164 of file assembler.h.
|
private |
A pointer to the object containing the block structure.
Definition at line 171 of file assembler.h.
|
private |
A pointer to the object containing constraints.
Definition at line 178 of file assembler.h.