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"
Provides a uniform interface to vector storage schemes for different linear algebra libraries.
This class provides a uniform interface for preconditioners.
virtual void zero() override
Can be used to zero items relevant to the preconditioner.
virtual void setup() override
This is called every time the "operator might have changed".
StaticCondensationPreconditioner(StaticCondensation &sc)
virtual void clear() override
Release all memory and clear data structures.
virtual bool initialized() const override
virtual void apply(const NumericVector< Number > &full_rhs, NumericVector< Number > &full_sol) override
Computes the preconditioned vector y based on input vector x.
virtual void init() override
Initialize data structures if not done so already.
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
clear() is called from the destructor, so it should not throw.
virtual bool initialized() const override
void apply(const NumericVector< Number > &full_rhs, NumericVector< Number > &full_sol)
Perform our three stages, forward_elimination(), a solve() on the condensed system,...
virtual void zero() override
Set all entries to 0.
void setup()
A no-op to be consistent with shimming from the StaticCondenstionPreconditioner.
The libMesh namespace provides an interface to certain functionality in the library.