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

Only print first component

parent 758784c4
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ void print_evolution(Dune::BitSetVector<1> const &frictionalNodes,
double out;
function.evaluate(time, out);
std::cout << boost::format("s[%03d] = %+3e, %|20t|u[%03d] = %+3e") % run %
state[i] % run % displacement[i] << std::endl;
state[i] % run % displacement[i][0] << std::endl;
octave_writer << state[i][0] << " " << displacement[i][0] * 1e6 << " "
<< out << std::endl;
break;
......
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