Hermes2D
3.0
|
Public Member Functions | |
Solver (bool initialize_discrete_problem=true) | |
Solver (DiscreteProblem< Scalar > *dp) | |
Solver (WeakFormSharedPtr< Scalar > wf, SpaceSharedPtr< Scalar > space) | |
Solver (WeakFormSharedPtr< Scalar > wf, std::vector< SpaceSharedPtr< Scalar > > spaces) | |
virtual void | solve () |
Basic solve method. | |
virtual void | solve (Scalar *coeff_vec)=0 |
virtual Scalar * | get_sln_vector ()=0 |
Get sln vector. | |
virtual void | solve (MeshFunctionSharedPtr< Scalar > initial_guess) |
virtual void | solve (std::vector< MeshFunctionSharedPtr< Scalar > > initial_guess) |
virtual void | set_time (double time) |
set time information for time-dependent problems. | |
virtual void | set_time_step (double time_step) |
virtual void | set_spaces (std::vector< SpaceSharedPtr< Scalar > > spaces) |
SettableSpaces helper. | |
virtual std::vector < SpaceSharedPtr< Scalar > > | get_spaces () |
Get all spaces as a std::vector. | |
virtual void | set_weak_formulation (WeakFormSharedPtr< Scalar > wf) |
DiscreteProblemWeakForm helper. | |
![]() | |
virtual void | set_space (SpaceSharedPtr< Scalar > space) |
virtual SpaceSharedPtr< Scalar > | get_space (int n) |
![]() | |
WeakFormSharedPtr< Scalar > | get_weak_formulation () const |
Protected Member Functions | |
virtual bool | isOkay () const |
![]() | |
DiscreteProblemWeakForm (WeakFormSharedPtr< Scalar > wf=WeakFormSharedPtr< Scalar >(nullptr)) | |
Protected Attributes | |
DiscreteProblem< Scalar > * | dp |
FE problem being solved. | |
bool | own_dp |
This instance owns its DP. | |
![]() | |
WeakFormSharedPtr< Scalar > | wf |
Weak formulation. | |
Friends | |
template<typename Scalar2 , typename SolverType > | |
class | AdaptSolver |
Definition at line 32 of file discrete_problem_selective_assembler.h.
|
pure virtual |
Basic solve method.
[in] | coeff_vec | initiall guess as a vector of coefficients wrt. basis functions. |
Implemented in Hermes::Hermes2D::PicardSolver< Scalar >, Hermes::Hermes2D::NewtonSolver< Scalar >, and Hermes::Hermes2D::LinearSolver< Scalar >.
|
virtual |
Solve.
[in] | initial_guess | Solution to start from (which is projected to obtain the initial coefficient vector. |
Definition at line 78 of file solver.cpp.
|
virtual |
Solve.
[in] | initial_guess | Solutions to start from (which is projected to obtain the initial coefficient vector. |
Definition at line 89 of file solver.cpp.