Home
last modified time | relevance | path

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

/petsc/src/sys/classes/viewer/impls/mathematica/
H A Druntime.c16 long lerr; in setupConnection() local
45 for (lerr = 0; lerr < argc; lerr++) printf("argv[%ld] = %s\n", lerr, argv[lerr]); in setupConnection()
46 *link = MLOpenInEnv(*env, argc, argv, &lerr); in setupConnection()
47 printf("lerr = %ld\n", lerr); in setupConnection()
H A Dmathematica.c88 long lerr; in PetscViewerMathematicaSetupConnection_Private() local
130 vmath->link = MLOpenInEnv(mathematicaEnv, argc, argv, &lerr); in PetscViewerMathematicaSetupConnection_Private()
/petsc/src/ksp/ksp/tutorials/
H A Dex36.cxx491 const PetscScalar lerr = (ExactSolution(vpos, user) - x[dof_index]); in ComputeDiscreteL2Error() local
492 l2err += lerr * lerr; in ComputeDiscreteL2Error()
493 if (linferr < fabs(lerr)) linferr = fabs(lerr); in ComputeDiscreteL2Error()
497 e[dof_index] = lerr; in ComputeDiscreteL2Error()
H A Dex35.cxx537 const PetscScalar lerr = (ExactSolution(vpos, user) - x[dof_index]); in ComputeDiscreteL2Error() local
538 l2err += PetscRealPart(lerr * PetscConj(lerr)); in ComputeDiscreteL2Error()
539 if (linferr < PetscAbsScalar(lerr)) linferr = PetscAbsScalar(lerr); in ComputeDiscreteL2Error()
542 e[dof_index] = lerr; in ComputeDiscreteL2Error()