Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CLASS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sens
CLASS
Commits
dc907c7a
Commit
dc907c7a
authored
10 years ago
by
BaM
Browse files
Options
Downloads
Patches
Plain Diff
del PhysicModel
git-svn-id:
svn+ssh://svn.in2p3.fr/class@377
0e7d625b-0364-4367-a6be-d5be4a48d228
parent
61cc2f81
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/branches/CLASSV3/include/PhysicModels.hxx
+0
-86
0 additions, 86 deletions
source/branches/CLASSV3/include/PhysicModels.hxx
source/branches/CLASSV3/src/PhysicModels.cxx
+0
-50
0 additions, 50 deletions
source/branches/CLASSV3/src/PhysicModels.cxx
with
0 additions
and
136 deletions
source/branches/CLASSV3/include/PhysicModels.hxx
deleted
100644 → 0
+
0
−
86
View file @
61cc2f81
#ifndef _PHYSICMODELS_HXX
#define _PHYSICMODELS_HXX
/*!
\file
\brief Header file for XS_INTERPOLATOR class.
@authors BLG,BaM
@version 1.0
*/
#include
"CLASSFuel.hxx"
#include
"EquivalenceModel.hxx"
#include
"XSModel.hxx"
#include
"IrradiationModel.hxx"
#include
"EvolutionData.hxx"
using
namespace
std
;
typedef
long
long
int
cSecond
;
//-----------------------------------------------------------------------------//
/*!
Define all the physic models used for a specific database
The 2 following are data base related (for one Reactor and one fuel type and one ...) :
User can either define his own (see manual) or uses the provided ones ) :
XS_Interpolator = Closest , MLP ....
Equivalence_Model = Linear,Quadratique, MLP ...
this one is bateman solvers related :
(or it may be link to a evolution code (like MURE), not yet implemented but envisaged)
IrradiationModel = RK4 or Matrix
@authors BLG,BaM
@version 1.0
*/
//________________________________________________________________________
class
PhysicModels
:
public
CLASSFuel
{
public
:
/*!
\name Constructor/Desctructor
*/
//@{
PhysicModels
();
PhysicModels
(
XSModel
*
XS
,
EquivalenceModel
*
EM
,
IrradiationModel
*
IM
);
PhysicModels
(
CLASSLogger
*
log
,
XSModel
*
XS
,
EquivalenceModel
*
EM
,
IrradiationModel
*
IM
);
~
PhysicModels
()
{;}
//{
EvolutionData
GenerateEvolutionData
(
IsotopicVector
IV
,
double
cycletime
,
double
Power
);
XSModel
*
GetXSModel
()
{
return
fXSModel
;}
EquivalenceModel
*
GetEquivalenceModel
()
{
return
fEquivalenceModel
;}
IrradiationModel
*
GetIrradiationModel
()
{
return
fIrradiationModel
;}
PhysicModels
*
GetPhysicModels
()
{
return
this
;}
private
:
XSModel
*
fXSModel
;
EquivalenceModel
*
fEquivalenceModel
;
IrradiationModel
*
fIrradiationModel
;
};
#endif
This diff is collapsed.
Click to expand it.
source/branches/CLASSV3/src/PhysicModels.cxx
deleted
100644 → 0
+
0
−
50
View file @
61cc2f81
#include
"PhysicModels.hxx"
//________________________________________________________________________
//
// PhysicModels
//
//
//
//
//________________________________________________________________________
PhysicModels
::
PhysicModels
()
:
CLASSFuel
()
{
fXSModel
=
0
;
fEquivalenceModel
=
0
;
fIrradiationModel
=
0
;
}
//________________________________________________________________________
PhysicModels
::
PhysicModels
(
XSModel
*
XS
,
EquivalenceModel
*
EM
,
IrradiationModel
*
IM
)
:
CLASSFuel
()
{
fXSModel
=
XS
;
fEquivalenceModel
=
EM
;
fIrradiationModel
=
IM
;
}
//________________________________________________________________________
PhysicModels
::
PhysicModels
(
CLASSLogger
*
log
,
XSModel
*
XS
,
EquivalenceModel
*
EM
,
IrradiationModel
*
IM
)
:
CLASSFuel
(
log
)
{
fXSModel
=
XS
;
fEquivalenceModel
=
EM
;
fIrradiationModel
=
IM
;
}
//________________________________________________________________________
EvolutionData
PhysicModels
::
GenerateEvolutionData
(
IsotopicVector
IV
,
double
cycletime
,
double
Power
)
{
return
fIrradiationModel
->
GenerateEvolutionData
(
IV
,
fXSModel
->
GetCrossSections
(
IV
),
Power
,
cycletime
);
}
//________________________________________________________________________
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment