| /libCEED/examples/petsc/qfunctions/bps/ |
| H A D | bp13.h | 20 #ifndef M_PI in SetupMassDiffRhs() 21 #define M_PI 3.14159265358979323846 in SetupMassDiffRhs() macro 31 …true_soln[i] = sin(M_PI * (c[0] + k[0] * x[i + Q * 0])) * sin(M_PI * (c[1] + k[1] * x[i + Q * 1]))… in SetupMassDiffRhs() 33 …rhs[i] = w[i + Q * 0] * (M_PI * M_PI * (k[0] * k[0] + k[1] * k[1] + k[2] * k[2]) + 1.0) * true_sol… in SetupMassDiffRhs()
|
| H A D | bp4.h | 20 #ifndef M_PI in SetupDiffRhs3() 21 #define M_PI 3.14159265358979323846 in SetupDiffRhs3() macro 33 …sin(M_PI * (c[0] + k[0] * x[i + Q * 0])) * sin(M_PI * (c[1] + k[1] * x[i + Q * 1])) * sin(M_PI * (… in SetupDiffRhs3() 40 …rhs[i + 0 * Q] = w[i + Q * 0] * M_PI * M_PI * (k[0] * k[0] + k[1] * k[1] + k[2] * k[2]) * true_sol… in SetupDiffRhs3()
|
| H A D | bp24.h | 20 #ifndef M_PI in SetupMassDiffRhs3() 21 #define M_PI 3.14159265358979323846 in SetupMassDiffRhs3() macro 33 …sin(M_PI * (c[0] + k[0] * x[i + Q * 0])) * sin(M_PI * (c[1] + k[1] * x[i + Q * 1])) * sin(M_PI * (… in SetupMassDiffRhs3() 40 …rhs[i + 0 * Q] = w[i + Q * 0] * (M_PI * M_PI * (k[0] * k[0] + k[1] * k[1] + k[2] * k[2]) + 1.0) * … in SetupMassDiffRhs3()
|
| H A D | bp3.h | 77 #ifndef M_PI in SetupDiffRhs() 78 #define M_PI 3.14159265358979323846 in SetupDiffRhs() macro 88 …true_soln[i] = sin(M_PI * (c[0] + k[0] * x[i + Q * 0])) * sin(M_PI * (c[1] + k[1] * x[i + Q * 1]))… in SetupDiffRhs() 90 rhs[i] = w[i + Q * 0] * M_PI * M_PI * (k[0] * k[0] + k[1] * k[1] + k[2] * k[2]) * true_soln[i]; in SetupDiffRhs()
|
| /libCEED/examples/mfem/ |
| H A D | bp3.cpp | 46 double val = sin(M_PI * (x[0] + k[0] * pt(0))); in solution() 47 for (int d = 1; d < pt.Size(); d++) val *= sin(M_PI * (x[d] + k[d] * pt(d))); in solution() 56 f[0] = sin(M_PI * (x[0] + k[0] * pt(0))); in rhs() 57 l[0] = M_PI * M_PI * k[0] * k[0] * f[0]; in rhs() 61 f[d] = sin(M_PI * (x[d] + k[d] * pt(d))); in rhs() 62 l[d] = M_PI * M_PI * k[d] * k[d] * f[d]; in rhs()
|
| /libCEED/examples/solids/src/ |
| H A D | boundary.c | 37 #ifndef M_PI 38 #define M_PI 3.14159265358979323846 macro 56 c_0 = clampMax[6] * M_PI, c_1 = clampMax[7] * M_PI, cx = kx * x + ky * y + kz * z, in BCClamp()
|
| /libCEED/examples/nek/bps/ |
| H A D | bps.h | 14 #ifndef M_PI 15 #define M_PI 3.14159265358979323846 macro 91 …rhs[i] = rho * M_PI * M_PI * (k[0] * k[0] + k[1] * k[1] + k[2] * k[2]) * sin(M_PI *… in diffsetupf() 92 sin(M_PI * (c[1] + k[1] * x[i + Q * 1])) * sin(M_PI * (c[2] + k[2] * x[i + Q * 2])); in diffsetupf()
|
| /libCEED/examples/petsc/ |
| H A D | area.c | 54 #ifndef M_PI 55 #define M_PI 3.14159265358979323846 macro 197 CeedScalar exact_surface_area = 4 * M_PI; in main()
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | ex1-volume.c | 406 #ifndef M_PI 407 #define M_PI 3.14159265358979323846 macro 419 coords[i] = 0.5 + 1. / sqrt(3.) * sin((2. / 3.) * M_PI * (coords[i] - 0.5)); in TransformMeshCoords() 435 exact_volume = 3. / 4. * M_PI; in TransformMeshCoords()
|
| /libCEED/examples/ceed/ |
| H A D | ex3-volume.c | 386 #ifndef M_PI 387 #define M_PI 3.14159265358979323846 macro 399 coords[i] = 0.5 + 1. / sqrt(3.) * sin((2. / 3.) * M_PI * (coords[i] - 0.5)); in TransformMeshCoords() 414 exact_volume = 3. / 4. * M_PI; in TransformMeshCoords()
|
| H A D | ex1-volume.c | 396 #ifndef M_PI 397 #define M_PI 3.14159265358979323846 macro 409 coords[i] = 0.5 + 1. / sqrt(3.) * sin((2. / 3.) * M_PI * (coords[i] - 0.5)); in TransformMeshCoords() 425 exact_volume = 3. / 4. * M_PI; in TransformMeshCoords()
|
| H A D | ex2-surface.c | 420 #ifndef M_PI 421 #define M_PI 3.14159265358979323846 macro 431 coords[i] = 0.5 + 1. / sqrt(3.) * sin((2. / 3.) * M_PI * (coords[i] - 0.5)); in TransformMeshCoords()
|
| /libCEED/examples/fluids/qfunctions/ |
| H A D | taylorgreen.h | 32 ScaleN(x, 2 * M_PI / context->lx, 3); in ICsTaylorGreen()
|
| H A D | advection.h | 81 const CeedScalar theta = dim == 2 ? M_PI / 3 : M_PI; in Exact_AdvectionGeneric() 133 q[4] = r <= rc ? .5 + .5 * cos(r * M_PI / rc) : 0; in Exact_AdvectionGeneric() 139 q[4] = r > half_width ? 0. : cos(2 * M_PI * r / half_width + M_PI) + 1.; in Exact_AdvectionGeneric()
|
| H A D | eulervortex.h | 83 const CeedScalar C = vortex_strength * exp((1. - r * r) / 2.) / (2. * M_PI); in Exact_Euler() 84 … = -(gamma - 1.) * vortex_strength * vortex_strength * exp(1 - r * r) / (8. * gamma * M_PI * M_PI); in Exact_Euler() 86 …eedScalar S_bubble = (gamma - 1.) * vortex_strength * vortex_strength / (8. * gamma * M_PI * M_PI); in Exact_Euler()
|
| H A D | densitycurrent.h | 114 const CeedScalar delta_theta = r <= rc ? thetaC * (1. + cos(M_PI * r / rc)) / 2. : 0.; in Exact_DC()
|
| H A D | utils.h | 14 #ifndef M_PI 15 #define M_PI 3.14159265358979323846 macro
|
| H A D | stg_shur14.h | 110 *ke = wall_dist == 0 ? 1e16 : 2 * M_PI / Min(2 * wall_dist, 3 * lt); in SpectrumConstants() 111 *keta = 2 * M_PI * pow(Cube(nu) / eps, -0.25); in SpectrumConstants() 112 *kcut = M_PI / Min(Max(Max(hNodSep[1], hNodSep[2]), 0.3 * (*hmax)) + 0.1 * wall_dist, *hmax); in SpectrumConstants()
|
| H A D | differential_filter.h | 196 const CeedScalar omega = 2 * M_PI; in DifferentialFilter_MMS_IC()
|
| /libCEED/examples/fluids/problems/ |
| H A D | blasius.c | 174 PetscReal angle_coeff = tan(top_angle * (M_PI / 180)); in ModifyMesh()
|
| H A D | stg_shur14.c | 213 CeedScalar kmin = M_PI / le_max; in GetStgContextData()
|