SEBlackBox.h
22#define MAP_ELECTRICAL_BLACK_BOX SEElectricalBlackBox,SEElectricalCircuitNode, SEElectricalCircuitPath
57 virtual void ImposePotential(double v, const PotentialUnit& unit) { m_MiddleNode->ImposePotential(v, unit); }
58 virtual void ImposePotential(const PotentialScalar& s) { return m_MiddleNode->ImposePotential(s); }
59 virtual double GetPotential(const PotentialUnit& unit) const { return m_MiddleNode->GetNextPotential().GetValue(unit); }
63 virtual void ImposeSourcePotential(double v, const PotentialUnit& unit) { m_SourceNode->ImposePotential(v, unit); }
64 virtual void ImposeSourcePotential(const PotentialScalar& s) { return m_SourceNode->ImposePotential(s); }
65 virtual double GetSourcePotential(const PotentialUnit& unit) const { return m_SourceNode->GetNextPotential().GetValue(unit); }
69 virtual void ImposeTargetPotential(double v, const PotentialUnit& unit) { m_TargetNode->ImposePotential(v, unit); }
70 virtual void ImposeTargetPotential(const PotentialScalar& s) { return m_TargetNode->ImposePotential(s); }
71 virtual double GetTargetPotential(const PotentialUnit& unit) const { return m_TargetNode->GetNextPotential().GetValue(unit); }
75 virtual void ImposeSourceFlux(double v, const FluxUnit& unit) { m_SourcePath->ImposeFlux(v, unit); }
77 virtual double GetSourceFlux(const FluxUnit& unit) const { return m_SourcePath->GetNextFlux().GetValue(unit); }
81 virtual void ImposeTargetFlux(double v, const FluxUnit& unit) { m_TargetPath->ImposeFlux(v, unit); }
83 virtual double GetTargetFlux(const FluxUnit& unit) const { return m_TargetPath->GetNextFlux().GetValue(unit); }
87 virtual void ImposeQuantity(double v, const QuantityUnit& unit) { m_MiddleNode->ImposeQuantity(v, unit); }
89 virtual double GetQuantity(const QuantityUnit& unit) const { return m_MiddleNode->GetNextQuantity().GetValue(unit); }
Definition: CommonDataModelTest.h:26
Definition: Logger.h:23
Definition: Logger.h:71
Definition: SEBlackBox.h:42
virtual void ImposeTargetFlux(double v, const FluxUnit &unit)
Definition: SEBlackBox.h:81
virtual void ImposeSourceFlux(const FluxScalar &s)
Definition: SEBlackBox.h:76
virtual void ImposeTargetPotential(double v, const PotentialUnit &unit)
Definition: SEBlackBox.h:69
virtual void ImposeQuantity(const QuantityScalar &s)
Definition: SEBlackBox.h:88
virtual void ImposePotential(double v, const PotentialUnit &unit)
Definition: SEBlackBox.h:57
virtual double GetQuantity(const QuantityUnit &unit) const
Definition: SEBlackBox.h:89
virtual void ImposeQuantity(double v, const QuantityUnit &unit)
Definition: SEBlackBox.h:87
virtual double GetSourceFlux(const FluxUnit &unit) const
Definition: SEBlackBox.h:77
virtual void ImposeSourceFlux(double v, const FluxUnit &unit)
Definition: SEBlackBox.h:75
virtual double GetPotential(const PotentialUnit &unit) const
Definition: SEBlackBox.h:59
virtual double GetTargetFlux(const FluxUnit &unit) const
Definition: SEBlackBox.h:83
virtual void RemoveImposedTargetPotential()
Definition: SEBlackBox.h:67
virtual void ImposeTargetPotential(const PotentialScalar &s)
Definition: SEBlackBox.h:70
SEBlackBox(const std::string &name, Logger *logger)
Definition: SEBlackBox.h:47
virtual void ImposeSourcePotential(double v, const PotentialUnit &unit)
Definition: SEBlackBox.h:63
virtual bool IsTargetPotentialImposed() const
Definition: SEBlackBox.h:68
virtual void ImposeTargetFlux(const FluxScalar &s)
Definition: SEBlackBox.h:82
virtual void ImposeSourcePotential(const PotentialScalar &s)
Definition: SEBlackBox.h:64
virtual void RemoveImposedTargetFlux()
Definition: SEBlackBox.h:79
virtual double GetTargetPotential(const PotentialUnit &unit) const
Definition: SEBlackBox.h:71
virtual bool IsSourcePotentialImposed() const
Definition: SEBlackBox.h:62
virtual double GetSourcePotential(const PotentialUnit &unit) const
Definition: SEBlackBox.h:65
virtual void RemoveImposedSourcePotential()
Definition: SEBlackBox.h:61
virtual void ImposePotential(const PotentialScalar &s)
Definition: SEBlackBox.h:58
virtual void RemoveImposedSourceFlux()
Definition: SEBlackBox.h:73
Definition: SEBlackBoxManager.h:11
Definition: SECircuitCalculator.h:24