Go to the source code of this file.
Namespaces | |
NEML2Utils | |
Functions | |
std::shared_ptr< neml2::Model > | NEML2Utils::getModel (neml2::Factory &factory, const std::string &name, neml2::Dtype dtype=neml2::kFloat64) |
Get the NEML2 Model. More... | |
void | NEML2Utils::assertVariable (const neml2::VariableName &) |
Assert that the NEML2 variable name sits on either the forces or the state subaxis. More... | |
void | NEML2Utils::assertOldVariable (const neml2::VariableName &) |
Assert that the NEML2 variable name sits on either the old_forces or the old_state subaxis. More... | |
neml2::VariableName | NEML2Utils::parseVariableName (const std::string &) |
Parse a raw string into NEML2 variable name. More... | |
bool | NEML2Utils::shouldCompute (const SubProblem &) |
Determine whether the NEML2 material model should be evaluated. More... | |
std::string | NEML2Utils::docstring (const std::string &desc) |
Augment docstring if NEML2 is not enabled. More... | |
void | NEML2Utils::assertNEML2Enabled () |
Assert that NEML2 is enabled. More... | |
Variables | |
static const std::string | NEML2Utils::missing_neml2 |