source: XIOS/dev/dev_ym/XIOS_COUPLING/src/distribution/grid_local_view.cpp @ 2230

Last change on this file since 2230 was 1930, checked in by ymipsl, 4 years ago

Big update on on going work related to data distribution and transfer between clients and servers.
Revisite of the source and store filter using "connectors".

YM

  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 387 bytes
Line 
1#include "grid_local_view.hpp"
2#include "grid_elements.hpp"
3
4namespace xios
5{
6  CGridLocalView::CGridLocalView(CGridLocalElements* parent, CElementView::type type) : localMask_(parent->getLocalMask())
7  {
8    size_ = 1 ;
9    for(auto element : parent->getElements()) 
10    {
11      views_.push_back(element->getView(type)) ;
12      size_ *= element->getView(type)->getSize() ;
13    }
14
15  }
16
17}
Note: See TracBrowser for help on using the repository browser.