face Derived Type

type, public :: face


Inherited by

type~~face~~InheritedByGraph type~face face type~mesh mesh type~mesh->type~face faces type~pde pde type~pde->type~mesh msh type~field field type~field->type~mesh msh type~scalar_field scalar_field type~scalar_field->type~field type~vector_field vector_field type~vector_field->type~field type~scalar_pde scalar_pde type~scalar_pde->type~pde type~vector_pde vector_pde type~vector_pde->type~pde

Contents

Source Code


Components

TypeVisibility AttributesNameInitial
integer, private :: flag
integer, private :: master
integer, private :: nv
integer, private :: slave

Type-Bound Procedures

generic, public :: flag_ => get_face_flag

generic, public :: master_ => get_face_master

generic, public :: nemo_sizeof => nemo_face_sizeof

generic, public :: nv_ => get_face_nv

procedure, public :: set_face

  • interface

    private module subroutine set_face(f, nv, master, slave, flag)

    Arguments

    Type IntentOptional AttributesName
    class(face), intent(inout) :: f
    integer, intent(in), optional :: nv
    integer, intent(in), optional :: master
    integer, intent(in), optional :: slave
    integer, intent(in), optional :: flag

generic, public :: slave_ => get_face_slave

procedure, private :: get_face_flag

  • interface

    private elemental module function get_face_flag(f)

    Arguments

    Type IntentOptional AttributesName
    class(face), intent(in) :: f

    Return Value integer

procedure, private :: get_face_master

  • interface

    private elemental module function get_face_master(f)

    Arguments

    Type IntentOptional AttributesName
    class(face), intent(in) :: f

    Return Value integer

procedure, private :: get_face_nv

  • interface

    private elemental module function get_face_nv(f)

    Arguments

    Type IntentOptional AttributesName
    class(face), intent(in) :: f

    Return Value integer

procedure, private :: get_face_slave

  • interface

    private elemental module function get_face_slave(f)

    Arguments

    Type IntentOptional AttributesName
    class(face), intent(in) :: f

    Return Value integer

procedure, private :: nemo_face_sizeof

  • interface

    private elemental module function nemo_face_sizeof(fc)

    Arguments

    Type IntentOptional AttributesName
    class(face), intent(in) :: fc

    Return Value integer(kind=nemo_int_long_)

Source Code

    TYPE face
        PRIVATE
        INTEGER :: nv
        INTEGER :: master
        INTEGER :: slave
        INTEGER :: flag
    CONTAINS
        PROCEDURE, PRIVATE :: get_face_nv, get_face_master, get_face_slave, get_face_flag   ! Getters
        GENERIC, PUBLIC :: nv_ => get_face_nv
        GENERIC, PUBLIC :: master_ => get_face_master
        GENERIC, PUBLIC :: slave_ => get_face_slave
        GENERIC, PUBLIC :: flag_ => get_face_flag
        PROCEDURE :: set_face                                  ! Setters
        PROCEDURE, PRIVATE :: nemo_face_sizeof
        GENERIC, PUBLIC :: nemo_sizeof => nemo_face_sizeof
    END TYPE face