Last change
on this file since 2328 was
1982,
checked in by yushan, 4 years ago
|
trunk : workflow graph big fixed for chained spatial filters. Filter name simplified for graph
|
File size:
1.3 KB
|
Rev | Line | |
---|
[631] | 1 | /*! |
---|
| 2 | \file domain_algorithm_transformation.hpp |
---|
| 3 | \author Ha NGUYEN |
---|
| 4 | \since 02 Jul 2015 |
---|
| 5 | \date 02 Jul 2015 |
---|
| 6 | |
---|
| 7 | \brief Interface for all domain transformation algorithms. |
---|
| 8 | */ |
---|
| 9 | #ifndef __XIOS_DOMAIN_ALGORITHM_TRANSFORMATION_HPP__ |
---|
| 10 | #define __XIOS_DOMAIN_ALGORITHM_TRANSFORMATION_HPP__ |
---|
| 11 | |
---|
| 12 | #include "generic_algorithm_transformation.hpp" |
---|
[866] | 13 | #include "client_client_dht_template.hpp" |
---|
[631] | 14 | |
---|
| 15 | namespace xios { |
---|
| 16 | |
---|
[866] | 17 | class CDomain; |
---|
[631] | 18 | /*! |
---|
| 19 | \class CDomainAlgorithmTransformation |
---|
| 20 | Algorithms for domain. |
---|
| 21 | */ |
---|
| 22 | class CDomainAlgorithmTransformation : public virtual CGenericAlgorithmTransformation |
---|
| 23 | { |
---|
| 24 | public: |
---|
| 25 | CDomainAlgorithmTransformation(CDomain* domainDestination, CDomain* domainSource); |
---|
| 26 | |
---|
| 27 | virtual ~CDomainAlgorithmTransformation(); |
---|
| 28 | |
---|
[1982] | 29 | virtual StdString getName() {return "Domain Transformation";} |
---|
[1704] | 30 | |
---|
[631] | 31 | protected: |
---|
[827] | 32 | void computeIndexSourceMapping_(const std::vector<CArray<double,1>* >&); |
---|
| 33 | |
---|
[867] | 34 | virtual void computeExchangeGlobalIndex(const CArray<size_t,1>& globalDomainIndex, |
---|
[888] | 35 | int elementType, |
---|
| 36 | CClientClientDHTInt::Index2VectorInfoTypeMap& globalDomainIndexOnProc); |
---|
[631] | 37 | |
---|
| 38 | protected: |
---|
| 39 | //! Domain on grid destination |
---|
| 40 | CDomain* domainDest_; |
---|
| 41 | |
---|
| 42 | //! Domain on grid source |
---|
| 43 | CDomain* domainSrc_; |
---|
| 44 | }; |
---|
| 45 | |
---|
| 46 | } |
---|
| 47 | #endif // __XIOS_DOMAIN_ALGORITHM_TRANSFORMATION_HPP__ |
---|
Note: See
TracBrowser
for help on using the repository browser.