3D MPI Multigrid port complete and tested
This commit is contained in:
		
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1416,9 +1416,9 @@ void multiGrid(Solver* solver)
 | 
			
		||||
 | 
			
		||||
void restrictMG(Solver* solver)
 | 
			
		||||
{
 | 
			
		||||
    int imax = solver->grid.imax;
 | 
			
		||||
    int jmax = solver->grid.jmax;
 | 
			
		||||
    int kmax = solver->grid.kmax;
 | 
			
		||||
    int imax = solver->grid.imax / 2;
 | 
			
		||||
    int jmax = solver->grid.jmax / 2;
 | 
			
		||||
    int kmax = solver->grid.kmax / 2;
 | 
			
		||||
 | 
			
		||||
    double* r    = solver->r[solver->currentlevel + 1];
 | 
			
		||||
    double* oldr = solver->r[solver->currentlevel];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user