Changeset ac6d04 for src/comm/comm_serial.hpp
- Timestamp:
- Apr 10, 2012, 1:55:49 PM (14 years ago)
- Children:
- a40eea
- Parents:
- d24c2f
- File:
-
- 1 edited
-
src/comm/comm_serial.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/comm/comm_serial.hpp
rd24c2f rac6d04 35 35 Grid& GetCoarserGrid(Multigrid& multigrid); 36 36 Grid& GetFinerGrid(Multigrid& multigrid); 37 Grid& GetGlobalCoarseGrid(Multigrid& multigrid);38 37 39 38 void CommFromGhosts(Grid& grid); 40 39 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); 44 42 45 43 void CommToGhostsAsyncStart(Grid& grid); 46 void CommToGhostsAsyncFinish( );44 void CommToGhostsAsyncFinish(Grid& grid); 47 45 void CommFromGhostsAsyncStart(Grid& grid); 48 46 void CommFromGhostsAsyncFinish(Grid& grid); 49 47 50 48 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); 58 52 59 53 void PrintString(const char* format, ...); … … 62 56 void PrintXMLAll(const std::string& filename, const std::string& xml_data); 63 57 void PrintAllSettings(); 58 void PrintGrid(Grid& grid, const char* information); 64 59 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);69 60 70 void DebugPrintError(const Grid& sol, const char* information);71 void DebugPrintErrorNorm(Grid& sol);72 61 void DebugPrintGridStructure(Multigrid& multigrid); 73 62 … … 77 66 void InitCommSerial(); 78 67 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); 80 69 void PrintGridStructureLevel(Grid& grid, std::ofstream& out); 81 70 std::string CreateOutputDirectory();
Note:
See TracChangeset
for help on using the changeset viewer.
