Skip to content
Snippets Groups Projects
Commit 0ad7569f authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Const SpatialPosition construction, no setXXX()

parent 4f45666a
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,6 @@ void Process::setInitialConditions(
variable_id++)
{
MathLib::LinAlg::setLocalAccessibleVector(x);
ParameterLib::SpatialPosition pos;
auto const& pv = per_process_variables[variable_id];
DBUG("Set the initial condition of variable {:s} of process {:d}.",
......@@ -175,8 +174,8 @@ void Process::setInitialConditions(
MeshLib::Location const l(mesh_id, MeshLib::MeshItemType::Node,
node->getID());
pos.setNodeID(node->getID());
pos.setCoordinates(*node);
ParameterLib::SpatialPosition const pos{
node->getID(), {}, *node};
auto const& ic_value = ic(t, pos);
auto global_index =
......
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