|
PolyFEM
|
Namespaces | |
| namespace | internal |
Typedefs | |
| using | ForwardStepCallback = std::function< void(int step, const Eigen::MatrixXd &solution)> |
Functions | |
| std::string | formulation_from_args (const json &args) |
| Extracts the formulation type from the given JSON arguments. | |
| bool | uses_varform_state (json args) |
| Checks if the given JSON arguments use a VarForm state. | |
| using polyfem::varform::ForwardStepCallback = typedef std::function<void(int step, const Eigen::MatrixXd &solution)> |
Definition at line 49 of file VarForm.hpp.
| std::string polyfem::varform::formulation_from_args | ( | const json & | args | ) |
Extracts the formulation type from the given JSON arguments.
this is temporary until legacy state is removed
| args | JSON arguments containing material information. |
Definition at line 91 of file VarFormFactory.cpp.
References polyfem::assembler::AssemblerUtils::is_elastic_material().
Referenced by polyfem::State::init(), and uses_varform_state().
| bool polyfem::varform::uses_varform_state | ( | json | args | ) |
Checks if the given JSON arguments use a VarForm state.
this is temporary until legacy state is removed
| args | JSON arguments containing material information. |
Definition at line 124 of file VarFormFactory.cpp.
References polyfem::utils::apply_common_params(), formulation_from_args(), and polyfem::varform::VarFormFactory::supports().
Referenced by forward_simulation().