Xyce  6.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
N_DEV_fwd.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-2011 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_DEV_fwd.h,v $
27 //
28 // Purpose : Forward declarations
29 //
30 // Special Notes : Forward declaring everything as a class breaks if the implementation of the type changes (like during
31 // templatization)
32 //
33 // Creator : David G. Baur Raytheon Sandia National Laboratories 1355
34 //
35 // Creation Date : 2013/04/18 18:01:27
36 //
37 // Revision Information:
38 // ---------------------
39 //
40 // Revision Number: $Revision: 1.30.2.1 $
41 //
42 // Revision Date : $Date: 2014/08/13 20:36:35 $
43 //
44 // Current Owner : $Author: dgbaur $
45 //-------------------------------------------------------------------------
46 
47 #ifndef Xyce_N_DEV_fwd_h
48 #define Xyce_N_DEV_fwd_h
49 
50 #include <map>
51 #include <string>
52 #include <utility>
53 #include <vector>
54 
55 #include <N_UTL_NameLevelKey.h>
56 #include <N_UTL_NoCase.h>
57 #include <N_UTL_TypeIndex.h>
58 
59 namespace Xyce {
60 namespace Device {
61 
62 class CompositeParam;
63 class Configuration;
64 class Depend;
65 class Descriptor;
66 class Device;
67 class DeviceBuilder;
68 class DeviceEntity;
69 class DeviceInstance;
70 class DeviceInterface;
71 class DeviceMgr;
72 class DeviceModel;
73 class DeviceOptions;
74 class DeviceSensitivities;
75 class DeviceState;
76 class DeviceSupport;
77 class InstanceName;
78 class ExternalSimulationData;
79 class ExternCodeInterface;
80 class ExternData;
81 class FactoryBlock;
82 class InstanceBlock;
83 class MatrixLoadData;
84 class ModelBlock;
85 class NumericalJacobian;
86 class Param;
87 class ParameterBase;
88 class Region;
89 class RegionData;
90 class RxnRegion;
91 class RxnRegion2;
92 class RxnRegionData;
93 
94 class SolverState;
95 class Globals;
96 class SourceInstance;
97 class XyceInterface;
98 
99 class ACData;
100 class ConstData;
101 class ExpData;
102 class PWLinData;
103 class PulseData;
104 class SFFMData;
105 class SinData;
106 class SmoothData;
107 class SmoothPulseData;
108 class SourceData;
109 
110 class DevicePDEInstance;
111 class DevicePDEModel;
112 
113 class PDE_Electrode;
114 class PDE_1DElectrode;
115 class PDE_2DElectrode;
116 
117 class XygraCoilData;
118 
119 class SpecieSource;
120 
121 class ScalingVars;
122 
123 class DeviceMgrGlobalParameterOp;
124 
125 
126 namespace Xygra {
127 class Instance;
128 class Model;
129 }
130 
131 namespace ExternDevice {
132 class Instance;
133 class Model;
134 }
135 
136 namespace Vsrc {
137 class Instance;
138 class Model;
139 }
140 
141 typedef type_index EntityTypeId;
142 typedef type_index ModelTypeId;
143 typedef type_index InstanceTypeId;
144 
145 typedef std::string ModelName;
146 
147 typedef std::map<std::string, Descriptor *, LessNoCase> ParameterMap;
148 typedef std::map<std::string, CompositeParam *> CompositeMap;
149 typedef std::vector<CompositeParam *> CompositeVector;
150 typedef std::map<std::string, double, LessNoCase> GlobalParameterMap;
151 
152 typedef std::map<EntityTypeId, Device *> EntityTypeIdDeviceMap;
153 
154 struct ModelGroupLeadTraits;
155 
156 template <class M, class I, class G = ModelGroupLeadTraits>
157 class DeviceTraits;
158 
159 template <class T>
160 class DeviceMaster;
161 
162 template <class T>
163 class Config;
164 
165 } // namespace Device
166 } // namespace Xyce
167 
169 typedef Xyce::Device::DeviceBuilder N_DEV_DeviceBuilder;
180 typedef Xyce::Device::ExternCodeInterface N_DEV_ExternCodeInterface;
189 typedef Xyce::Device::RxnRegion N_DEV_RxnRegion;
190 typedef Xyce::Device::RxnRegion2 N_DEV_RxnRegion2;
191 typedef Xyce::Device::RxnRegionData N_DEV_RxnRegionData;
194 typedef Xyce::Device::XyceInterface N_DEV_XyceInterface;
195 
197 typedef Xyce::Device::SmoothData N_DEV_SmoothData;
206 
209 
213 
216 
218 
220 
222 
223 typedef Xyce::Device::ExternDevice::Instance N_DEV_ExternDeviceInstance;
224 typedef Xyce::Device::ExternDevice::Model N_DEV_ExternDeviceModel;
225 
226 #endif // Xyce_N_DEV_fwd_h