Defines the abstract interface for wall-model field samplers.
|
| subroutine | wall_sampler_init_base (this, n_nodes, n_samples, h, output_h) |
| | Initialise state common to all fully constructed wall samplers.
|
| subroutine | wall_sampler_output_h (this, coef, msk, bc_name) |
| | Write the first sampling distance at every wall node to a field file.
|
◆ wall_sampler_init_base()
| subroutine wall_sampler::wall_sampler_init_base |
( |
class(wall_sampler_t), intent(inout) | this, |
|
|
integer, intent(in) | n_nodes, |
|
|
integer, intent(in) | n_samples, |
|
|
type(vector_t), intent(in) | h, |
|
|
logical, intent(in) | output_h ) |
|
private |
- Parameters
-
| n_nodes | Number of local wall nodes. |
| n_samples | Number of samples at each wall node. |
| h | Wall-normal distances in sampler ordering. |
| output_h | Whether to write the sampling-distance diagnostic. |
Definition at line 136 of file wall_sampler.f90.
◆ wall_sampler_output_h()
| subroutine wall_sampler::wall_sampler_output_h |
( |
class(wall_sampler_t), intent(inout) | this, |
|
|
type(coef_t), intent(in) | coef, |
|
|
integer, dimension(0:), intent(in) | msk, |
|
|
character(len=*), intent(in) | bc_name ) |
|
private |
The first sample is written to retain a scalar diagnostic field when samplers support multiple points per wall node.
- Parameters
-
| coef | SEM coefficients defining the output field. |
| msk | Mask selecting local wall nodes. |
| bc_name | Name of the owning boundary condition. |
Definition at line 164 of file wall_sampler.f90.