Home
last modified time | relevance | path

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

/petsc/src/sys/classes/draw/utils/ !
H A Daxis.c95 PetscReal etmp, s, s2, m; in PetscAGetNice() local
99 etmp = in / base + 0.5 + s; in PetscAGetNice()
100 PetscCall(PetscCopysign(0.5, etmp, &s)); in PetscAGetNice()
101 PetscCall(PetscCopysign(EPS * etmp, (double)sign, &s2)); in PetscAGetNice()
102 etmp = etmp - 0.5 + s - s2; in PetscAGetNice()
103 PetscCall(PetscMod(etmp, 1.0, &m)); in PetscAGetNice()
104 etmp = base * (etmp - m); in PetscAGetNice()
105 *result = etmp; in PetscAGetNice()
/petsc/src/ksp/pc/impls/factor/ !
H A Dfactimpl.c220 PetscEnum etmp; in PCSetFromOptions_Factor() local
229 …"PCFactorSetShiftType", MatFactorShiftTypes, (PetscEnum)(int)factor->info.shifttype, &etmp, &flg)); in PCSetFromOptions_Factor()
230 if (flg) PetscCall(PCFactorSetShiftType(pc, (MatFactorShiftType)etmp)); in PCSetFromOptions_Factor()
/petsc/src/ts/trajectory/impls/memory/ !
H A Dtrajmemory.c2000 PetscEnum etmp; in TSTrajectorySetFromOptions_Memory() local
2021 …ctoryMemorySetType", TSTrajectoryMemoryTypes, (PetscEnum)(int)tjsch->tj_memory_type, &etmp, &flg)); in TSTrajectorySetFromOptions_Memory()
2022 if (flg) PetscCall(TSTrajectoryMemorySetType(tj, (TSTrajectoryMemoryType)etmp)); in TSTrajectorySetFromOptions_Memory()