node Derived Type

type, public, extends(point) :: node

Defines a node.


Contents


Components

Type Visibility Attributes Name Initial
integer(kind=int32), public :: dof

The number of degrees of freeedom associated with this node.

integer(kind=int32), public :: index

The global index of the node.

real(kind=real64), public :: x

The x-coordinate.

real(kind=real64), public :: y

The y-coordinate.

real(kind=real64), public :: z

The z-coordinate.


Constructor

public interface node

  • private pure function nd_init_1(index, dof, x, y, z) result(rst)

    Constructs a new [[node]].

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=int32), intent(in) :: index

    The global index of the node.

    integer(kind=int32), intent(in) :: dof

    The number of degrees of freedom of the node.

    real(kind=real64), intent(in) :: x

    The x-coordinate.

    real(kind=real64), intent(in) :: y

    The y-coordinate.

    real(kind=real64), intent(in) :: z

    The z-coordinate.

    Return Value type(node)

    The new [[node]].

  • private pure function nd_init_2(index, dof, pt) result(rst)

    Constructs a new [[node]].

    Arguments

    Type IntentOptional Attributes Name
    integer(kind=int32), intent(in) :: index

    The global index of the node.

    integer(kind=int32), intent(in) :: dof

    The number of degrees of freedom of the node.

    class(point), intent(in) :: pt

    The location of the node.

    Return Value type(node)

    The new [[node]].