polynomials Derived Type

type, public, extends(base_object) :: polynomials

type~~polynomials~~InheritsGraph type~polynomials polynomials type~base_object base_object type~base_object->type~polynomials
Help


Abstract polynomials object.

Inherited By

type~~polynomials~~InheritedByGraph type~polynomials polynomials type~interpolator interpolator type~polynomials->type~interpolator polynom type~interpolator_js interpolator_js type~polynomials->type~interpolator_js polynom type~polynomials_js polynomials_js type~polynomials->type~polynomials_js type~interpolator->type~interpolator_js
Help

Source Code


Components

TypeVisibility AttributesNameInitial
real(kind=R_P), public, allocatable:: poly(:,:)

Polynomial reconstructions [1:2,0:S-1].


Type-Bound Procedures

procedure, public, pass(self) :: compute

Compute polynomials.

  • private pure subroutine compute(self, S, stencil, f1, f2, ff)

    Compute polynomials.

    Arguments

    Type IntentOptional AttributesName
    class(polynomials), intent(inout) :: self

    Polynomials.

    integer(kind=I_P), intent(in) :: S

    Number of stencils used.

    real(kind=R_P), intent(in) :: stencil(1:,1-S:)

    Stencil used for the interpolation, [1:2, 1-S:-1+S].

    integer(kind=I_P), intent(in) :: f1

    Faces to be computed.

    integer(kind=I_P), intent(in) :: f2

    Faces to be computed.

    integer(kind=I_P), intent(in) :: ff

    Faces to be computed.

procedure, public, nopass :: description

Return polynomials string-description.

  • private pure function description() result(string)

    Return polynomials string-description.

    Arguments

    None

    Return Value character(len=:), allocatable

    String-description.

procedure, public, pass(self) :: create

Createte polynomials.

  • private pure subroutine create(self, constructor)

    Create polynomials.

    Arguments

    Type IntentOptional AttributesName
    class(polynomials), intent(inout) :: self

    Polynomials.

    class(base_object_constructor), intent(in) :: constructor

    Polynomials constructor.

procedure, public, pass(self) :: destroy

Destroy polynomials.

  • private elemental subroutine destroy(self)

    Destroy polynomials.

    Arguments

    Type IntentOptional AttributesName
    class(polynomials), intent(inout) :: self

    Polynomials.

Source Code

type, extends(base_object) :: polynomials
  !< Abstract polynomials object.
  real(R_P), allocatable :: poly(:,:)   !< Polynomial reconstructions [1:2,0:S-1].
  contains
    ! deferred public methods
    procedure, pass(self) :: compute     !< Compute polynomials.
    procedure, nopass     :: description !< Return polynomials string-description.
    ! public methods
    procedure, pass(self) :: create  !< Createte polynomials.
    procedure, pass(self) :: destroy !< Destroy polynomials.
endtype polynomials