diff --git a/ParameterLib/Parameter.cpp b/ParameterLib/Parameter.cpp index d7323997f7350f4146766db7813a3d212660bfcb..fcd185c339dfeb341c61e7d08c044898745d2218 100644 --- a/ParameterLib/Parameter.cpp +++ b/ParameterLib/Parameter.cpp @@ -17,6 +17,7 @@ #include "GroupBasedParameter.h" #include "MeshElementParameter.h" #include "MeshNodeParameter.h" +#include "TimeDependentHeterogeneousParameter.h" namespace ParameterLib { @@ -80,6 +81,11 @@ std::unique_ptr<ParameterBase> createParameter( auto param = createMeshNodeParameter(name, config, mesh); return param; } + if (type == "TimeDependentHeterogeneousParameter") + { + INFO("TimeDependentHeterogeneousParameter: %s", name.c_str()); + return createTimeDependentHeterogeneousParameter(name, config); + } OGS_FATAL("Cannot construct a parameter of given type '%s'.", type.c_str()); }