Xyce
6.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
N_DEV_ExternalSimulationData.h
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-2014 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$
27
//
28
// Purpose : This is a container class for solver information that is
29
// used during coupled simulation runs. The outer code
30
// will populate this struct and pass it into a xyce
31
// inner solve using the simulateStep method on N_CIR_Xyce.
32
//
33
//
34
// Special Notes :
35
//
36
// Creator : Roger P. Pawlowski, SNL, Applied Math and Applications
37
//
38
// Creation Date : 07/16/2009
39
//
40
// Revision Information:
41
// ---------------------
42
//
43
// Revision Number: $Revision$
44
//
45
// Revision Date : $Date$
46
//
47
// Current Owner : $Author$
48
//-----------------------------------------------------------------------------
49
50
51
#ifndef Xyce_N_DEV_ExternalSimulationData_h
52
#define Xyce_N_DEV_ExternalSimulationData_h
53
54
#include <map>
55
#include <string>
56
#include <vector>
57
58
namespace
Xyce {
59
namespace
Device {
60
61
struct
ExternalSimulationData
62
{
63
bool
is_transient
;
64
double
current_time
;
65
double
final_time
;
66
double
current_time_step_size
;
67
double
previous_time_step_size
;
68
int
time_step_number
;
69
70
// From N_TIA_TimeIntInfo - copying all for now -- RWH
71
int
currentOrder
;
72
int
numberOfSteps
;
73
int
usedOrder
;
74
int
nscsco
;
75
76
double
pdt
;
77
double
nextTimeStep
;
78
double
currTimeStep
;
79
double
currentTime
;
80
double
nextTime
;
81
double
finalTime
;
82
double
startingTimeStep
;
83
double
bpTol
;
84
bool
dcopFlag
;
85
bool
acopFlag
;
86
bool
inputOPFlag
;
87
bool
tranopFlag
;
88
bool
transientFlag
;
89
bool
dcsweepFlag
;
90
int
timeStepNumber
;
91
bool
initTranFlag
;
92
bool
beginIntegrationFlag
;
93
int
doubleDCOPStep
;
94
bool
doubleDCOPEnabled
;
95
int
stepLoopIter
;
96
int
timeIntMode
;
97
bool
sweepSourceResetFlag
;
98
};
99
100
}
// namespace Device
101
}
// namespace Xyce
102
103
typedef
Xyce::Device::ExternalSimulationData
N_DEV_ExternalSimulationData
;
104
105
#endif
106
src
DeviceModelPKG
Core
include
N_DEV_ExternalSimulationData.h
Generated on Mon Mar 24 2014 10:54:35 for Xyce by
1.8.3.1