Interface class for components that connect to a shaft. More...
#include <ShaftConnectable.h>
Public Member Functions | |
ShaftConnectable (const Component *const component) | |
virtual void | checkShaftConnection (const Component *const component) const |
virtual VariableName | getMomentofInertiaVariableName () const |
virtual VariableName | getTorqueVariableName () const |
virtual UserObjectName | getShaftConnectedUserObjectName () const |
virtual void | setShaftName (const std::string &name) const |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Attributes | |
VariableName | _moment_of_inertia_var_name |
Moment of inertia variable name. More... | |
VariableName | _torque_var_name |
Torque of variable name. More... | |
UserObjectName | _user_object_name |
Shaft-connectable user object name. More... | |
std::string | _shaft_name |
Name of the shaft component. More... | |
bool | _connected_to_shaft |
Flag indicating that a shaft has this component connected. More... | |
Interface class for components that connect to a shaft.
Definition at line 19 of file ShaftConnectable.h.
ShaftConnectable::ShaftConnectable | ( | const Component *const | component | ) |
Definition at line 20 of file ShaftConnectable.C.
Definition at line 29 of file ShaftConnectable.C.
Referenced by ShaftConnectedMotor::check(), ShaftConnectedTurbine1Phase::check(), ShaftConnectedPump1Phase::check(), and ShaftConnectedCompressor1Phase::check().
|
virtual |
Definition at line 36 of file ShaftConnectable.C.
|
virtual |
Reimplemented in ShaftConnectedCompressor1Phase, ShaftConnectedPump1Phase, and ShaftConnectedTurbine1Phase.
Definition at line 48 of file ShaftConnectable.C.
Referenced by ShaftConnectedMotor::addMooseObjects().
|
virtual |
Definition at line 42 of file ShaftConnectable.C.
|
virtual |
Definition at line 54 of file ShaftConnectable.C.
Referenced by Shaft::init().
|
static |
Definition at line 14 of file ShaftConnectable.C.
Referenced by ShaftConnectedMotor::validParams(), ShaftConnectedTurbine1Phase::validParams(), ShaftConnectedPump1Phase::validParams(), and ShaftConnectedCompressor1Phase::validParams().
|
mutableprotected |
Flag indicating that a shaft has this component connected.
Definition at line 40 of file ShaftConnectable.h.
Referenced by checkShaftConnection(), and setShaftName().
|
protected |
Moment of inertia variable name.
Definition at line 32 of file ShaftConnectable.h.
Referenced by ShaftConnectedCompressor1Phase::addMooseObjects(), ShaftConnectedPump1Phase::addMooseObjects(), ShaftConnectedTurbine1Phase::addMooseObjects(), ShaftConnectedTurbine1Phase::addVariables(), ShaftConnectedCompressor1Phase::addVariables(), ShaftConnectedPump1Phase::addVariables(), and getMomentofInertiaVariableName().
|
mutableprotected |
Name of the shaft component.
Definition at line 38 of file ShaftConnectable.h.
Referenced by ShaftConnectedMotor::addMooseObjects(), ShaftConnectedCompressor1Phase::buildVolumeJunctionUserObject(), ShaftConnectedTurbine1Phase::buildVolumeJunctionUserObject(), ShaftConnectedPump1Phase::buildVolumeJunctionUserObject(), and setShaftName().
|
protected |
Torque of variable name.
Definition at line 34 of file ShaftConnectable.h.
Referenced by getTorqueVariableName().
|
protected |
Shaft-connectable user object name.
Definition at line 36 of file ShaftConnectable.h.
Referenced by getShaftConnectedUserObjectName().