FENonlinearProblem

class FENonlinearProblem : public godzilla::NonlinearProblem, public godzilla::FEProblemInterface

Non-linear problem that arises from a finite element discretization using the PetscFE system.

Subclassed by godzilla::ExplicitFELinearProblem, godzilla::ImplicitFENonlinearProblem

Public Functions

virtual void create() override

Called to construct the object.

virtual Real get_time() const override

Get simulation time.

For steady-state simulations, time is always 0

Returns:

Simulation time

virtual void compute_solution_vector_local() override

Build local solution vector for this problem.