NEML2 2.0.0
|
The Driver drives the execution of a NEML2 Model. More...
#include <Driver.h>
Static Public Member Functions | |
static OptionSet | expected_options () |
Static Public Member Functions inherited from NEML2Object | |
static OptionSet | expected_options () |
Protected Attributes | |
bool | _verbose |
Whether to print out additional (debugging) information during the execution. | |
Construct a new Driver object.
options | The options extracted from the input file |
Check for common problems.
This method serves as the entry point for diagnosing common problems in object setup. The idea behind this method is that while some errors could be detected at construction time, i.e., when the object's constructor is called, it doesn't hinder other objects' creation. We therefore would like to defer the detection of errors until after all objects have been created, collect all errors at once, and present the user with a complete understanding of all errors encountered.
Note, however, if an error could interfere with other objects' creation, it should be raised right away inside the constructor, instead of inside this method.
diagnoses | A vector of exceptions of type Diagnosis for each of the detected problem. |
Implements DiagnosticsInterface.
Reimplemented in LDISolidMechanicsDriver, SolidMechanicsDriver, and TransientDriver.
|
static |
Let the driver run, return true
upon successful completion, and return false
otherwise.
Implemented in TransientDriver.
|
protected |
Whether to print out additional (debugging) information during the execution.