source: XIOS3/trunk/src/filter/grid_redistribute_filter.hpp @ 2507

Last change on this file since 2507 was 2507, checked in by ymipsl, 13 months ago

Merging XIOS3_ATTACHED branch into XIOS3 trunk.

YM

  • Property svn:executable set to *
File size: 830 bytes
Line 
1#ifndef __XIOS_GRID_REDISTRIBUTE_FILTER_HPP__
2#define __XIOS_GRID_REDISTRIBUTE_FILTER_HPP__
3
4#include "filter.hpp"
5
6namespace xios
7{
8 
9  class CGridTransformConnector ;
10  /*!
11   * A filter to redistribute data from source grid to destination grid.
12   */
13    class CGridRedistributeFilter : public CFilter, IFilterEngine
14  {
15    public:
16
17      CGridRedistributeFilter(CGarbageCollector& gc, CField* fieldIn, CField* &fieldOut) ;
18
19    protected:
20      /*!
21        Overriding this function to process transformations with auxillary inputs
22      */
23      CDataPacketPtr virtual apply(std::vector<CDataPacketPtr> data) ;
24   
25    private:
26
27    shared_ptr<CGridTransformConnector> redistributeConnector_ ;
28  }; // class CTransformFilter
29
30
31} // namespace xios
32
33#endif //__XIOS_CSpatialTransformFilter__
Note: See TracBrowser for help on using the repository browser.