From cdc6de342107c5ac1d55179cd9b4dcddf270f0a7 Mon Sep 17 00:00:00 2001 From: kmo Date: Thu, 6 Nov 2014 20:39:30 +0000 Subject: [PATCH] Added: Options -outPrec and -ztol for DynamicEl + output of acceleration at result points git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@3003 e10b68d5-8a6e-419e-a041-bce267b0401d --- src/SIM/NewmarkSIM.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SIM/NewmarkSIM.C b/src/SIM/NewmarkSIM.C index 89a023c5..de890d09 100644 --- a/src/SIM/NewmarkSIM.C +++ b/src/SIM/NewmarkSIM.C @@ -435,5 +435,8 @@ void NewmarkSIM::dumpResults (double time, std::ostream& os, model.dumpResults(solution.front(),time,os,formatted,precision); model.dumpMoreResults(time,os,precision); if (formatted) + { model.dumpVector(this->getVelocity(),"velocity",os,precision); + model.dumpVector(this->getAcceleration(),"acceleration",os,precision); + } }