Home
last modified time | relevance | path

Searched refs:eta_up (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
696 eta_up = eta[2]; in CreateSystem2d()
702 val_A[count] = -2.0 * dv * (eta_down + eta_up) / (hy * hy); in CreateSystem2d()
717 val_A[count] = 2.0 * dv * eta_up / (hy * hy); in CreateSystem2d()
811 PetscScalar eta[4], eta_left, eta_right, eta_up, eta_down; in CreateSystem2d() local
839 eta_up = eta[2]; in CreateSystem2d()
846 if (!top_boundary) val_A[count] += -1.0 * dv * eta_up / (hy * hy); in CreateSystem2d()
862 val_A[count] = dv * eta_up / (hy * hy); in CreateSystem2d()
893 val_A[count] = -1.0 * dv * eta_up / (hx * hy); in CreateSystem2d()
899 val_A[count] = dv * eta_up / (hx * hy); in CreateSystem2d()
[all …]