MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_patch_geometries Module Reference

Contains helper functions specific to various patch gemoetries for determining if a grid cell lies inside of or outside of a patch geometry. More...

Functions/Subroutines

logical function, public f_is_inside_sphere (x, y, z, radius)
 Check if the x, y, and z coordinates would be located inside a sphere with the patch_id's radius.
logical function, public f_is_inside_cylinder (polar_x, polar_y, height, radius, length)
 Check which length of the cylinder is not default. Use that direction as the height and the other two coordinate.
logical function, public f_is_inside_cuboid (x, y, z, length)
 Check if the x, y, and possibly z coordinates would be located inside a cuboid with the patch_id's lengths.
logical function, public f_is_inside_airfoil (x, y, z, length, airfoil_id)
 Check if the x, y, are bounded by a NACA airfoil. Check if the z coordinate is inside the left and right edges of the airfoil, if set.
logical function, public f_is_inside_ellipse (x, y, length)

Detailed Description

Contains helper functions specific to various patch gemoetries for determining if a grid cell lies inside of or outside of a patch geometry.

Function/Subroutine Documentation

◆ f_is_inside_airfoil()

logical function, public m_patch_geometries::f_is_inside_airfoil ( real(wp), intent(in) x,
real(wp), intent(in) y,
real(wp), intent(in) z,
real(wp), intent(in) length,
integer, intent(in) airfoil_id )

Check if the x, y, are bounded by a NACA airfoil. Check if the z coordinate is inside the left and right edges of the airfoil, if set.

Definition at line 430 of file m_patch_geometries.fpp.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ f_is_inside_cuboid()

logical function, public m_patch_geometries::f_is_inside_cuboid ( real(wp), intent(in) x,
real(wp), intent(in) y,
real(wp), intent(in) z,
real(wp), dimension(3), intent(in) length )

Check if the x, y, and possibly z coordinates would be located inside a cuboid with the patch_id's lengths.

Definition at line 398 of file m_patch_geometries.fpp.f90.

Here is the caller graph for this function:

◆ f_is_inside_cylinder()

logical function, public m_patch_geometries::f_is_inside_cylinder ( real(wp), intent(in) polar_x,
real(wp), intent(in) polar_y,
real(wp), intent(in) height,
real(wp), intent(in) radius,
real(wp), intent(in) length )

Check which length of the cylinder is not default. Use that direction as the height and the other two coordinate.

Definition at line 368 of file m_patch_geometries.fpp.f90.

Here is the caller graph for this function:

◆ f_is_inside_ellipse()

logical function, public m_patch_geometries::f_is_inside_ellipse ( real(wp), intent(in) x,
real(wp), intent(in) y,
real(wp), dimension(3), intent(in) length )

Definition at line 501 of file m_patch_geometries.fpp.f90.

Here is the caller graph for this function:

◆ f_is_inside_sphere()

logical function, public m_patch_geometries::f_is_inside_sphere ( real(wp), intent(in) x,
real(wp), intent(in) y,
real(wp), intent(in) z,
real(wp), intent(in) radius )

Check if the x, y, and z coordinates would be located inside a sphere with the patch_id's radius.

Definition at line 341 of file m_patch_geometries.fpp.f90.

Here is the caller graph for this function: