Xyce  6.1
N_TIA_TimeIntInfo.C
Go to the documentation of this file.
1 //-----------------------------------------------------------------------------
2 // Copyright Notice
3 //
4 // Copyright 2002 Sandia Corporation. Under the terms
5 // of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S.
6 // Government retains certain rights in this software.
7 //
8 // Xyce(TM) Parallel Electrical Simulator
9 // Copyright (C) 2002-2015 Sandia Corporation
10 //
11 // This program is free software: you can redistribute it and/or modify
12 // it under the terms of the GNU General Public License as published by
13 // the Free Software Foundation, either version 3 of the License, or
14 // (at your option) any later version.
15 //
16 // This program is distributed in the hope that it will be useful,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 // GNU General Public License for more details.
20 //
21 // You should have received a copy of the GNU General Public License
22 // along with this program. If not, see <http://www.gnu.org/licenses/>.
23 //-----------------------------------------------------------------------------
24 
25 //-----------------------------------------------------------------------------
26 // Filename : $RCSfile: N_TIA_TimeIntInfo.C,v $
27 // Purpose :
28 // Special Notes :
29 // Creator : Eric Keiter
30 // Creation Date : 1/29/07
31 // Revision Information:
32 // ---------------------
33 //
34 // Revision Number: $Revision: 1.6.2.1 $
35 //
36 // Revision Date : $Date: 2015/04/02 18:20:18 $
37 //
38 // Current Owner : $Author: tvrusso $
39 //-----------------------------------------------------------------------------
40 
41 #include <Xyce_config.h>
42 
43 #include <iostream>
44 
45 #include <N_TIA_TimeIntInfo.h>
46 #include <N_ERH_ErrorMgr.h>
47 
48 namespace Xyce {
49 namespace TimeIntg {
50 
51 //-----------------------------------------------------------------------------
52 // Function : operator<<
53 // Purpose : "<<" operator for two-level info class.
54 // Special Notes :
55 // Scope : public
56 // Creator : Eric R. Keiter, SNL, Parallel Computational Sciences
57 // Creation Date : 1/29/07
58 //-----------------------------------------------------------------------------
59 std::ostream & operator<<(std::ostream & os, const TimeIntInfo & tiInfo)
60 {
61  os << Xyce::section_divider << std::endl
62  << "\tTimeIntInfo:\n"
63  << "\tcurrentOrder = " << tiInfo.currentOrder << "\n"
64  << "\tnumberOfSteps = " << tiInfo.numberOfSteps << "\n"
65  << "\tusedOrder = " << tiInfo.usedOrder << "\n"
66  << "\tnscsco = " << tiInfo.nscsco << "\n"
67  << "\tpdt = " << tiInfo.pdt << "\n"
68  << "\tnextTimeStep = " << tiInfo.nextTimeStep << "\n"
69  << "\tcurrTimeStep = " << tiInfo.currTimeStep << "\n"
70  << "\tnextTime = " << tiInfo.nextTime << "\n"
71  << "\tcurrentTime = " << tiInfo.currentTime << "\n"
72  << "\tfinalTime = " << tiInfo.finalTime << "\n"
73  << "\tstartingTimeStep = " << tiInfo.startingTimeStep << "\n"
74  << "\tbpTol = " << tiInfo.bpTol << "\n"
75  << "\tdcopFlag = " << tiInfo.dcopFlag << "\n"
76  << "\tacopFlag = " << tiInfo.acopFlag << "\n"
77  << "\tinputOPFlag = " << tiInfo.inputOPFlag << "\n"
78  << "\ttranopFlag = " << tiInfo.tranopFlag << "\n"
79  << "\ttransientFlag = " << tiInfo.transientFlag << "\n"
80  << "\tdcsweepFlag = " << tiInfo.dcsweepFlag << "\n"
81  << "\tsweepSourceResetFlag = " << tiInfo.sweepSourceResetFlag << "\n"
82  << "\ttimeStepNumber = " << tiInfo.timeStepNumber << "\n"
83  << "\tinitTranFlag = " << tiInfo.initTranFlag << "\n"
84  << "\tbeginIntegrationFlag = " << tiInfo.beginIntegrationFlag << "\n"
85  << "\tdoubleDCOPStep = " << tiInfo.doubleDCOPStep << "\n"
86  << "\tdoubleDCOPEnabled = " << tiInfo.doubleDCOPEnabled << "\n"
87  << Xyce::section_divider << std::endl
88  << std::endl;
89 
90  return os;
91 }
92 
93 } // namespace TimeIntg
94 } // namespace Xyce
bool dcopFlag
Analysis DCOP flag.
double finalTime
Step error control final time.
bool tranopFlag
Analysis TransientOP flag.
int numberOfSteps
Time integrator step.
Pure virtual class to augment a linear system.
bool inputOPFlag
Analysis InputOP flag.
double nextTimeStep
Step error control next time step.
double nextTime
Step error control next time.
double bpTol
Step error control breakpoint tolerance.
std::ostream & operator<<(std::ostream &os, const StepErrorControl &sec)
int usedOrder
Time integrator used order.
double currentTime
Step error control current time.
int nscsco
Time integrator ?nscsco?
bool acopFlag
Analysis ACOP flag.
double pdt
Time integrator partial time deriviative.
double startingTimeStep
Step error control starting time step.
double currTimeStep
Step error control current time step.
int currentOrder
Time integrator order.