23 class AdjointNLProblem;
25 class Parametrization;
26 class VariableToSimulation;
27 class VariableToSimulationGroup;
33 static std::shared_ptr<polysolve::nonlinear::Solver>
make_nl_solver(
const json &solver_params,
const json &linear_solver_params,
const double characteristic_length);
main class that contains the polyfem solver and all its state
A collection of VariableToSimulation.
static std::shared_ptr< polysolve::nonlinear::Solver > make_nl_solver(const json &solver_params, const json &linear_solver_params, const double characteristic_length)
static json apply_opt_json_spec(const json &input_args, bool strict_validation)
static Eigen::VectorXd inverse_evaluation(const json &args, const int ndof, const std::vector< int > &variable_sizes, VariableToSimulationGroup &var2sim)
static void solve_pde(State &state)
static int compute_variable_size(const json &args, const std::vector< std::shared_ptr< State > > &states)