예제 #1
0
void s3hexRomoveInactiveCells(struct CALModel2D* s3hex, int i, int j)
{
#ifdef ACTIVE_CELLS
	if (calGet2Dr(s3hex,Q.h,i,j) <= P.adh)
		calRemoveActiveCell2D(s3hex,i,j);
#endif
}
예제 #2
0
void sciddicaT_remove_inactive_cells(struct CALModel2D* sciddicaT, int i, int j)
{
#ifdef ACTIVE_CELLS
    if (calGet2Dr(sciddicaT, Q.h, i, j) <= P.epsilon)
        calRemoveActiveCell2D(sciddicaT,i,j);
#endif
}