Ignore:
Timestamp:
Apr 10, 2012, 1:55:49 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
a40eea
Parents:
d24c2f
Message:

Merge recent changes of the vmg library into ScaFaCos.

Includes a fix for the communication problems on Jugene.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1666 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/comm/comm_serial.hpp

    rd24c2f rac6d04  
    3535  Grid& GetCoarserGrid(Multigrid& multigrid);
    3636  Grid& GetFinerGrid(Multigrid& multigrid);
    37   Grid& GetGlobalCoarseGrid(Multigrid& multigrid);
    3837
    3938  void CommFromGhosts(Grid& grid);
    4039  void CommToGhosts(Grid& grid);
    41   void CommToGhostsRB(Grid& grid, const int& offset);
    42   void CommSubgrid(Grid& grid_old, Grid& grid_new);
    43   void CommAddSubgrid(Grid& grid_old, Grid& grid_new);
     40  void CommSubgrid(Grid& grid_old, Grid& grid_new, const int& direction);
     41  void CommAddSubgrid(Grid& grid_old, Grid& grid_new, const int& direction);
    4442
    4543  void CommToGhostsAsyncStart(Grid& grid);
    46   void CommToGhostsAsyncFinish();
     44  void CommToGhostsAsyncFinish(Grid& grid);
    4745  void CommFromGhostsAsyncStart(Grid& grid);
    4846  void CommFromGhostsAsyncFinish(Grid& grid);
    4947
    5048  void CommParticles(const Grid& grid, std::list<Particle::Particle>& particles);
    51   void CommLCListGhosts(const Grid& grid, Particle::LinkedCellList& lc);
    52   void CommAddPotential(std::list<Particle::Particle>& particles);
    53   void CommAddPotential(Particle::LinkedCellList& lc);
    54 
    55   vmg_float GlobalSum(const vmg_float& value) {return value;}
    56   vmg_float GlobalSumRoot(const vmg_float& value)  {return value;}
    57   void GlobalSumArray(vmg_float* array, const vmg_int& size) {}
     49  void CommParticlesBack(std::list<Particle::Particle>& particles);
     50  void CommLCListToGhosts(const Grid& grid, Particle::LinkedCellList& lc);
     51  void CommLCListFromGhosts(const Grid& grid, Particle::LinkedCellList& lc);
    5852
    5953  void PrintString(const char* format, ...);
     
    6256  void PrintXMLAll(const std::string& filename, const std::string& xml_data);
    6357  void PrintAllSettings();
     58  void PrintGrid(Grid& grid, const char* information);
    6459  void PrintDefect(Grid& sol, Grid& rhs, const char* information);
    65   void PrintGrid(Grid& grid, const char* information);
    66   void PrintCorrectedGrid(Grid& grid, const char* information);
    67   void PrintInnerGrid(Grid& grid, const char* information);
    68   void PrintInnerCorrectedGrid(Grid& grid, const char* information);
    6960
    70   void DebugPrintError(const Grid& sol, const char* information);
    71   void DebugPrintErrorNorm(Grid& sol);
    7261  void DebugPrintGridStructure(Multigrid& multigrid);
    7362
     
    7766  void InitCommSerial();
    7867
    79   void OpenFileAndPrintHeader(std::ofstream& out, const Grid& mesh, const char* information, bool inner);
     68  void OpenFileAndPrintHeader(std::ofstream& out, const Grid& mesh, const char* information);
    8069  void PrintGridStructureLevel(Grid& grid, std::ofstream& out);
    8170  std::string CreateOutputDirectory();
Note: See TracChangeset for help on using the changeset viewer.