Template Class Capacitor

Inheritance Relationships

Base Type

Class Documentation

template<class ScalarT, typename IdxT>
class Capacitor : public GridKit::CircuitComponent<ScalarT, IdxT>

Declaration of a Capacitor class.

Public Functions

virtual int evaluateInternalResidual() final

Evaluate all of the residuals of internal variables of the component, modifying f_.

Returns:

An error code, or 0 if successful.

virtual int evaluateExternalResidual() final

Evaluate all of the residuals of external variables of the component, modifying f_.

Returns:

An error code, or 0 if successful.