Skip to content
Snippets Groups Projects
Commit 613e8087 authored by Tom Fischer's avatar Tom Fischer
Browse files

[Param] Add TimeDependentHeterogeneousParameter in createParameter.

parent 14bafc42
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "GroupBasedParameter.h" #include "GroupBasedParameter.h"
#include "MeshElementParameter.h" #include "MeshElementParameter.h"
#include "MeshNodeParameter.h" #include "MeshNodeParameter.h"
#include "TimeDependentHeterogeneousParameter.h"
namespace ParameterLib namespace ParameterLib
{ {
...@@ -80,6 +81,11 @@ std::unique_ptr<ParameterBase> createParameter( ...@@ -80,6 +81,11 @@ std::unique_ptr<ParameterBase> createParameter(
auto param = createMeshNodeParameter(name, config, mesh); auto param = createMeshNodeParameter(name, config, mesh);
return param; 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()); OGS_FATAL("Cannot construct a parameter of given type '%s'.", type.c_str());
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment