Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/tests/
H A Dex101.c10 PetscReal x_tot = 0; in project_function() local
13 for (PetscInt d = 0; d < dim; d++) x_tot += x[d]; in project_function()
15 PetscScalar value = c % 2 ? PetscSinReal(2 * M_PI * x_tot) : PetscCosReal(2 * M_PI * x_tot); in project_function()
H A Dex100.c11 PetscReal x_tot = 0; in project_function() local
14 for (PetscInt d = 0; d < dim; d++) x_tot += x[d]; in project_function()
15 for (PetscInt c = 0; c < Nc; c++) u[c] = sin(2 * M_PI * x_tot); in project_function()