Home
last modified time | relevance | path

Searched refs:eta_down (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/stag/tutorials/
H A Dex4.c657 PetscScalar eta[4], eta_left, eta_right, eta_up, eta_down; in CreateSystem2d() local
697 eta_down = eta[3]; in CreateSystem2d()
702 val_A[count] = -2.0 * dv * (eta_down + eta_up) / (hy * hy); in CreateSystem2d()
711 val_A[count] = 2.0 * dv * eta_down / (hy * hy); in CreateSystem2d()
811 PetscScalar eta[4], eta_left, eta_right, eta_up, eta_down; in CreateSystem2d() local
840 eta_down = eta[3]; in CreateSystem2d()
845 if (!bottom_boundary) val_A[count] += -1.0 * dv * eta_down / (hy * hy); in CreateSystem2d()
854 val_A[count] = dv * eta_down / (hy * hy); in CreateSystem2d()
881 val_A[count] = dv * eta_down / (hx * hy); in CreateSystem2d()
887 val_A[count] = -1.0 * dv * eta_down / (hx * hy); in CreateSystem2d()
[all …]