Xyce
6.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
N_ANP_AnalysisEvent.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_ANP_AnalysisEvent.C,v $
27
// Purpose : AnalysisEvent info
28
// Special Notes :
29
// Creator :
30
// Creation Date :
31
//
32
// Revision Information:
33
// ---------------------
34
// Revision Number: $Revision: 1.1.4.1 $
35
// Revision Date : $Date: 2015/04/02 18:20:07 $
36
// Current Owner : $Author: tvrusso $
37
//-----------------------------------------------------------------------------
38
39
#include <Xyce_config.h>
40
41
#include <ostream>
42
43
#include <
N_ANP_AnalysisEvent.h
>
44
45
namespace
Xyce
{
46
namespace
Analysis {
47
48
std::ostream &
operator<<
(std::ostream &os,
const
AnalysisEvent::State
&state)
49
{
50
switch
(state) {
51
case
AnalysisEvent::INITIALIZE
:
52
os <<
"INITIALIZE"
;
53
break
;
54
55
case
AnalysisEvent::STEP_STARTED
:
56
os <<
"STEP_STARTED"
;
57
break
;
58
59
case
AnalysisEvent::STEP_SUCCESSFUL
:
60
os <<
"STEP_SUCCESSFUL"
;
61
break
;
62
63
case
AnalysisEvent::STEP_FAILED
:
64
os <<
"STEP_FAILED"
;
65
break
;
66
67
case
AnalysisEvent::FINISH
:
68
os <<
"FINISH"
;
69
break
;
70
}
71
72
return
os;
73
}
74
75
std::ostream &
operator<<
(std::ostream &os,
const
AnalysisEvent::OutputType
&type)
76
{
77
switch
(type) {
78
79
case
AnalysisEvent::DC
:
80
os <<
"DC"
;
81
break
;
82
83
case
AnalysisEvent::TRAN
:
84
os <<
"TRAN"
;
85
break
;
86
87
case
AnalysisEvent::AC
:
88
os <<
"AC"
;
89
break
;
90
91
case
AnalysisEvent::AC_IC
:
92
os <<
"AC_IC"
;
93
break
;
94
95
case
AnalysisEvent::HB_FD
:
96
os <<
"HB_FD"
;
97
break
;
98
99
case
AnalysisEvent::HB_TD
:
100
os <<
"HB_TD"
;
101
break
;
102
103
case
AnalysisEvent::HB_IC
:
104
os <<
"HB_IC"
;
105
break
;
106
107
case
AnalysisEvent::HB_STARTUP
:
108
os <<
"HB_STARTUP"
;
109
break
;
110
111
case
AnalysisEvent::DCOP
:
112
os <<
"DCOP"
;
113
break
;
114
115
case
AnalysisEvent::HOMOTOPY
:
116
os <<
"HOMOTOPY"
;
117
break
;
118
119
case
AnalysisEvent::MPDE
:
120
os <<
"MPDE"
;
121
break
;
122
123
case
AnalysisEvent::MPDE_IC
:
124
os <<
"MPDE_IC"
;
125
break
;
126
127
case
AnalysisEvent::SENS
:
128
os <<
"SENS"
;
129
break
;
130
}
131
132
return
os;
133
}
134
135
}
// namespace Analysis
136
137
template
<>
138
std::ostream &Dump<Analysis::AnalysisEvent>::dump(std::ostream &os)
const
139
{
140
// os << "AnalysisEvent "
141
// << "state_ " << t_.state_
142
// << ", outputType_ " << t_.outputType_
143
// << ", step_ " << t_.step_
144
// << ", count_ " << t_.count_ << std::endl;
145
146
return
os;
147
}
148
149
}
// namespace Xyce
Xyce::Analysis::AnalysisEvent::STEP_FAILED
Definition:
N_ANP_AnalysisEvent.h:60
Xyce::Analysis::AnalysisEvent::DCOP
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::STEP_SUCCESSFUL
Definition:
N_ANP_AnalysisEvent.h:60
Xyce::Analysis::AnalysisEvent::OutputType
OutputType
Definition:
N_ANP_AnalysisEvent.h:61
Xyce
Pure virtual class to augment a linear system.
Definition:
AnalysisPKG/index.dox:4
Xyce::Analysis::AnalysisEvent::AC
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::FINISH
Definition:
N_ANP_AnalysisEvent.h:60
Xyce::Analysis::operator<<
Util::JSON & operator<<(Util::JSON &json, const StatCounts &s)
Definition:
N_ANP_AnalysisBase.C:96
Xyce::Analysis::AnalysisEvent::TRAN
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::HOMOTOPY
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::INITIALIZE
Definition:
N_ANP_AnalysisEvent.h:60
Xyce::Analysis::AnalysisEvent::SENS
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::STEP_STARTED
Definition:
N_ANP_AnalysisEvent.h:60
Xyce::Analysis::AnalysisEvent::MPDE_IC
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::MPDE
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::HB_STARTUP
Definition:
N_ANP_AnalysisEvent.h:61
N_ANP_AnalysisEvent.h
Xyce::Analysis::AnalysisEvent::DC
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::HB_FD
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::HB_IC
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::State
State
Definition:
N_ANP_AnalysisEvent.h:60
Xyce::Analysis::AnalysisEvent::HB_TD
Definition:
N_ANP_AnalysisEvent.h:61
Xyce::Analysis::AnalysisEvent::AC_IC
Definition:
N_ANP_AnalysisEvent.h:61
src
AnalysisPKG
src
N_ANP_AnalysisEvent.C
Generated on Wed May 6 2015 14:34:29 for Xyce by
1.8.9.1