source: XIOS/dev/dev_ym/XIOS_COUPLING/src/transformation/generic_algorithm_transformation.cpp @ 2011

Last change on this file since 2011 was 2011, checked in by ymipsl, 3 years ago
  • bug fix when createing mask on server side when overlapping grid
  • implement axis interpolation on pressure coordinate
  • big cleaning in transformation

YM

File size: 1.4 KB
Line 
1/*!
2   \file generic_algorithm_transformation.hpp
3   \author Ha NGUYEN
4   \since 14 May 2015
5   \date 21 Mars 2016
6
7   \brief Interface for all transformation algorithms.
8 */
9#include "generic_algorithm_transformation.hpp"
10#include "context.hpp"
11#include "context_client.hpp"
12#include "client_client_dht_template.hpp"
13#include "utils.hpp"
14#include "timer.hpp"
15#include "mpi.hpp"
16#include "transform_connector.hpp"
17#include "weight_transform_connector.hpp"
18#include "grid_algorithm_generic.hpp"
19#include "transform_filter.hpp"
20
21namespace xios
22{
23
24CGenericAlgorithmTransformation::CGenericAlgorithmTransformation(bool isSource)
25 : isSource_(isSource)
26{
27}
28
29
30
31///////////////////////////////////////////////////////////////
32////////// new algorithm for new method               /////////
33///////////////////////////////////////////////////////////////
34
35CGridAlgorithm* CGenericAlgorithmTransformation::createGridAlgorithm(CGrid* gridSrc, CGrid* gridDst, int pos)
36{
37  return new CGridAlgorithmGeneric(gridSrc, gridDst, pos, this) ;
38}
39
40
41
42CTransformFilter* CGenericAlgorithmTransformation::createTransformFilter(CGarbageCollector& gc, CGridAlgorithm* algo, bool detectMissingValues, double defaultValue)
43{
44  return new CTransformFilter(gc, 1, algo, detectMissingValues, defaultValue) ;
45}
46
47vector<string> CGenericAlgorithmTransformation::getAuxFieldId(void) 
48{
49  return vector<string>() ;
50}
51
52}
Note: See TracBrowser for help on using the repository browser.