BSpline Finite Element Exterior Calculus
Loading...
Searching...
No Matches
m_tensorprod_indices::box Type Reference

Type to represent a 3D box. More...

Public Member Functions

procedure is_inside (this, x, y, z)
 Check if a point is inside the box.
 

Public Attributes

real(wp) x0 = 0._wp
 Left most x-coordinate.
 
real(wp) x1 = -1._wp
 Right most x-coordinate.
 
real(wp) y0 = 0._wp
 Left most y-coordinate.
 
real(wp) y1 = -1._wp
 Right most y-coordinate.
 
real(wp) z0 = 0._wp
 Left most z-coordinate.
 
real(wp) z1 = -1._wp
 Right most z-coordinate.
 

Detailed Description

Type to represent a 3D box.

Member Function/Subroutine Documentation

◆ is_inside()

procedure m_tensorprod_indices::box::is_inside ( class(box), intent(in) this,
real(wp), intent(in) x,
real(wp), intent(in) y,
real(wp), intent(in) z )

Check if a point is inside the box.

Parameters
thisThe box
xThe x-coordinate of the point
yThe y-coordinate of the point
zThe z-coordinate of the point
Returns
True if the point is inside the box, false otherwise

The documentation for this type was generated from the following file: