Searched refs:twod (Results 1 – 2 of 2) sorted by relevance
220 PetscBool twod; in DMSetUp_DA_3D() local370 twod = PETSC_FALSE; in DMSetUp_DA_3D()371 if (P == 1) twod = PETSC_TRUE; in DMSetUp_DA_3D()819 … if (twod && (s_t < 0)) s_t = bases[n0] + x_t * y_t * z_t - (s_y - i) * x_t - s_x; /* 2D case */ in DMSetUp_DA_3D()827 … if (twod && (s_t < 0)) s_t = bases[n1] + x_t * y_t * z_t - (s_y + 1 - i) * x_t; /* 2D case */ in DMSetUp_DA_3D()835 … if (twod && (s_t < 0)) s_t = bases[n2] + x_t * y_t * z_t - (s_y + 1 - i) * x_t; /* 2D case */ in DMSetUp_DA_3D()846 …if (twod && (s_t < 0)) s_t = bases[n3] + (i + 1) * x_t - s_x + x_t * y_t * z_t - x_t * y_t; /* 2D … in DMSetUp_DA_3D()855 … if (twod && (s_t < 0)) s_t = bases[n4] + i * x_t + x_t * y_t * z_t - x_t * y_t; /* 2D case */ in DMSetUp_DA_3D()866 … if (twod && (s_t < 0)) s_t = bases[n5] + i * x_t + x_t * y_t * z_t - x_t * y_t; /* 2D case */ in DMSetUp_DA_3D()877 …if (twod && (s_t < 0)) s_t = bases[n6] + i * x_t - s_x + x_t * y_t * z_t - x_t * y_t; /* 2D case */ in DMSetUp_DA_3D()[all …]
132 PetscBool twod = (PetscBool)(C02 == 0 && C12 == 0 && C22 == 0); in FIX_C_3d() local134 if (twod) eigs[2] = 1.0; in FIX_C_3d()