STLfile Derived Type

type, public :: STLfile


Components

Type Visibility Attributes Name Initial
type(Object_type), public, dimension(:), allocatable :: ObjectsList
integer, public :: NumOfObjs
integer, public :: partition
integer, public :: motionAxis
integer, public :: body
integer, public :: NumOfObjs_OLD
real(kind=RP), public :: angularVelocity
real(kind=RP), public :: ds
real(kind=RP), public :: Velocity
real(kind=RP), public :: rotationMatrix(NDIM,NDIM)
real(kind=RP), public :: rotationCenter(NDIM)
logical, public :: move
logical, public :: show
logical, public :: construct = .false.
character(len=LINE_LENGTH), public :: filename
character(len=LINE_LENGTH), public :: motionType

Type-Bound Procedures

procedure, public :: ReadTessellation

  • public subroutine ReadTessellation(this, filename)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this
    character(len=*), intent(in) :: filename

procedure, public :: getRotationaMatrix => STLfile_getRotationaMatrix

  • public subroutine STLfile_getRotationaMatrix(this, t, angle)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this
    real(kind=RP), intent(in) :: t
    real(kind=RP), intent(in), optional :: angle

procedure, public :: getDisplacement => STLfile_getDisplacement

  • public subroutine STLfile_getDisplacement(this, t)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this
    real(kind=RP), intent(in) :: t

procedure, public :: Clip => STL_Clip

  • public subroutine STL_Clip(this, minplane, maxplane, axis, describe)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this
    real(kind=RP), intent(in) :: minplane
    real(kind=RP), intent(in) :: maxplane
    integer, intent(in) :: axis
    logical, intent(in) :: describe

procedure, public :: updateNormals => STL_updateNormals

  • public subroutine STL_updateNormals(this)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this

procedure, public :: SetIntegration => STL_SetIntegration

  • public subroutine STL_SetIntegration(this, NumOfInterPoints)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this
    integer, intent(in) :: NumOfInterPoints

procedure, public :: ComputeVectorIntegral => STL_ComputeVectorIntegral

  • public function STL_ComputeVectorIntegral(this)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this

    Return Value real(kind=RP), (NDIM)

procedure, public :: ComputeScalarIntegral => STL_ComputeScalarIntegral

  • public function STL_ComputeScalarIntegral(this)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this

    Return Value real(kind=RP)

procedure, public :: destroy => STLfile_destroy

  • public subroutine STLfile_destroy(this)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this

procedure, public :: Describe => Describe_STLfile

  • public subroutine Describe_STLfile(this, filename)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this
    character(len=*), intent(in) :: filename

procedure, public :: Copy => STLfile_copy

  • public subroutine STLfile_copy(this, STL)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this
    type(STLfile), intent(in) :: STL

procedure, public :: plot => STLfile_plot

  • public subroutine STLfile_plot(this, iter)

    Arguments

    Type IntentOptional Attributes Name
    class(STLfile), intent(inout) :: this
    integer, intent(in) :: iter

procedure, public :: SetIntegrationPoints => STL_SetIntegrationPoints