Octopus
box_user_defined_oct_m Module Reference

Data Types

interface  box_user_defined_t
 Class implementing a box defined by a mathematical expression. This box needs to be inside a parallelepiped in order to avoid problems when the mathematical expression does not define a closed box in one or more directions. For example, in 2D, the expression x > y is not bounded, but if we intersect it with a square box, it defines a triangle. More...
 

Functions/Subroutines

class(box_user_defined_t) function, pointer box_user_defined_constructor (dim, center, axes, expression, length, namespace)
 
subroutine box_user_defined_finalize (this)
 
logical function, dimension(1:nn) box_user_defined_shape_contains_points (this, nn, xx)
 
subroutine box_user_defined_write_info (this, iunit, namespace)
 
character(len=box_info_len) function box_user_defined_short_info (this, unit_length)
 

Function/Subroutine Documentation

◆ box_user_defined_constructor()

class(box_user_defined_t) function, pointer box_user_defined_oct_m::box_user_defined_constructor ( integer, intent(in)  dim,
real(real64), dimension(dim), intent(in)  center,
real(real64), dimension(dim, dim), intent(in)  axes,
character(len=1024), intent(in)  expression,
real(real64), dimension(dim), intent(in)  length,
type(namespace_t), intent(in)  namespace 
)
private
Parameters
[in]lengthlength of the parallelepiped along each corresponding basis vector

Definition at line 156 of file box_user_defined.F90.

◆ box_user_defined_finalize()

subroutine box_user_defined_oct_m::box_user_defined_finalize ( type(box_user_defined_t), intent(inout)  this)
private

Definition at line 182 of file box_user_defined.F90.

◆ box_user_defined_shape_contains_points()

logical function, dimension(1:nn) box_user_defined_oct_m::box_user_defined_shape_contains_points ( class(box_user_defined_t), intent(in)  this,
integer, intent(in)  nn,
real(real64), dimension(:,:), intent(in), contiguous  xx 
)
private

Definition at line 194 of file box_user_defined.F90.

◆ box_user_defined_write_info()

subroutine box_user_defined_oct_m::box_user_defined_write_info ( class(box_user_defined_t), intent(in)  this,
integer, intent(in), optional  iunit,
type(namespace_t), intent(in), optional  namespace 
)
private

Definition at line 220 of file box_user_defined.F90.

◆ box_user_defined_short_info()

character(len=box_info_len) function box_user_defined_oct_m::box_user_defined_short_info ( class(box_user_defined_t), intent(in)  this,
type(unit_t), intent(in)  unit_length 
)
private

Definition at line 234 of file box_user_defined.F90.