Skip to content
Snippets Groups Projects
Commit d64e0bd7 authored by akbib's avatar akbib Committed by akbib@FU-BERLIN.DE
Browse files

adjust to new template parameter of stress

[[Imported from SVN: r10972]]
parent e439a35b
Branches
Tags
No related merge requests found
......@@ -350,7 +350,7 @@ int main (int argc, char *argv[]) try
BlockVector<FieldVector<double,1> > stress;
std::string namestress= "resultGridstress";
namestress+=num;
Stress<GridType>::getViscoelasticStress(grid, x, v, stress, E, nu, nu_bulk, nu_shear);
Stress<GridType::LevelGridView>::getViscoelasticStress(grid, x, v, stress, E, nu, nu_bulk, nu_shear);
LeafAmiraMeshWriter<GridType>::writeBlockVector(grid, stress, resultpath + namestress);
......@@ -358,10 +358,10 @@ int main (int argc, char *argv[]) try
/*
//Compute the total surface stress
surfacestress[j-1]=Stress<GridType,dim>::getViscoelasticSurfaceStress_interpNormals(dirichletBoundaryAll[grid.maxLevel()],x,v,E, nu, nu_bulk, nu_shear).two_norm();
surfacestress[j-1]=Stress<GridType::LevelGridView,dim>::getViscoelasticSurfaceStress_interpNormals(dirichletBoundaryAll[grid.maxLevel()],x,v,E, nu, nu_bulk, nu_shear).two_norm();
//Compute total strain
Stress<GridType,dim>::getTotalStrain(grid,x,strain[j-1]);
Stress<GridType::LevelGridView,dim>::getTotalStrain(grid,x,strain[j-1]);
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment