LinearProblem
-
class LinearProblem : public godzilla::Problem, public godzilla::RestartInterface
Linear problem.
Public Functions
-
virtual void create() override
Called to construct the object.
-
virtual void run() override
Run the problem.
-
virtual void write_restart_file(RestartFile &file) const override
Write restart file.
- Parameters:
file – File to write restart data to
-
virtual void read_restart_file(const RestartFile &file) override
Read restart file.
- Parameters:
file – File to read restart data from
-
void solve()
Solve the linear problem.
-
bool converged()
true if solve converged, otherwise false
-
virtual void create() override