Skip to content

fossil_block_aabb_object

FOSSIL, Axis-Aligned Bounding Box (AABB) class definition for cartesian block.

Source: src/lib/fossil_block_aabb_object.f90

Dependencies

Contents

Derived Types

aabb_object

AABB refinment class definition for cartesian block.

Components

NameTypeAttributesDescription
bmintype(vector_R8P)Minimum point of AABB.
bmaxtype(vector_R8P)Maximum point of AABB.

Type-Bound Procedures

NameAttributesDescription
compute_octantspass(self)Compute AABB octants.
is_insidepass(self)Return the true if point is inside ABB.
vertexpass(self)Return AABB vertices.
assignment(=)Overload =.
aabb_assign_aabbpass(lhs)Operator =.

Subroutines

compute_octants

Return AABB octants.

Attributes: pure

fortran
subroutine compute_octants(self, octant)

Arguments

NameTypeIntentAttributesDescription
selfclass(aabb_object)inAABB.
octanttype(aabb_object)outAABB octants.

Call graph

aabb_assign_aabb

Operator =.

Attributes: pure

fortran
subroutine aabb_assign_aabb(lhs, rhs)

Arguments

NameTypeIntentAttributesDescription
lhsclass(aabb_object)inoutLeft hand side.
rhstype(aabb_object)inRight hand side.

Functions

is_inside

Return the true if point is inside ABB.

Attributes: pure

Returns: logical

fortran
function is_inside(self, point)

Arguments

NameTypeIntentAttributesDescription
selfclass(aabb_object)inAABB.
pointtype(vector_R8P)inPoint reference.

Call graph

vertex

Return AABB vertices.

Attributes: pure

Returns: type(vector_R8P)

fortran
function vertex(self)

Arguments

NameTypeIntentAttributesDescription
selfclass(aabb_object)inAABB.

Call graph