23 std::optional<BaseLib::ConfigTree>
const& config)
27 return std::make_unique<AnalyticalJacobianAssembler>();
31 auto const type = config->peekConfigParameter<std::string>(
"type");
33 if (type ==
"Analytical")
35 config->ignoreConfigParameter(
"type");
36 return std::make_unique<AnalyticalJacobianAssembler>();
38 if (type ==
"CentralDifferences")
42 if (type ==
"CompareJacobians")
46 if (type ==
"ForwardDifferences")
51 OGS_FATAL(
"Unknown Jacobian assembler type: `{:s}'.", type);