Searched refs:PetscSignReal (Results 1 – 4 of 4) sorted by relevance
78 Res = a[0] + 9.8 + 0.5 * app->Cd * v[0] * v[0] * PetscSignReal(PetscRealPart(v[0])); in I2Function()
206 … == -1) gval[n++] = PetscLogReal(t - 0.02) * PetscLogReal(t - 0.02) * PetscSignReal(t - 1.02) * 1e… in EventFunction()
167 static inline PetscReal PetscSignReal(PetscReal a) in PetscSignReal() function
2572 yc = ds2 * PetscSignReal(y); in snapToCylinder()2576 xc = ds2 * PetscSignReal(x); in snapToCylinder()