Searched refs:Frhs (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ts/tests/ |
| H A D | ex5.c | 612 …Field **X, **Frhs; /* structures that contain varia… in RhsFunc() local 655 PetscCall(DMDAVecGetArray(da, F, &Frhs)); in RhsFunc() 692 …Frhs[j][i].u = -u_plus * (u - X[j][i - 1].u) * dhx - u_minus * (X[j][i + 1].u - u) * dhx … in RhsFunc() 699 …Frhs[j][i].v = -u_plus * (v - X[j][i - 1].v) * dhx - u_minus * (X[j][i + 1].v - v) * dhx … in RhsFunc() 706 …Frhs[j][i].Ts = (fsfc1 / (csoil * dzlay)) /* Fn… in RhsFunc() 713 …Frhs[j][i].p = -u_plus * (p - X[j][i - 1].p) * dhx - u_minus * (X[j][i + 1].p - p) * dhx /* - u*(d… in RhsFunc() 716 Frhs[j][i].Ta = Ra / Cp; /* dTa/dt time change of air temperature */ in RhsFunc() 722 PetscCall(DMDAVecRestoreArray(da, F, &Frhs)); in RhsFunc()
|
| /petsc/src/ts/interface/ |
| H A D | ts.c | 822 Vec Frhs; in TSComputeIFunction() local 824 PetscCall(DMGetGlobalVector(dm, &Frhs)); in TSComputeIFunction() 825 PetscCall(TSComputeRHSFunction(ts, t, U, Frhs)); in TSComputeIFunction() 826 PetscCall(VecAXPY(Y, -1, Frhs)); in TSComputeIFunction() 827 PetscCall(DMRestoreGlobalVector(dm, &Frhs)); in TSComputeIFunction() 1548 Vec Frhs; in TSComputeI2Function() local 1550 PetscCall(DMGetGlobalVector(dm, &Frhs)); in TSComputeI2Function() 1551 PetscCall(TSComputeRHSFunction(ts, t, U, Frhs)); in TSComputeI2Function() 1552 PetscCall(VecAXPY(F, -1, Frhs)); in TSComputeI2Function() 1553 PetscCall(DMRestoreGlobalVector(dm, &Frhs)); in TSComputeI2Function() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | tsimpl.h | 256 Vec Frhs; /* Right hand side function value */ member
|