SABER
|
Mesh derived type. More...
Data Types | |
type | mesh_type |
Functions/Subroutines | |
subroutine | mesh_alloc (mesh, n) |
Allocation. More... | |
subroutine | mesh_init (mesh, mpl, rng, lon, lat) |
Intialization. More... | |
subroutine | mesh_dealloc (mesh) |
Release memory. More... | |
subroutine | mesh_copy (mesh_out, mesh_in) |
Copy. More... | |
subroutine | mesh_store (mesh, mpl, lon, lat) |
Store mesh cartesian coordinates. More... | |
subroutine | mesh_trlist (mesh, mpl) |
Compute triangle list, arc list. More... | |
subroutine | mesh_bnodes (mesh, mpl, bdist) |
Find boundary nodes. More... | |
subroutine | mesh_find_bdist (mesh, mpl, lon, lat, bdist) |
Find shortest distance to boundary arcs. More... | |
subroutine | mesh_check (mesh, mpl, valid) |
Check whether the mesh is made of counter-clockwise triangles. More... | |
subroutine | mesh_inside (mesh, mpl, lon, lat, inside_mesh) |
Find whether a point is inside the mesh. More... | |
subroutine | mesh_barycentric (mesh, mpl, lon, lat, istart, b, ib) |
Compute barycentric coordinates. More... | |
subroutine | mesh_count_bnda (mesh, gmask, nbnda) |
Count boundary arcs. More... | |
subroutine | mesh_get_bnda (mesh, gmask, nbnda, bnda_index) |
Get boundary arcs. More... | |
Variables | |
logical, parameter | shuffle = .true. |
Mesh derived type.
|
private |
|
private |
Compute barycentric coordinates.
[in,out] | mpl | MPI data |
[in] | lon | Longitude |
[in] | lat | Latitude |
[in] | istart | Starting index |
[out] | b | Barycentric weights |
[out] | ib | Barycentric indices |
Definition at line 660 of file type_mesh.F90.
|
private |
Find boundary nodes.
[in,out] | mpl | MPI data |
[in] | bdist | Find minimum distance a boundary arc |
Definition at line 417 of file type_mesh.F90.
|
private |
Check whether the mesh is made of counter-clockwise triangles.
[in,out] | mpl | MPI data |
[out] | valid | Validity flag |
Definition at line 557 of file type_mesh.F90.
|
private |
Copy.
[in,out] | mesh_out | Output mesh |
[in] | mesh_in | Input mesh |
Definition at line 260 of file type_mesh.F90.
|
private |
Count boundary arcs.
[in] | gmask | Mask |
[out] | nbnda | Number of boundary nodes |
Definition at line 696 of file type_mesh.F90.
|
private |
Release memory.
Definition at line 223 of file type_mesh.F90.
|
private |
Find shortest distance to boundary arcs.
[in,out] | mpl | MPI data |
[in] | lon | Longitude |
[in] | lat | Latitude |
[out] | bdist | Distance to boundary |
Definition at line 500 of file type_mesh.F90.
|
private |
Get boundary arcs.
[in] | gmask | Mask |
[in] | nbnda | Number of boundary nodes |
[out] | bnda_index | Boundary node index |
Definition at line 739 of file type_mesh.F90.
|
private |
Intialization.
[in,out] | mpl | MPI data |
[in,out] | rng | Random number generator |
[in] | lon | Longitudes |
[in] | lat | Latitudes |
Definition at line 112 of file type_mesh.F90.
|
private |
Find whether a point is inside the mesh.
[in,out] | mpl | MPI data |
[in] | lon | Longitude |
[in] | lat | Latitude |
[out] | inside_mesh | True if the point is inside the mesh |
Definition at line 628 of file type_mesh.F90.
|
private |
Store mesh cartesian coordinates.
[in,out] | mpl | MPI data |
[in] | lon | Longitude |
[in] | lat | Latitude |
Definition at line 319 of file type_mesh.F90.
|
private |
Compute triangle list, arc list.
[in,out] | mpl | MPI data |
Definition at line 351 of file type_mesh.F90.
logical, parameter type_mesh::shuffle = .true. |
Definition at line 21 of file type_mesh.F90.