Line data Source code
1 : #include "Cell.hpp" 2 : 3 : namespace cell 4 : { 5 : 6 9 : Cell::Cell(Membrane membrane, SimulationContext simulationContext) 7 9 : : Compartment(nullptr, std::move(membrane), std::move(simulationContext)) 8 : { 9 9 : } 10 : 11 0 : double Cell::getInitialKineticEnergy() const 12 : { 13 0 : return initialKineticEnergy_; 14 : } 15 : 16 0 : double Cell::getCurrentKineticEnergy() const 17 : { 18 0 : return currentKineticEnergy_; 19 : } 20 : 21 : } // namespace cell