version 0.6.0
Loading...
Searching...
No Matches
type_sampler::t_sampler Type Reference

Sampler. Sample a file on a set of points.

Public Member Functions

procedure sample_field_cell (sampler, field, samples)
 Sample a field defined on cells.
 
procedure sample_field_face_u (sampler, field, samples)
 Sample a field defined on faces in direction _u.
 
procedure sample_field_face_v (sampler, field, samples)
 Sample a field defined on faces in direction _v.
 
procedure sample_field_face_w (sampler, field, samples)
 Sample a field defined on faces in direction _w.
 

Public Attributes

double precision, dimension(:,:), allocatable point
 List of sample points.
 
logical, dimension(:), allocatable is_inside
 List of samples inside the current MPI domain.
 
integer, dimension(:,:), allocatable cell
 Cell list.
 
integer, dimension(:,:), allocatable face_u
 Face list u.
 
integer, dimension(:,:), allocatable face_v
 Face list v.
 
integer, dimension(:,:), allocatable face_w
 Face list w.
 
integer nb_points = 0
 Number of points.
 

Member Function/Subroutine Documentation

◆ sample_field_cell()

procedure type_sampler::t_sampler::sample_field_cell ( class(t_sampler), intent(in) sampler,
double precision, dimension(:,:,:), intent(in) field,
double precision, dimension(:), intent(out) samples )
Parameters
[in]samplerSampler
[in]fieldField defined on cells
[out]samplesArray of samples

◆ sample_field_face_u()

procedure type_sampler::t_sampler::sample_field_face_u ( class(t_sampler), intent(in) sampler,
type(t_face_field), intent(in) field,
double precision, dimension(:), intent(out) samples )
Parameters
[in]samplerSampler
[in]fieldField defined on faces
[out]samplesArray of samples

◆ sample_field_face_v()

procedure type_sampler::t_sampler::sample_field_face_v ( class(t_sampler), intent(in) sampler,
type(t_face_field), intent(in) field,
double precision, dimension(:), intent(out) samples )
Parameters
[in]samplerSampler
[in]fieldField defined on faces
[out]samplesArray of samples

◆ sample_field_face_w()

procedure type_sampler::t_sampler::sample_field_face_w ( class(t_sampler), intent(in) sampler,
type(t_face_field), intent(in) field,
double precision, dimension(:), intent(out) samples )
Parameters
[in]samplerSampler
[in]fieldField defined on faces
[out]samplesArray of samples

The documentation for this type was generated from the following file: