26 class AdjointNLProblem;
28 class Parametrization;
29 class VariableToSimulation;
30 class VariableToSimulationGroup;
36 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
polyfem::legacy::State State
static void solve_pde(legacy::State &state)
static int compute_variable_size(const json &args, const std::vector< std::shared_ptr< legacy::State > > &states)
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)