Searched refs:x_inflow (Results 1 – 1 of 1) sorted by relevance
51 Field x_inflow; member85 ctx->x_inflow.sp[0] = 0.05; in SetFromOptions()86 ctx->x_inflow.sp[1] = 0.05; in SetFromOptions()87 ctx->x_inflow.sp[2] = 0.0; in SetFromOptions()106 PetscCall(PetscOptionsGetRealArray(NULL, NULL, "-sp_inflow", ctx->x_inflow.sp, &as, NULL)); in SetFromOptions()176 if (l == 0) x[j][i].sp[l] = (ctx->x_inflow.sp[l] * ((PetscScalar)j) / (My - 1)); in FormInitialGuess()177 … else if (l == 1) x[j][i].sp[l] = (ctx->x_inflow.sp[l] * (1. - ((PetscScalar)j) / (My - 1))); in FormInitialGuess()240 …if (l == 0) f[j][i].sp[l] = (x[j][i].sp[l] - ctx->x_inflow.sp[l] * ((PetscScalar)j) / (info->my - … in FormIFunctionLocal()241 …else if (l == 1) f[j][i].sp[l] = (x[j][i].sp[l] - ctx->x_inflow.sp[l] * (1. - ((PetscScalar)j) / (… in FormIFunctionLocal()