fplot 1.7.1
A Fortran library providing a convenient interface for plotting with Gnuplot.
|
Provides a type describing a triangulated surface. More...
Public Member Functions | |
procedure, public | define_function_values dts_define_fcn |
Defines the function values that correspond to the x and y data points. | |
procedure, public | get_points_z dts_get_z |
Gets the z-coordinates of each point. | |
generic, public | evaluate dts_interp_1 |
Evaluates the function at the requested point by means of linear interpolation. | |
generic, public | evaluate dts_interp_2 |
Evaluates the function at the requested point by means of linear interpolation. | |
procedure | dts_interp_1 dts_interp_1 |
procedure | dts_interp_2 dts_interp_2 |
Public Member Functions inherited from fplot_core::delaunay_tri_2d | |
procedure, public | create d2d_init |
Creates an unconstrained 2D Delaunay triangulation given a set of x-y points. | |
procedure, public | get_point_count d2d_get_pt_count |
Gets the number of points in the triangulation. | |
procedure, public | get_triangle_count d2d_get_tri_count |
Gets the number of triangles in the triangulation. | |
procedure, public | get_points_x d2d_get_x_pts |
Gets the x-coordinates of each point. | |
procedure, public | get_points_y d2d_get_y_pts |
Gets the y-coordinates of each point. | |
procedure, public | get_indices d2d_get_tris |
Gets a list of the indices of each triangle vertex. | |
procedure, public | find_triangle d2d_get_tri_with_pt |
Finds the triangle that contains the specified point. | |
Private Attributes | |
real(real64), dimension(:), allocatable | m_z |
An array of the z-coordinates of each point. | |
Additional Inherited Members | |
Public Attributes inherited from fplot_core::delaunay_tri_2d | |
real(real64), dimension(:), allocatable | m_y |
An array of the y-coordinates of each point. | |
integer(int32), dimension(:,:), allocatable | m_indices |
A 3-column matrix containing the indices of each triangle's vertex. | |
Provides a type describing a triangulated surface.
Definition at line 7032 of file fplot_core.f90.
procedure, public fplot_core::delaunay_tri_surface::define_function_values |
Defines the function values that correspond to the x and y data points.
[in,out] | this | The delaunay_tri_surface object. |
[in] | z | An N-element array containing the function values for each x and y coordinate. Notice, the x and y coordinates must already be defined prior to calling this routine. |
[in,out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
Definition at line 7061 of file fplot_core.f90.
procedure fplot_core::delaunay_tri_surface::dts_interp_1 |
Definition at line 7088 of file fplot_core.f90.
procedure fplot_core::delaunay_tri_surface::dts_interp_2 |
Definition at line 7089 of file fplot_core.f90.
generic, public fplot_core::delaunay_tri_surface::evaluate |
Evaluates the function at the requested point by means of linear interpolation.
[in] | this | The delaunay_tri_surface object. |
[in] | x | The x-coordinate at which to evaluate the function. |
[in] | y | The y-coordinate at which to evaluate the function. |
x
, y
) does not lie within the range of defined values, then a value of NaN is returned. Definition at line 7086 of file fplot_core.f90.
generic, public fplot_core::delaunay_tri_surface::evaluate |
Evaluates the function at the requested point by means of linear interpolation.
[in] | this | The delaunay_tri_surface object. |
[in] | x | The x-coordinate at which to evaluate the function. |
[in] | y | The y-coordinate at which to evaluate the function. |
x
, y
) does not lie within the range of defined values, then a value of NaN is returned. Definition at line 7086 of file fplot_core.f90.
procedure, public fplot_core::delaunay_tri_surface::get_points_z |
Gets the z-coordinates of each point.
[in] | this | The delaunay_tri_2d object. |
Definition at line 7071 of file fplot_core.f90.
|
private |
An array of the z-coordinates of each point.
Definition at line 7035 of file fplot_core.f90.