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

Change construction of Dirichlet Values in cosserat-continuum as well

parent e20ebef7
No related branches found
No related tags found
1 merge request!123Use dune-gmsh4 to read in Gmsh files for cosserat-continuum-2d-in-3d-X-X
...@@ -469,7 +469,7 @@ int main (int argc, char *argv[]) try ...@@ -469,7 +469,7 @@ int main (int argc, char *argv[]) try
Dune::Functions::interpolate(orientationPowerBasis, dOV, orientationDirichletValues); Dune::Functions::interpolate(orientationPowerBasis, dOV, orientationDirichletValues);
for (int i = 0; i < compositeBasis.size({0}); i++) { for (int i = 0; i < compositeBasis.size({0}); i++) {
FieldVector<double,3> x0i({x[_0][i][0],x[_0][i][1],x[_0][i][2]}); FieldVector<double,3> x0i = x[_0][i].globalCoordinates();
for (int j=0; j<3; j++) { for (int j=0; j<3; j++) {
if (deformationDirichletDofs[i][j]) if (deformationDirichletDofs[i][j])
x0i[j] = ddV[i][j]; x0i[j] = ddV[i][j];
......
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