|
dune-pdelab 2.8
|
Loading...
Searching...
No Matches
linearproblem.hh
Go to the documentation of this file.
71 StationaryLinearProblemSolver(const GO& go, LS& ls, V& x, Real reduction, Real min_defect = 1e-99, int verbose=1)
82 StationaryLinearProblemSolver (const GO& go, LS& ls, Real reduction, Real min_defect = 1e-99, int verbose=1)
216 Dune::PDELab::set_shifted_dofs(_go.localAssembler().trialConstraints(),0.0,*_x); // set hanging node DOFs to zero
217 _go.localAssembler().backtransform(*_x); // interpolate hanging nodes adjacent to Dirichlet nodes
293 Dune::PDELab::set_shifted_dofs(_go.localAssembler().trialConstraints(),0.0,*_x); // set hanging node DOFs to zero
Reference get(const RAPropertyMapHelper< Reference, PropertyMap > &pmap, const Key &key)
void set_shifted_dofs(const CG &cg, typename XG::ElementType x, XG &xg)
Definition constraints.hh:1014
typename impl::BackendVectorSelector< GridFunctionSpace, FieldType >::Type Vector
alias of the return type of BackendVectorSelector
Definition backend/interface.hh:106
For backward compatibility – Do not use this!
T real_type
void reset() noexcept
double elapsed() const noexcept
Definition solver.hh:31
Definition linearproblem.hh:29
int linear_solver_iterations
Definition linearproblem.hh:34
double linear_solver_time
Definition linearproblem.hh:33
StationaryLinearProblemSolverResult()
Definition linearproblem.hh:36
RFType defect
Definition linearproblem.hh:31
double assembler_time
Definition linearproblem.hh:32
RFType first_defect
Definition linearproblem.hh:30
Solve linear problems using a residual formulation.
Definition linearproblem.hh:61
const Result & result() const
Return result object.
Definition linearproblem.hh:176
void setKeepMatrix(bool b)
Set whether the jacobian matrix should be kept across calls to apply().
Definition linearproblem.hh:164
Real reduction() const
Definition linearproblem.hh:315
void apply(bool reuse_matrix=false)
Solve linear problem (use initial guess that was passed at construction)
Definition linearproblem.hh:188
StationaryLinearProblemSolver(const GO &go, LS &ls, Real reduction, Real min_defect=1e-99, int verbose=1)
Definition linearproblem.hh:82
void setHangingNodeModifications(bool b)
Set whether the solver should apply the necessary transformations for calculations on hanging nodes.
Definition linearproblem.hh:152
bool hangingNodeModifications() const
Return whether the solver performs the necessary transformations for calculations on hanging nodes.
Definition linearproblem.hh:158
StationaryLinearProblemSolver(const GO &go, LS &ls, V &x, const ParameterTree ¶ms)
Construct a StationaryLinearProblemSolver for the given objects and read parameters from a ParameterT...
Definition linearproblem.hh:111
StationaryLinearProblemSolver(const GO &go, LS &ls, V &x, Real reduction, Real min_defect=1e-99, int verbose=1)
Definition linearproblem.hh:71
StationaryLinearProblemSolverResult< double > Result
Definition linearproblem.hh:69
void apply(V &x, bool reuse_matrix=false)
Solve linear problem with the provided initial guess.
Definition linearproblem.hh:182
const Dune::PDELab::LinearSolverResult< double > & ls_result() const
Definition linearproblem.hh:311
void discardMatrix()
Discard the stored Jacobian matrix.
Definition linearproblem.hh:305
void setReduction(Real reduction)
Definition linearproblem.hh:320
bool keepMatrix() const
Return whether the jacobian matrix is kept across calls to apply().
Definition linearproblem.hh:170
StationaryLinearProblemSolver(const GO &go, LS &ls, const ParameterTree ¶ms)
Construct a StationaryLinearProblemSolver for the given objects and read parameters from a ParameterT...
Definition linearproblem.hh:140
T endl(T... args)
T flush(T... args)
T max(T... args)
T reset(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8