deal.II version GIT relicensing-2167-g9622207b8f 2024-11-21 12:40:00+00:00
|
#include <deal.II/meshworker/simple.h>
Public Member Functions | |
SystemSimple (double threshold=1.e-12) | |
void | initialize (MatrixType &m, VectorType &rhs) |
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 (const FullMatrix< double > &M, const Vector< double > &vector, const unsigned int index, const std::vector< types::global_dof_index > &indices) |
void | assemble (const FullMatrix< double > &M, const Vector< double > &vector, const unsigned int index, const std::vector< types::global_dof_index > &i1, const std::vector< types::global_dof_index > &i2) |
void | initialize (MatrixType &m) |
void | initialize (std::vector< MatrixType > &m) |
void | initialize (const AffineConstraints< typename MatrixType::value_type > &constraints) |
void | initialize (AnyData &results) |
Private Attributes | |
std::vector< ObserverPointer< MatrixType, MatrixSimple< MatrixType > > > | matrix |
const double | threshold |
ObserverPointer< const AffineConstraints< typename MatrixType::value_type >, MatrixSimple< MatrixType > > | constraints |
AnyData | residuals |
ObserverPointer< const AffineConstraints< typename VectorType::value_type >, ResidualSimple< VectorType > > | constraints |
Assemble a simple matrix and a simple right hand side at once. We use a combination of MatrixSimple and ResidualSimple to achieve this. Cell and face operators should fill the matrix and vector objects in LocalResults and this class will assemble them into matrix and vector objects.
MeshWorker::Assembler::SystemSimple< MatrixType, VectorType >::SystemSimple | ( | double | threshold = 1.e-12 | ) |
Constructor setting the threshold value in MatrixSimple.
|
inline |
|
inline |
Initialize the constraints. After this function has been called with a valid AffineConstraints object, the function AffineConstraints::distribute_local_to_global() will be used by assemble() to distribute the cell and face matrices into a global sparse matrix.
|
inline |
|
inline |
Assemble the matrix DoFInfo::M1[0] into the global matrix.
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Initialize the constraints. After this function has been called with a valid AffineConstraints object, the function AffineConstraints::distribute_local_to_global() will be used by assemble() to distribute the cell and face matrices into a global sparse matrix.
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
privateinherited |
|
protectedinherited |
The global residual vectors filled by assemble().
|
protectedinherited |