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 }
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 }