Skip to content
Snippets Groups Projects
Commit 7fdd3f89 authored by Nico's avatar Nico Committed by BaM
Browse files

add Reactor::GetPhysicsModel function...

parent 1b5c2828
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment