Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex10.c348 PetscScalar D_R, bcTheta = rd->bcmidpoint ? Theta : 1.; in RDIFunction_FD() local
351 n.E = (1. - bcTheta) * x0[0].E + bcTheta * x[0].E; in RDIFunction_FD()
352 n.T = (1. - bcTheta) * x0[0].T + bcTheta * x[0].T; in RDIFunction_FD()
353 nx.E = ((1. - bcTheta) * (x0[1].E - x0[0].E) + bcTheta * (x[1].E - x[0].E)) / hx; in RDIFunction_FD()
354 nx.T = ((1. - bcTheta) * (x0[1].T - x0[0].T) + bcTheta * (x[1].T - x[0].T)) / hx; in RDIFunction_FD()
432 PetscScalar D, bcTheta = rd->bcmidpoint ? Theta : 1.; in RDIJacobian_FD() local
436 n.E = (1. - bcTheta) * x0[0].E + bcTheta * x[0].E; in RDIJacobian_FD()
437 n.T = (1. - bcTheta) * x0[0].T + bcTheta * x[0].T; in RDIJacobian_FD()
438 nx.E = ((1. - bcTheta) * (x0[1].E - x0[0].E) + bcTheta * (x[1].E - x[0].E)) / hx; in RDIJacobian_FD()
439 nx.T = ((1. - bcTheta) * (x0[1].T - x0[0].T) + bcTheta * (x[1].T - x[0].T)) / hx; in RDIJacobian_FD()
[all …]