Home
last modified time | relevance | path

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

/honee/problems/
H A Deulervortex.c89 PetscReal center[3] = {0.}, // m in NS_EULER_VORTEX() local
105 …for (PetscInt i = 0; i < dim; i++) center[i] = .5 * domain_size[i] / units->meter; // Redimension… in NS_EULER_VORTEX()
107 PetscCall(PetscOptionsRealArray("-center", "Location of vortex center", NULL, center, &n, NULL)); in NS_EULER_VORTEX()
129 center[i] *= units->meter; in NS_EULER_VORTEX()
138 euler_ctx->center[0] = center[0]; in NS_EULER_VORTEX()
139 euler_ctx->center[1] = center[1]; in NS_EULER_VORTEX()
140 euler_ctx->center[2] = center[2]; in NS_EULER_VORTEX()
H A Ddensitycurrent.c35 PetscReal center[3], dc_axis[3] = {0, 0, 0}; in NS_DENSITY_CURRENT() local
50 for (PetscInt i = 0; i < dim; i++) center[i] = .5 * domain_size[i]; in NS_DENSITY_CURRENT()
52 PetscCall(PetscOptionsRealArray("-center", "Location of bubble center", NULL, center, &n, NULL)); in NS_DENSITY_CURRENT()
74 for (PetscInt i = 0; i < dim; i++) center[i] *= units->meter; in NS_DENSITY_CURRENT()
81 PetscCall(PetscArraycpy(density_current_ctx->center, center, 3)); in NS_DENSITY_CURRENT()
H A Dchannel.c73 CeedScalar H, center; in NS_CHANNEL() local
80 center = H + domain_min[1]; in NS_CHANNEL()
86 channel_ctx->center = center; in NS_CHANNEL()
/honee/qfunctions/
H A Ddensitycurrent.h23 CeedScalar center[3]; member
87 const CeedScalar *center = context->center; in Exact_DC() local
102 CeedScalar rr[3] = {x - center[0], y - center[1], z - center[2]}; in Exact_DC()
H A Dchannel.h18 CeedScalar center; // !< Y Coordinate for center of channel member
29 const CeedScalar center = context->center; in Exact_Channel() local
44 const CeedScalar theta = theta0 * (1 + (Pr * Ec / 3) * (1 - Square(Square((x[1] - center) / H)))); in Exact_Channel()
47 Y[1] = umax * (1 - Square((x[1] - center) / H)); in Exact_Channel()
H A Dadvection.h72 const CeedScalar center[3] = {0.5 * lx, 0.5 * ly, 0.5 * lz}; in Exact_AdvectionGeneric() local
74 …const CeedScalar x0[3] = {center[0] + .25 * lx * cos(theta + time), center[1] + .25 * ly * sin… in Exact_AdvectionGeneric()
81 q[1] = -(y - center[1]); in Exact_AdvectionGeneric()
82 q[2] = (x - center[0]); in Exact_AdvectionGeneric()
110 q[4] = ((r <= rc) && (y < center[1])) ? (1. - r / rc) : 0.; in Exact_AdvectionGeneric()
114 … q[4] = ((r <= rc) && (y < center[1])) ? (1. - r / rc) * fmin(1.0, (center[1] - y) / 1.25) : 0.; in Exact_AdvectionGeneric()
124 CeedScalar r = sqrt(Square(x - center[0]) + Square(y - center[1])); in Exact_AdvectionGeneric()
H A Deulervortex.h18 CeedScalar center[3]; member
62 const CeedScalar *center = context->center; // Center of the domain in Exact_Euler() local
71 const CeedScalar xc = center[0] + mean_velocity[0] * time; in Exact_Euler()
72 const CeedScalar yc = center[1] + mean_velocity[1] * time; in Exact_Euler()
/honee/doc/
H A Dexamples.md34 - Coordinates of center of perturbation
138 * - `-center`
139 - Location of bubble center
189 where $H$ is the channel half-height, $u_{\max}$ is the center velocity, $T_w$ is the temperature a…
435 where $(\bar{x}, \, \bar{y}) = (x-x_c, \, y-y_c)$, $(x_c, \, y_c)$ represents the center of the dom…
447 * - `-center`
448 - Location of vortex center
576 These are simple initial conditions with a controllable radius and center point.