|
Neko 1.99.3
A portable framework for high-order spectral element flow simulations
|
Implements probes. More...
Data Types | |
| type | probes_t |
Functions/Subroutines | |
| subroutine | probes_init_from_json (this, json, case) |
| Constructor from json. | |
| subroutine | probes_init_from_components (this, dof, output_file, name, tolerance, padding) |
| Initialize based on individual parameters. | |
| subroutine | read_file (this, json) |
| Read a list of points from a csv file. | |
| subroutine | read_point (this, json) |
| Read a list of points from the json file. | |
| subroutine | read_line (this, json) |
| Construct a list of points from a line. | |
| subroutine | read_circle (this, json) |
| Construct a list of points from a circle. | |
| subroutine | read_point_zone (this, json, dof) |
| Construct a list of points from a point zone. | |
| subroutine | add_points (this, new_points) |
| Append a new list of points to the exsiting list. | |
| subroutine | probes_init_common (this, dof, output_file, name) |
| Common constructor. | |
| subroutine | probes_free (this) |
| Destructor. | |
| subroutine | probes_show (this) |
| Print current probe status, with number of probes and coordinates. | |
| subroutine | probes_debug (this) |
| Show the status of processor/element owner and error code for each point. | |
| subroutine | probes_setup_offset (this) |
| Setup offset for rank 0. | |
| subroutine | probes_evaluate_and_write (this, time) |
Interpolate each probe from its r,s,t coordinates. | |
| subroutine | read_probe_locations (this, xyz, n_local_probes, n_global_probes, points_file) |
Initialize the physical coordinates from a csv input file. | |
| subroutine | read_xyz_from_csv (xyz, n_local_probes, n_global_probes, f) |
Read and initialize the number of probes from a csv input file. | |
gslib, namely findpts_setup, findpts, and findpts_eval. A full description of these subroutines can be found at https://github.com/Nek5000/gslib/blob/master/src/findpts.c
|
private |
| [in,out] | this | The probes object. |
| [in] | new_points | The new points to be appended. |
Definition at line 477 of file probes.F90.
|
private |
Definition at line 665 of file probes.F90.
|
private |
| t | Current simulation time. |
| tstep | Current time step. |
Do not execute if we are below the start_time
Check controller to determine if we must write
Definition at line 706 of file probes.F90.
|
private |
Definition at line 586 of file probes.F90.
|
private |
| dof | Dofmap to probe |
| output_file | Name of output file, current must be CSV |
| name | Name of the probes simcomp. |
find probes and redistribute them
Allocate output array
Initialize the output file
Necessary for not-parallel csv format... offsets and n points per pe Needed at root for sequential csv i/o
Definition at line 510 of file probes.F90.
|
private |
| dof | Dofmap to probe |
| output_file | Name of output file, current must be CSV |
| name | Name of the probes simcomp. |
| tolerance | Tolerance for finding the probe coordinates. |
| padding | Padding for finding the probe coordinates. |
Definition at line 244 of file probes.F90.
| subroutine probes::probes_init_from_json | ( | class(probes_t), intent(inout), target | this, |
| type(json_file), intent(inout) | json, | ||
| class(case_t), intent(inout), target | case | ||
| ) |
Read from case file
Definition at line 133 of file probes.F90.

|
private |
Definition at line 682 of file probes.F90.
|
private |
|
private |
The general structure of the circle is defined by a center point, a radius and a normal to the plane it lies on. The circle is then discretized into a number of points, based on the amount parameter. The points are added clockwise starting from a chosen axis, which is defined by the axis parameter.
x, y, or z. | [in,out] | this | The probes object. |
| [in,out] | json | The json file object. |
Definition at line 360 of file probes.F90.
|
private |
| [in,out] | this | The probes object. |
| [in,out] | json | The json file object. |
Definition at line 270 of file probes.F90.

|
private |
| [in,out] | this | The probes object. |
| [in,out] | json | The json file object. |
Definition at line 316 of file probes.F90.
|
private |
| [in,out] | this | The probes object. |
| [in,out] | json | The json file object. |
Definition at line 291 of file probes.F90.
|
private |
The GLL points are read from the point zone and added to the probe list.
| [in,out] | this | The probes object. |
| [in,out] | json | The json file object. |
Definition at line 436 of file probes.F90.

|
private |
| points_file | A csv file containing probes. |
Supporting variables
Reads on rank 0 and distributes the probes across the different ranks
Close the file
Definition at line 758 of file probes.F90.


|
private |
| xyz | xyz coordinates of the probes |
| n_local_probes | The number of probes local to this process |
| n_global_probes | The number of total probes on all processes |
| f | The csv file we read from |
Definition at line 788 of file probes.F90.
