OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
Port.h
Go to the documentation of this file.
1#ifndef OPALX_Port_HH
2#define OPALX_Port_HH
3
5
6#include <string>
7
15class Port {
16public:
17 Port() = default;
18 Port(const std::string& name, const CoordinateSystemTrafo& bodyToPort)
19 : name_m(name), bodyToPort_m(bodyToPort) {}
20
21 const std::string& getName() const { return name_m; }
23
24private:
25 std::string name_m;
27};
28
29#endif
Rigid spatial transform between a parent frame and a local frame.
Named local frame attached to an element body.
Definition Port.h:15
const CoordinateSystemTrafo & getBodyToPort() const
Definition Port.h:22
const std::string & getName() const
Definition Port.h:21
Port(const std::string &name, const CoordinateSystemTrafo &bodyToPort)
Definition Port.h:18
std::string name_m
Definition Port.h:25
CoordinateSystemTrafo bodyToPort_m
Definition Port.h:26
Port()=default