27#include "neml2/base/NEML2Object.h"
28#include "neml2/base/DiagnosticsInterface.h"
32#include "neml2/base/TensorName.h"
33#include "neml2/base/EnumSelection.h"
67 virtual bool run() = 0;
DiagnosticsInterface()=delete
The Driver drives the execution of a NEML2 Model.
Definition Driver.h:53
bool _verbose
Whether to print out additional (debugging) information during the execution.
Definition Driver.h:71
Driver(const OptionSet &options)
Construct a new Driver object.
Definition Driver.cxx:55
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:64
static OptionSet expected_options()
Definition Driver.cxx:41
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:52
Definition DiagnosticsInterface.cxx:30
Driver & get_driver(const std::string &dname)
A convenient function to manufacture a neml2::Driver.
Definition Driver.cxx:34