Skip to content
Snippets Groups Projects
Commit 0d09b494 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Correct the target dimension of the Neumann function and volume load function

This has to be dimworld and not dim.
parent 6c6b5803
No related branches found
No related tags found
1 merge request!72Cosserat-Continuum-Nonplanar
...@@ -375,7 +375,7 @@ int main (int argc, char *argv[]) try ...@@ -375,7 +375,7 @@ int main (int argc, char *argv[]) try
if (parameterSet.hasKey("neumannValues")) if (parameterSet.hasKey("neumannValues"))
neumannValues = parameterSet.get<FieldVector<double,3> >("neumannValues"); neumannValues = parameterSet.get<FieldVector<double,3> >("neumannValues");
auto neumannFunction = [&]( FieldVector<double,dim> ) { auto neumannFunction = [&]( FieldVector<double,dimworld> ) {
auto nV = neumannValues; auto nV = neumannValues;
nV *= homotopyParameter; nV *= homotopyParameter;
return nV; return nV;
...@@ -385,7 +385,7 @@ int main (int argc, char *argv[]) try ...@@ -385,7 +385,7 @@ int main (int argc, char *argv[]) try
if (parameterSet.hasKey("volumeLoad")) if (parameterSet.hasKey("volumeLoad"))
volumeLoadValues = parameterSet.get<FieldVector<double,3> >("volumeLoad"); volumeLoadValues = parameterSet.get<FieldVector<double,3> >("volumeLoad");
auto volumeLoad = [&]( FieldVector<double,dim>) { auto volumeLoad = [&]( FieldVector<double,dimworld>) {
auto vL = volumeLoadValues; auto vL = volumeLoadValues;
vL *= homotopyParameter; vL *= homotopyParameter;
return vL; return vL;
......
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