0.6.0
Loading...
Searching...
No Matches
type_sampler Module Reference

Data Types

type  t_sampler
 Sampler. Sample a file on a set of points. More...
 

Functions/Subroutines

subroutine, public initialize_sampler (sampler)
 Initialize a sampler. The points of the sampler must be defined prior to call this routine.
 
subroutine, public initialize_samples (sampler, samples)
 Initialize an array of samples from a sampler.
 
subroutine, public sample_field_cell (sampler, field, samples)
 Sample a field defined on cells.
 
subroutine, public sample_field_face_u (sampler, field, samples)
 Sample a field defined on faces in direction _u.
 
subroutine, public sample_field_face_v (sampler, field, samples)
 Sample a field defined on faces in direction _v.
 
subroutine, public sample_field_face_w (sampler, field, samples)
 Sample a field defined on faces in direction _w.
 
subroutine sample_field_generic (sampler, field, samples, is, js, ks, coord_x, coord_y, coord_z, cell)
 
integer function locate_cell (x, guess, coord)
 

Function/Subroutine Documentation

◆ locate_cell()

integer function type_sampler::locate_cell ( double precision, intent(in) x,
integer, intent(in) guess,
double precision, dimension(:), intent(in) coord )
private

◆ sample_field_generic()

subroutine type_sampler::sample_field_generic ( type(t_sampler), intent(in) sampler,
double precision, dimension(:,:,:), intent(in) field,
double precision, dimension(:), intent(out) samples,
integer, intent(in) is,
integer, intent(in) js,
integer, intent(in) ks,
double precision, dimension(:), intent(in) coord_x,
double precision, dimension(:), intent(in) coord_y,
double precision, dimension(:), intent(in) coord_z,
integer, dimension(:,:), intent(in) cell )
private