27#include "neml2/base/Registry.h"
28#include "neml2/base/NEML2Object.h"
29#include "neml2/base/Factory.h"
30#include "neml2/base/DiagnosticsInterface.h"
31#include "neml2/models/Model.h"
36#include "neml2/base/CrossRef.h"
37#include "neml2/base/EnumSelection.h"
57 void diagnose(std::vector<Diagnosis> &)
const override {}
60 virtual bool run() = 0;
Interface for object making diagnostics about common setup errors.
Definition DiagnosticsInterface.h:47
The Driver drives the execution of a NEML2 Model.
Definition Driver.h:46
void diagnose(std::vector< Diagnosis > &) const override
Check for common problems.
Definition Driver.h:57
bool _verbose
Whether to print out additional (debugging) information during the execution.
Definition Driver.h:64
Driver(const OptionSet &options)
Construct a new Driver object.
Definition Driver.cxx:41
virtual bool run()=0
Let the driver run, return true upon successful completion, and return false otherwise.
static OptionSet expected_options()
Definition Driver.cxx:30
The base class of all "manufacturable" objects in the NEML2 library.
Definition NEML2Object.h:38
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:85
Definition CrossRef.cxx:31