Skip to content
Snippets Groups Projects
Commit 38e99693 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Whitespace; comments

parent bd7f047d
No related branches found
No related tags found
No related merge requests found
...@@ -212,7 +212,7 @@ int main(int argc, char *argv[]) { ...@@ -212,7 +212,7 @@ int main(int argc, char *argv[]) {
typedef MyConvexProblem<OperatorType, VectorType> MyConvexProblemType; typedef MyConvexProblem<OperatorType, VectorType> MyConvexProblemType;
typedef MyBlockProblem<MyConvexProblemType> MyBlockProblemType; typedef MyBlockProblem<MyConvexProblemType> MyBlockProblemType;
// {{{ Set up TNNMG solver // Set up TNNMG solver
MySolver<dim, VectorType, OperatorType, GridType, MyBlockProblemType> MySolver<dim, VectorType, OperatorType, GridType, MyBlockProblemType>
mySolver(parset.sub("solver.tnnmg"), refinements, solver_tolerance, *grid, mySolver(parset.sub("solver.tnnmg"), refinements, solver_tolerance, *grid,
ignoreNodes); ignoreNodes);
...@@ -299,8 +299,8 @@ int main(int argc, char *argv[]) { ...@@ -299,8 +299,8 @@ int main(int argc, char *argv[]) {
if (frictionalNodes[i][0]) { if (frictionalNodes[i][0]) {
double const unorm = u4_diff[i].two_norm(); double const unorm = u4_diff[i].two_norm();
// the (logarithmic) steady state corresponding to the current // // the (logarithmic) steady state corresponding to the
// velocity // // current velocity
// std::cout << std::log(L/unorm * h) << std::endl; // std::cout << std::log(L/unorm * h) << std::endl;
switch (parset.get<Config::state_model>( switch (parset.get<Config::state_model>(
...@@ -375,7 +375,6 @@ int main(int argc, char *argv[]) { ...@@ -375,7 +375,6 @@ int main(int argc, char *argv[]) {
// Compute von Mises stress and write everything to a file // Compute von Mises stress and write everything to a file
if (parset.get<bool>("writeVTK")) { if (parset.get<bool>("writeVTK")) {
// Compute von Mises stress
VonMisesStressAssembler<GridType> localStressAssembler( VonMisesStressAssembler<GridType> localStressAssembler(
E, nu, E, nu,
Dune::make_shared<BasisGridFunction<P1Basis, VectorType> const>( Dune::make_shared<BasisGridFunction<P1Basis, VectorType> const>(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment