Template Class NodeBase

Inheritance Relationships

Base Type

Derived Types

Class Documentation

template<typename ScalarT, typename IdxT>
class NodeBase : public GridKit::Model::Evaluator<ScalarT, IdxT>

Subclassed by GridKit::PowerElectronics::Bus< ScalarT, IdxT >, GridKit::PowerElectronics::GroundedBus< ScalarT, IdxT >, GridKit::PowerElectronics::MicrogridBus< ScalarT, IdxT >, GridKit::PowerElectronics::SignalNode< ScalarT, IdxT >

Public Functions

inline virtual bool hasJacobian() final

Is the Jacobian defined. Used in IDA to determine wether DQ is used or not.

Returns:

true

Returns:

false

inline int setExternalConnectionNodes(IdxT local_index, IdxT global_index)

Create the mappings from local to global indices.

Parameters:
  • local_index

  • global_index

Returns:

int

inline IdxT getNodeConnection(IdxT local_index) const

Given the location of value in the local vector map to global index.

f(local_index) = global_index

Parameters:

local_index – index of local value in vector

Returns:

IdxT Index of the same value in the global vector