27#include "neml2/base/NEML2Object.h"
28#include "neml2/base/DiagnosticsInterface.h"
32#include "neml2/base/TensorName.h"
33#include "neml2/base/EnumSelection.h"
58 virtual bool run() = 0;
Interface for object making diagnostics about common setup errors.
Definition DiagnosticsInterface.h:83
The Driver drives the execution of a NEML2 Model.
Definition Driver.h:44
bool _verbose
Whether to print out additional (debugging) information during the execution.
Definition Driver.h:62
Driver(const OptionSet &options)
Construct a new Driver object.
Definition Driver.cxx:47
virtual bool run()=0
Let the driver run, return true upon successful completion, and return false otherwise.
void diagnose() const override
Check for common problems.
Definition Driver.h:55
static OptionSet expected_options()
Definition Driver.cxx:33
The base class of all "manufacturable" objects in the NEML2 library.
Definition NEML2Object.h:51
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:51
Definition DiagnosticsInterface.cxx:30