21 const size_t max_threads);
23 std::vector<std::shared_ptr<varform::DifferentiableVarForm>>
build_varforms(
24 const std::string &root_path,
26 const size_t max_threads,
27 const json &output_log = json::object());
31 const std::vector<std::shared_ptr<varform::DifferentiableVarForm>> &varforms,
32 const std::vector<int> &variable_sizes);
36 const std::vector<std::shared_ptr<varform::DifferentiableVarForm>> &varforms,
37 const std::vector<std::shared_ptr<DiffCache>> &diff_caches,
38 const std::vector<int> &variable_sizes);
42 const std::vector<std::shared_ptr<varform::DifferentiableVarForm>> &varforms,
43 const std::vector<std::shared_ptr<DiffCache>> &diff_caches,
44 const std::vector<int> &variable_sizes);
46 std::shared_ptr<solver::AdjointForm>
build_form(
48 const solver::VariableToSimulationGroup &var2sim,
49 const std::vector<std::shared_ptr<varform::DifferentiableVarForm>> &varforms,
50 const std::vector<std::shared_ptr<DiffCache>> &diff_caches);
std::shared_ptr< solver::AdjointForm > build_form(const json &args, const solver::VariableToSimulationGroup &var2sim, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, const std::vector< std::shared_ptr< DiffCache > > &diff_caches)
std::shared_ptr< solver::VariableToSimulation > build_variable_to_simulation(const json &args, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, const std::vector< std::shared_ptr< DiffCache > > &diff_caches, const std::vector< int > &variable_sizes)
std::shared_ptr< solver::Parametrization > build_parametrization(const json &args, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, const std::vector< int > &variable_sizes)
std::vector< std::shared_ptr< varform::DifferentiableVarForm > > build_varforms(const std::string &root_path, const json &args, const size_t max_threads, const json &output_log)
std::shared_ptr< varform::DifferentiableVarForm > build_differentiable_varform(const json &args, const size_t max_threads)
solver::VariableToSimulationGroup build_variable_to_simulation_group(const json &args, const std::vector< std::shared_ptr< varform::DifferentiableVarForm > > &varforms, const std::vector< std::shared_ptr< DiffCache > > &diff_caches, const std::vector< int > &variable_sizes)