Compute average number of entries of W (FC connections) instead of P
This commit is contained in:
parent
4b94dac55d
commit
551703ad65
@ -744,7 +744,7 @@ hypre_BoomerAMGSetupStats( void *amg_vdata,
|
||||
|
||||
|
||||
}
|
||||
avg_entries = ((HYPRE_Real) global_nonzeros) / ((HYPRE_Real) fine_size);
|
||||
avg_entries = ((HYPRE_Real) (global_nonzeros - coarse_size)) / ((HYPRE_Real) (fine_size - coarse_size));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -822,7 +822,7 @@ hypre_BoomerAMGSetupStats( void *amg_vdata,
|
||||
}
|
||||
|
||||
}
|
||||
avg_entries = ((HYPRE_Real) global_nonzeros) / ((HYPRE_Real) fine_size);
|
||||
avg_entries = ((HYPRE_Real) (global_nonzeros - coarse_size)) / ((HYPRE_Real) (fine_size - coarse_size));
|
||||
}
|
||||
|
||||
#ifdef HYPRE_NO_GLOBAL_PARTITION
|
||||
|
||||
Loading…
Reference in New Issue
Block a user