31 PortSettings(std::string portName, std::string excitationTarget, std::string excitationAxis, std::string excitationSignal);
45 return _sourceTypeName.at(_excitationTarget);
50 return _sourceAxisName.at(_excitationAxis);
61 std::string _portName;
67 std::string _excitationTarget;
68 std::string _excitationAxis;
69 std::string _excitationSignalName;
73 bool _locationInCentre =
true;
76 std::string _specializedPortProperties;
78 std::map<std::string, sourceType> _sourceTypeName{ {EntitySolverPort::GetValueExcitationTargetE() ,
e }, {EntitySolverPort::GetValueExcitationTargetH(),
h} };
79 std::map<std::string, axis> _sourceAxisName{ {EntitySolverPort::GetValueExcitationAxisX(),
x_axis }, {EntitySolverPort::GetValueExcitationAxisY(),
y_axis },{EntitySolverPort::GetValueExcitationAxisZ(),
z_axis } };
sourceType
Definition SourceTarget.h:4
@ e
Definition SourceTarget.h:4
@ h
Definition SourceTarget.h:4
axis
Definition SourceTarget.h:5
@ x_axis
Definition SourceTarget.h:5
@ z_axis
Definition SourceTarget.h:5
@ y_axis
Definition SourceTarget.h:5
int64_t index_t
Definition SystemDependentDefines.h:13
Definition PortSettings.h:18
const sourceType GetSourceType() const
Definition PortSettings.h:43
void SetExcitationPoint(index_t x, index_t y, index_t z)
Definition PortSettings.cpp:10
PortSettings(std::string portName, std::string excitationTarget, std::string excitationAxis, std::string excitationSignal)
Definition PortSettings.cpp:3
const std::string GetExcitationSignalName(void)
Definition PortSettings.h:53
const index_t GetCoorZ() const
Definition PortSettings.h:37
const std::string GetPortName() const
Definition PortSettings.h:41
const Signal GetExcitationSignal(void)
Definition PortSettings.h:56
const bool LocationIsInCentre() const
Definition PortSettings.h:39
const axis GetAxis() const
Definition PortSettings.h:48
std::string Print()
Definition PortSettings.cpp:19
void SetExcitationSignal(Signal excitationSignal)
Definition PortSettings.h:55
const index_t GetCoorY() const
Definition PortSettings.h:36
const index_t GetCoorX() const
Definition PortSettings.h:35
PortSettings & operator=(PortSettings &other)=delete