PhysicalField_ Derived Type

type, public :: PhysicalField_


Components

Type Visibility Attributes Name Initial
character(len=:), public, allocatable :: name
real(kind=real64), public, allocatable :: scalar(:)
real(kind=real64), public, allocatable :: vector(:,:)
real(kind=real64), public, allocatable :: tensor(:,:,:)
integer(kind=int32), public :: attribute = 0
integer(kind=int32), public :: datastyle = 0

Type-Bound Procedures

procedure, public, pass :: importPhysicalFieldScalar

  • public subroutine importPhysicalFieldScalar(obj, scalar, name)

    Arguments

    Type IntentOptional Attributes Name
    class(PhysicalField_), intent(inout) :: obj
    real(kind=real64), intent(in) :: scalar(:)
    character(len=*), intent(in) :: name

procedure, public, pass :: importPhysicalFieldVector

  • public subroutine importPhysicalFieldVector(obj, vector, name)

    Arguments

    Type IntentOptional Attributes Name
    class(PhysicalField_), intent(inout) :: obj
    real(kind=real64), intent(in) :: vector(:,:)
    character(len=*), intent(in) :: name

procedure, public, pass :: importPhysicalFieldTensor => importPhysicalFieldtensor

  • public subroutine importPhysicalFieldtensor(obj, tensor, name)

    Arguments

    Type IntentOptional Attributes Name
    class(PhysicalField_), intent(inout) :: obj
    real(kind=real64), intent(in) :: tensor(:,:,:)
    character(len=*), intent(in) :: name
  • public subroutine importPhysicalFieldScalar(obj, scalar, name)

    Arguments

    Type IntentOptional Attributes Name
    class(PhysicalField_), intent(inout) :: obj
    real(kind=real64), intent(in) :: scalar(:)
    character(len=*), intent(in) :: name
  • public subroutine importPhysicalFieldVector(obj, vector, name)

    Arguments

    Type IntentOptional Attributes Name
    class(PhysicalField_), intent(inout) :: obj
    real(kind=real64), intent(in) :: vector(:,:)
    character(len=*), intent(in) :: name
  • public subroutine importPhysicalFieldtensor(obj, tensor, name)

    Arguments

    Type IntentOptional Attributes Name
    class(PhysicalField_), intent(inout) :: obj
    real(kind=real64), intent(in) :: tensor(:,:,:)
    character(len=*), intent(in) :: name

procedure, public :: clear => clearPhysicalField

procedure, public :: init => clearPhysicalField

procedure, public :: remove => clearPhysicalField

procedure, public :: msh => mshPhysicalField

  • public subroutine mshPhysicalField(obj, name, caption)

    Arguments

    Type IntentOptional Attributes Name
    class(PhysicalField_), intent(inout) :: obj
    character(len=*), intent(in) :: name
    character(len=*), intent(in), optional :: caption