18 #ifndef LIBMESH_STATIC_CONDENSATION_PRECONDITIONER_H 19 #define LIBMESH_STATIC_CONDENSATION_PRECONDITIONER_H 21 #include "libmesh/preconditioner.h" 22 #include "libmesh/static_condensation.h" 62 #endif // LIBMESH_STATIC_CONDENSATION_PRECONDITIONER_H
virtual void init() override
Initialize data structures if not done so already.
virtual void zero() override
Set all entries to 0.
void setup()
A no-op to be consistent with shimming from the StaticCondenstionPreconditioner.
virtual bool initialized() const override
The libMesh namespace provides an interface to certain functionality in the library.
virtual void apply(const NumericVector< Number > &full_rhs, NumericVector< Number > &full_sol) override
virtual void clear() override
Release all memory and clear data structures.
This class provides a uniform interface for preconditioners.
void apply(const NumericVector< Number > &full_rhs, NumericVector< Number > &full_sol)
Perform our three stages, forward_elimination(), a solve() on the condensed system, and finally a backwards_substitution()
virtual void init(const numeric_index_type m, const numeric_index_type n, const numeric_index_type m_l, const numeric_index_type n_l, const numeric_index_type nnz=30, const numeric_index_type noz=10, const numeric_index_type blocksize=1) override
Initialize SparseMatrix with the specified sizes.
virtual void clear() noexcept override
Restores the SparseMatrix<T> to a pristine state.
virtual void zero() override
Can be used to zero items relevant to the preconditioner.
virtual bool initialized() const override
StaticCondensationPreconditioner(StaticCondensation &sc)
virtual void setup() override
This is called every time the "operator might have changed".