Ignore:
Timestamp:
03/23/16 16:11:13 (5 years ago)
Author:
mhnguyen
Message:

Weight computation of dynamic transformation is done only one for each time stamp

+) Each weight computation of dynamic transformation attached to timestamp
+) Remove some redundant codes

Test
+) On Curie
+) All tests pass

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/transformation/grid_transformation.hpp

    r829 r832  
    1515#include "generic_algorithm_transformation.hpp" 
    1616#include "transformation_enum.hpp" 
     17#include "duration.hpp" 
    1718 
    1819namespace xios { 
     
    4243  ~CGridTransformation(); 
    4344 
    44   void computeAll(const std::vector<CArray<double,1>* >& dataAuxInput=std::vector<CArray<double,1>* >()); 
     45  void computeAll(const std::vector<CArray<double,1>* >& dataAuxInput=std::vector<CArray<double,1>* >(), Time timeStamp = 0); 
    4546 
    4647  const std::map<int, CArray<int,1> >& getLocalIndexToSendFromGridSource() const; 
     
    109110  std::vector<StdString> auxInputs_; 
    110111  bool dynamicalTransformation_; 
     112 
     113  std::set<Time> timeStamp_; //! Time stamps for auxillary inputs 
    111114}; 
    112115 
Note: See TracChangeset for help on using the changeset viewer.