sfepy.postprocess.probes_vtk module¶
Classes for probing values of Variables, for example, along a line, using PyVTK library
-
class
sfepy.postprocess.probes_vtk.
Probe
(data, mesh, **kwargs)[source]¶ Probe class.
-
add_circle_probe
(self, name, centre, normal, radius, n_point)[source]¶ Create the ray (line) probe - VTK object.
- Parameters
- namestr
The probe name.
- centrearray
The coordinates of the circle center point.
- normalarray
The normal vector perpendicular to the circle plane.
- radiusfloat
The radius of the circle.
- n_pointint
The number of probe points.
-
add_line_probe
(self, name, p0, p1, n_point)[source]¶ Create the line probe - VTK object.
- Parameters
- namestr
The probe name.
- p0array_like
The coordinates of the start point.
- p1array_like
The coordinates of the end point.
- n_pointint
The number of probe points.
-
add_points_probe
(self, name, coors)[source]¶ Create the point probe - VTK object.
- Parameters
- namestr
The probe name.
- coorsarray
The coordinates of the probe points.
-
add_ray_probe
(self, name, p0, dirvec, p_fun, n_point)[source]¶ Create the ray (line) probe - VTK object.
- Parameters
- namestr
The probe name.
- p0array
The coordinates of the start point.
- dirvecarray
The probe direction vector.
- p_funfunction
The function returning the probe parametrization along the dirvec direction.
- n_pointint
The number of probe points.
-