113 std::cout<<
"\n"<<
blueBoldColor<<
"runID="<<this->
ddBase.simulationParameters.runID<<
" (of "<<this->
ddBase.simulationParameters.Nsteps<<
")"
117 for(
int r=0;r<this->
ddBase.simulationParameters.maxResolveSteps;++r)
121 this->
ddBase.simulationParameters.dt=this->
getDt();
123 if (!(this->
ddBase.simulationParameters.runID%this->ddBase.simulationParameters.outputFrequency))
128 f_file<< this->
ddBase.simulationParameters.runID<<
" "<<std::setprecision(15)<<std::scientific<<this->
ddBase.simulationParameters.totalTime<<
" "<<this->
ddBase.simulationParameters.dt<<
" ";
131 f_file<<pD.row(0)<<
" "<<pD.row(1)<<
" "<<pD.row(2)<<
" "<<pD.trace()<<
" "<<pD.norm()<<
" ";
134 f_file<<pDR.row(0)<<
" "<<pDR.row(1)<<
" "<<pDR.row(2)<<
" "<<pDR.trace()<<
" "<<pDR.norm()<<
" ";
136 if(this->
ddBase.simulationParameters.runID==0)
139 F_labels<<
"time [b/cs]\n";
140 F_labels<<
"dt [b/cs]\n";
142 F_labels<<
"betaP_11\n";
143 F_labels<<
"betaP_12\n";
144 F_labels<<
"betaP_13\n";
145 F_labels<<
"betaP_21\n";
146 F_labels<<
"betaP_22\n";
147 F_labels<<
"betaP_23\n";
148 F_labels<<
"betaP_31\n";
149 F_labels<<
"betaP_32\n";
150 F_labels<<
"betaP_33\n";
151 F_labels<<
"tr(betaP)\n";
152 F_labels<<
"norm(betaP)\n";
154 F_labels<<
"dotBetaP_11 [cs/b]\n";
155 F_labels<<
"dotBetaP_12 [cs/b]\n";
156 F_labels<<
"dotBetaP_13 [cs/b]\n";
157 F_labels<<
"dotBetaP_21 [cs/b]\n";
158 F_labels<<
"dotBetaP_22 [cs/b]\n";
159 F_labels<<
"dotBetaP_23 [cs/b]\n";
160 F_labels<<
"dotBetaP_31 [cs/b]\n";
161 F_labels<<
"dotBetaP_32 [cs/b]\n";
162 F_labels<<
"dotBetaP_33 [cs/b]\n";
163 F_labels<<
"tr(dotBetaP) [cs/b]\n";
164 F_labels<<
"norm(dotBetaP) [cs/b]\n";
167 this->
output(configIO,auxIO,f_file,F_labels);
170 if(this->
ddBase.simulationParameters.runID==0)
172 F_labels<<std::flush;
174 configIO.write(this->
ddBase.simulationParameters.runID,this->ddBase.simulationParameters.outputBinary);
175 auxIO.
write(this->
ddBase.simulationParameters.runID,this->ddBase.simulationParameters.outputBinary);
182 this->
ddBase.simulationParameters.totalTime+=this->
ddBase.simulationParameters.dt;
183 ++this->
ddBase.simulationParameters.runID;