Skip to content
Snippets Groups Projects
Commit 7d258a97 authored by Jan Schäfer's avatar Jan Schäfer
Browse files

zmeneno set velocity

parent 989e6482
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ class LaxFridrichsContinuity< tnlGrid< 1,MeshReal, Device, MeshIndex >, Real, In
this->tau = tau;
};
void setVelocity(const MeshFunctionType velocity)
void setVelocity(MeshFunctionType& velocity)
{
velocity.bind( velocity );
};
......@@ -90,7 +90,7 @@ class LaxFridrichsContinuity< tnlGrid< 2,MeshReal, Device, MeshIndex >, Real, In
this->tau = tau;
};
void setVelocity(const MeshFunctionType& velocity)
void setVelocity(MeshFunctionType& velocity)
{
this->velocity.bind( velocity );
};
......@@ -145,7 +145,7 @@ class LaxFridrichsContinuity< tnlGrid< 3,MeshReal, Device, MeshIndex >, Real, In
this->tau = tau;
};
void setVelocity(const MeshFunctionType& velocity)
void setVelocity(MeshFunctionType& velocity)
{
velocity.bind( velocity );
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment