Last change
on this file since 619 was
619,
checked in by mhnguyen, 9 years ago
|
Implementing the first prototype of filter
+) Create new class filter
+) Implement class for specific algorithm
+) Implement inversing algorithm
Test
+) On Curie
+) Grid with one axis: passed
|
File size:
565 bytes
|
Rev | Line | |
---|
[619] | 1 | #include "axis_transformation.hpp" |
---|
| 2 | |
---|
| 3 | namespace xios { |
---|
| 4 | |
---|
| 5 | CAxisTransformation::CAxisTransformation(std::vector<CAxis*> inputs, std::vector<CAxis*> outputs) |
---|
| 6 | { |
---|
| 7 | this->setInputs(inputs); |
---|
| 8 | this->setOutputs(outputs); |
---|
| 9 | } |
---|
| 10 | |
---|
| 11 | void CAxisTransformation::setInputs(const std::vector<CAxis*>& inputs) |
---|
| 12 | { |
---|
| 13 | inputs_ = inputs; |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | void CAxisTransformation::setOutputs(const std::vector<CAxis*>& outputs) |
---|
| 17 | { |
---|
| 18 | outputs_ = outputs; |
---|
| 19 | } |
---|
| 20 | |
---|
| 21 | std::vector<CAxis*> CAxisTransformation::getInputs() |
---|
| 22 | { |
---|
| 23 | return inputs_; |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | std::vector<CAxis*> CAxisTransformation::getOutputs() |
---|
| 27 | { |
---|
| 28 | return outputs_; |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.