23 typedef std::shared_ptr<TopologicalNode>
Ptr;
24 typedef std::vector<Ptr>
List;
AttributePointer< Attribute< T > > Ptr
String uid()
Returns unique id.
virtual UInt matrixNodeIndex(PhaseType phaseType=PhaseType::Single)=0
virtual ~TopologicalNode()
void setInitialVoltage(MatrixComp voltage) const
const Attribute< MatrixComp >::Ptr mInitialVoltage
PhaseType phaseType() const
virtual void setMatrixNodeIndex(UInt phase, UInt matrixNodeIndex)=0
virtual std::vector< UInt > matrixNodeIndices()=0
std::shared_ptr< TopologicalNode > Ptr
Complex initialSingleVoltage(PhaseType phaseType=PhaseType::Single)
MatrixComp initialVoltage() const
std::complex< Real > Complex
Eigen::Matrix< Complex, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > MatrixComp
Dense matrix for complex numbers.