47 #include <Xyce_config.h>
52 #include <N_UTL_Misc.h>
66 #include <N_ERH_ErrorMgr.h>
67 #include <N_LAS_MultiVector.h>
68 #include <N_LAS_System.h>
69 #include <N_LAS_Vector.h>
110 const unsigned int integration_method,
115 workingIntegMethod(integration_method),
154 const unsigned int integration_method)
156 #ifdef Xyce_DEBUG_TIME
157 Xyce::dout() <<
"\n ********** createTimeIntegMethod Function Called" << std::endl;
165 switch(integration_method)
185 Xyce::Report::DevelFatal0() <<
"N_TIA_WorkingIntegrationMethod::createTimeIntegMethod. Invalid integration method "
186 << integration_method
195 #ifdef Xyce_VERBOSE_TIME
213 os <<
" Integration method = ";
221 os <<
"Backward Differentiation 15\n";
224 os <<
"Onestep: Trapezoidal\n";
230 Xyce::Report::DevelFatal() <<
"N_TIA_WorkingIntegrationMethod::printWorkingIntegMethod(): Time Integration method not specified correctly.\n";
285 Xyce::Report::UserWarning() <<
"Excessively small current time step, incorrectly returning with large value";
302 std::string msg =
"N_TIA_ControlMethod::obtainResidual";
303 msg +=
" The current algorithm does not have an implemented";
304 msg +=
" obtainResidual function.\n";
305 N_ERH_ErrorMgr::report(N_ERH_ErrorMgr::DEV_FATAL_0, msg);
318 std::string msg =
"N_TIA_ControlMethod::obtainSensitivityResiduals";
319 msg +=
" The current algorithm does not have an implemented";
320 msg +=
" obtainSensitivityResiduals function.\n";
321 N_ERH_ErrorMgr::report(N_ERH_ErrorMgr::DEV_FATAL_0, msg);
334 std::string msg =
"N_TIA_ControlMethod::loadFinalSensitivityDerivatives";
335 msg +=
" The current algorithm does not have an implemented";
336 msg +=
" loadFinalSensitivityDerivatives function.\n";
337 N_ERH_ErrorMgr::report(N_ERH_ErrorMgr::DEV_FATAL_0, msg);
388 N_LAS_Vector * solnVecPtr,
389 const bool doNotInterpolate,
390 const std::vector<double> & outputInterpolationTimes,
391 bool skipPrintLineOutput )
393 #ifdef Xyce_DEBUG_TIME
394 Xyce::dout() <<
"Calling conventional outputs!" << std::endl;
397 outputManagerAdapter.
tranOutput( time, *solnVecPtr,
402 skipPrintLineOutput);
420 N_LAS_Vector * solnVecPtr,
421 const double saveTime,
422 const bool doNotInterpolate)
424 outputManagerAdapter.
outputDCOP( *(solnVecPtr) );