Skip to content
Snippets Groups Projects
Commit 50868a28 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

[PL] TES changed dimension conditions

parent 5d1f3ead
No related branches found
No related tags found
No related merge requests found
...@@ -257,7 +257,7 @@ std::vector<double> const& TESLocalAssembler< ...@@ -257,7 +257,7 @@ std::vector<double> const& TESLocalAssembler<
ShapeFunction_, IntegrationMethod_, ShapeFunction_, IntegrationMethod_,
GlobalDim>::getIntPtDarcyVelocityY(std::vector<double>& /*cache*/) const GlobalDim>::getIntPtDarcyVelocityY(std::vector<double>& /*cache*/) const
{ {
assert(_d.getData().velocity.size() >= 2); assert(_d.getData().velocity.size() > 1);
return _d.getData().velocity[1]; return _d.getData().velocity[1];
} }
...@@ -267,7 +267,7 @@ std::vector<double> const& TESLocalAssembler< ...@@ -267,7 +267,7 @@ std::vector<double> const& TESLocalAssembler<
ShapeFunction_, IntegrationMethod_, ShapeFunction_, IntegrationMethod_,
GlobalDim>::getIntPtDarcyVelocityZ(std::vector<double>& /*cache*/) const GlobalDim>::getIntPtDarcyVelocityZ(std::vector<double>& /*cache*/) const
{ {
assert(_d.getData().velocity.size() >= 3); assert(_d.getData().velocity.size() > 2);
return _d.getData().velocity[2]; return _d.getData().velocity[2];
} }
......
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