Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CLASS
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
BaM
CLASS
Commits
7fdd3f89
Commit
7fdd3f89
authored
8 years ago
by
Nico
Committed by
BaM
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add Reactor::GetPhysicsModel function...
parent
1b5c2828
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/include/Reactor.hxx
+6
-3
6 additions, 3 deletions
source/include/Reactor.hxx
source/src/Reactor.cxx
+4
-0
4 additions, 0 deletions
source/src/Reactor.cxx
with
10 additions
and
3 deletions
source/include/Reactor.hxx
+
6
−
3
View file @
7fdd3f89
...
...
@@ -201,14 +201,15 @@ class Reactor : public CLASSFacility
double
GetBurnUp
()
const
{
return
fBurnUp
;
}
//!< Return the Burn Up of the Fuel at the end of the cycle
double
GetCapacityFactor
()
const
{
return
fCapacityFactor
;
}
//!< Return the capacity factor of the reactor
double
GetPower
()
const
{
return
fPower
;
}
//!< Return the cycle time of the Reactor
PhysicsModels
*
GetPhysicModel
()
const
{
return
fReactorPhysicModel
;
}
//!< Return the physic model of the Reactor
#ifndef __CINT__
EvolutionData
GetEvolutionDB
()
const
{
return
fEvolutionDB
;
}
//!< Return the Evolution database of the fuel
CLASSBackEnd
*
GetOutBackEndFacility
()
const
{
return
fOutBackEndFacility
;
}
//!< Return the pointer to Associeted BackEnd Facility
FabricationPlant
*
GetFabricationPlant
()
const
{
return
fFabricationPlant
;
}
//!< Return the pointer to the FabricationPlant
ReactorScheduler
*
GetScheduler
()
const
{
return
fReactorScheduler
;
}
//!< return the ReactorScheduler
#endif
...
...
@@ -298,7 +299,9 @@ class Reactor : public CLASSFacility
double
fElectricPower
;
///< ElectrocPower (in Watt)
double
fEfficiencyFactor
;
///< ElectrocPower (in Watt)
double
fCapacityFactor
;
///< Capacity factor [0-1]
PhysicsModels
*
fReactorPhysicModel
;
///< Physic Model defined in the reactor
IsotopicVector
fIVBeginCycle
;
///< Fuel IV at the beginning of a cycle
IsotopicVector
fIVInCycle
;
///< IVBegin add at the beginning of the cycle
IsotopicVector
fIVOutCycle
;
///< IV wich get out at the end of a cycle
...
...
This diff is collapsed.
Click to expand it.
source/src/Reactor.cxx
+
4
−
0
View file @
7fdd3f89
...
...
@@ -158,6 +158,8 @@ Reactor::Reactor(CLASSLogger* log, PhysicsModels* fueltypeDB, FabricationPlant*
fIsStarted
=
false
;
fIsShutDown
=
false
;
fIsAtEndOfCycle
=
false
;
fReactorPhysicModel
=
fueltypeDB
;
fFabricationPlant
=
fabricationplant
;
...
...
@@ -207,6 +209,8 @@ Reactor::Reactor(CLASSLogger* log, PhysicsModels* fueltypeDB,
fIsAtEndOfCycle
=
false
;
fStorage
=
0
;
fReactorPhysicModel
=
fueltypeDB
;
fFabricationPlant
=
fabricationplant
;
fFixedFuel
=
false
;
...
...
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