SECompartmentNodes.h
6#define COMPARTMENT_NODE_TEMPLATE typename NodeType, typename PotentialScalar, typename PotentialUnit, typename QuantityScalar, typename QuantityUnit
7#define COMPARTMENT_NODE_TYPES NodeType, PotentialScalar, PotentialUnit, QuantityScalar, QuantityUnit
8#define ELECTRICAL_COMPARTMENT_NODE SEElectricalCircuitNode, SEScalarElectricPotential, ElectricPotentialUnit, SEScalarElectricCharge, ElectricChargeUnit
9#define FLUID_COMPARTMENT_NODE SEFluidCircuitNode, SEScalarPressure, PressureUnit, SEScalarVolume, VolumeUnit
10#define THERMAL_COMPARTMENT_NODE SEThermalCircuitNode, SEScalarTemperature, TemperatureUnit, SEScalarEnergy, EnergyUnit
Definition: Logger.h:23
Definition: Logger.h:71
Definition: PBCompartment.h:28
Definition: SECompartmentNodes.h:14
std::vector< NodeType * > m_AllNodes
Definition: SECompartmentNodes.h:50
virtual bool HasPotential() const
Definition: SECompartmentNodes.cpp:72
virtual bool HasMapping(const NodeType &n) const
Definition: SECompartmentNodes.h:25
virtual QuantityScalar & GetQuantity()
Definition: SECompartmentNodes.cpp:45
virtual const std::vector< NodeType * > & GetNodes() const
Definition: SECompartmentNodes.h:32
virtual void RemoveNode(NodeType &node)
Definition: SECompartmentNodes.cpp:38
SECompartmentNodes(Logger *logger)
Definition: SECompartmentNodes.cpp:9
virtual PotentialScalar & GetPotential()
Definition: SECompartmentNodes.cpp:80
std::vector< NodeType * > m_QuantityNodes
Definition: SECompartmentNodes.h:49
virtual ~SECompartmentNodes()
Definition: SECompartmentNodes.cpp:16
virtual void MapNode(NodeType &node)
Definition: SECompartmentNodes.cpp:31
virtual const std::vector< NodeType * > & GetQuantityNodes() const
Definition: SECompartmentNodes.h:33