Implements sampling from GLL nodes at prescribed off-wall indices.
|
| subroutine | wall_gll_sampler_init (this, json) |
| | Partial constructor from JSON.
|
| |
| subroutine | wall_gll_sampler_init_from_indices (this, indices, output_h) |
| | Partial constructor from off-wall GLL indices.
|
| |
| subroutine | wall_gll_sampler_init_from_user (this, n_samples, output_h) |
| | Partial constructor for user-provided GLL sampling indices.
|
| |
| subroutine | wall_gll_sampler_init_from_components (this, indices, sample_idx, h, output_h) |
| | Fully construct a GLL sampler from its resolved components.
|
| |
| subroutine | wall_gll_sampler_finalize (this, coef, msk, facet, n_x, n_y, n_z, bc_name, user) |
| | Construct field indices and wall-normal distances for sampling. Completes initialization.
|
| |
| subroutine | wall_gll_sampler_sample (this, field, values) |
| | Sample the solution field at the sampling points.
|
| |
| subroutine | wall_gll_sampler_free (this) |
| | Destructor.
|
| |
◆ wall_gll_sampler_finalize()
| subroutine wall_gll_sampler::wall_gll_sampler_finalize |
( |
class(wall_gll_sampler_t), intent(inout) |
this, |
|
|
type(coef_t), intent(in) |
coef, |
|
|
integer, dimension(0:), intent(in) |
msk, |
|
|
integer, dimension(0:), intent(in) |
facet, |
|
|
type(vector_t), intent(in) |
n_x, |
|
|
type(vector_t), intent(in) |
n_y, |
|
|
type(vector_t), intent(in) |
n_z, |
|
|
character(len=*), intent(in), optional |
bc_name, |
|
|
type(user_t), intent(in), optional, target |
user |
|
) |
| |
|
private |
- Parameters
-
| coef | SEM coefficients. |
| msk | Mask selecting local wall nodes. |
| facet | Facet index for each selected wall node. |
| n_x | X-component of wall-normal vectors at wall nodes. |
| n_y | Y-component of wall-normal vectors at wall nodes. |
| n_z | Z-component of wall-normal vectors at wall nodes. |
| bc_name | Name of the owning boundary condition for user values. |
| user | User interface providing the GLL-sampling callback. |
Definition at line 197 of file wall_gll_sampler.f90.
◆ wall_gll_sampler_free()
◆ wall_gll_sampler_init()
◆ wall_gll_sampler_init_from_components()
| subroutine wall_gll_sampler::wall_gll_sampler_init_from_components |
( |
class(wall_gll_sampler_t), intent(inout) |
this, |
|
|
integer, dimension(:), intent(in) |
indices, |
|
|
integer, dimension(:), intent(in) |
sample_idx, |
|
|
type(vector_t), intent(in) |
h, |
|
|
logical, intent(in) |
output_h |
|
) |
| |
|
private |
- Note
- No compatibility checks are performed, input data is assumed to be valid. Checking would require geometric information.
- Parameters
-
| indices | Off-wall GLL indices for each sample per wall node. |
| sample_idx | Linear sampled-field indices in sampler ordering. |
| h | Wall-normal distances in sampler ordering. |
| output_h | Sampling-distance diagnostic output flag. |
Definition at line 161 of file wall_gll_sampler.f90.
◆ wall_gll_sampler_init_from_indices()
- Parameters
-
| indices | Positive GLL indices, one for each sampling point per wall node. |
| output_h | Whether to write the sampling-distance diagnostic. |
Definition at line 122 of file wall_gll_sampler.f90.
◆ wall_gll_sampler_init_from_user()
- Parameters
-
| n_samples | Number of samples per wall node. |
| output_h | Whether to write the sampling-distance diagnostic. |
Definition at line 140 of file wall_gll_sampler.f90.
◆ wall_gll_sampler_sample()
- Parameters
-
| field | Field to be sampled. |
| values | Output sampled values in sampler ordering. |
Definition at line 297 of file wall_gll_sampler.f90.