27#include "neml2/base/Factory.h"
28#include "neml2/base/Registry.h"
29#include "neml2/base/NEML2Object.h"
33#include "neml2/base/TensorName.h"
34#include "neml2/base/EnumSelection.h"
35#include "neml2/base/MultiEnumSelection.h"
47 void setup()
override;
51 virtual T
make()
const = 0;
61 const std::vector<TensorShape> _manip_args;
Selection of multiple enum value from a list of choices.
Definition MultiEnumSelection.h:41
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 UserTensorBase.h:41
static std::string tensor_type()
A human-readable description of the tensor type.
Definition UserTensorBase.cxx:89
virtual T make() const =0
Create the tensor given input options.
void setup() override
Setup this object.
Definition UserTensorBase.cxx:185
UserTensorBase(const OptionSet &options)
Definition UserTensorBase.cxx:68
static OptionSet expected_options()
Definition UserTensorBase.cxx:31
Definition DiagnosticsInterface.cxx:30