20 #ifndef LIBMESH_LINEAR_IMPLICIT_SYSTEM_H 21 #define LIBMESH_LINEAR_IMPLICIT_SYSTEM_H 34 template <
typename T>
class LinearSolver;
35 template <
typename T>
class ShellMatrix;
64 const std::string &
name,
65 const unsigned int number);
91 virtual void clear ()
override;
102 virtual void reinit ()
override;
123 virtual void solve ()
override;
141 virtual void assembly(
bool get_residual,
143 bool apply_heterogeneous_constraints =
false,
144 bool apply_no_constraints =
false)
override;
150 virtual std::string
system_type ()
const override {
return "LinearImplicit"; }
225 #endif // LIBMESH_LINEAR_IMPLICIT_SYSTEM_H virtual void restrict_solve_to(const SystemSubset *subset, const SubsetSolveMode subset_solve_mode=SUBSET_ZERO) override
ShellMatrix< Number > * get_shell_matrix()
void attach_shell_matrix(ShellMatrix< Number > *shell_matrix)
virtual void assemble() override
Manages multiples systems of equations.
ShellMatrix< Number > * _shell_matrix
unsigned int _n_linear_iterations
Manages consistently variables, degrees of freedom, coefficient vectors, matrices and linear solvers ...
LinearImplicitSystem(EquationSystems &es, const std::string &name, const unsigned int number)
std::unique_ptr< LinearSolver< Number > > linear_solver
virtual void reinit() override
SubsetSolveMode _subset_solve_mode
virtual std::string system_type() const override
virtual LinearSolver< Number > * get_linear_solver() const override
virtual void solve() override
unsigned int number() const
Real final_linear_residual() const
virtual void init_data() override
unsigned int n_linear_iterations() const
virtual void assembly(bool get_residual, bool get_jacobian, bool apply_heterogeneous_constraints=false, bool apply_no_constraints=false) override
Real _final_linear_residual
LinearImplicitSystem sys_type
virtual void release_linear_solver(LinearSolver< Number > *) const override
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void clear() override
void detach_shell_matrix()
virtual void assemble() override
const SystemSubset * _subset
const std::string & name() const
virtual ~LinearImplicitSystem()
Manages consistently variables, degrees of freedom, and coefficient vectors for explicit systems...
Manages consistently variables, degrees of freedom, coefficient vectors, and matrices for implicit sy...