42 |
|
#ifndef TYPES_TORSIONSTAMP_HPP |
43 |
|
#define TYPES_TORSIONSTAMP_HPP |
44 |
|
#include "types/DataHolder.hpp" |
45 |
+ |
#include "utils/Tuple.hpp" |
46 |
|
namespace oopse { |
47 |
|
class TorsionStamp : public DataHolder { |
48 |
|
DeclareParameter(GhostVectorSource, int); |
62 |
|
} |
63 |
|
return ret; |
64 |
|
} |
65 |
+ |
|
66 |
+ |
bool setMembers(IntTuple4 tuple) { |
67 |
+ |
members_.push_back(tuple.first); |
68 |
+ |
members_.push_back(tuple.second); |
69 |
+ |
members_.push_back(tuple.third); |
70 |
+ |
members_.push_back(tuple.fourth); |
71 |
+ |
return true; |
72 |
+ |
} |
73 |
|
virtual void validate(); |
74 |
|
|
75 |
|
private: |