ply_dof_module Module

Module provides subroutines, functions and datatypes regarding cell local degrees of freedoms.


Uses

  • module~~ply_dof_module~~UsesGraph module~ply_dof_module ply_dof_module module~env_module env_module module~ply_dof_module->module~env_module

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, public, parameter:: Q_space =1

Parameter to identify Q polynomials

integer, public, parameter:: P_space =2

Parameter to identify P polynomials


Functions

public elemental function ply_dof_2degree(ndofs, space, ndims) result(deg)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: ndofs
integer, intent(in) :: space
integer, intent(in) :: ndims

Return Value integer

public elemental function ply_degree_2dof(deg, space, nDims) result(nDofs)

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: deg
integer, intent(in) :: space
integer, intent(in) :: nDims

Return Value integer


Subroutines

public subroutine ply_change_poly_space(inspace, instate, outstate, maxPolyDeg, nElems, nVars, nDims)

Subroutine to change the polynomial space (Q or P) of an atl_statedata_type from Q-space to P-space and vice versa.

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: inspace

Polynomial space of the input state (P_sapce or Q_space)

real(kind=rk), intent(in) :: instate(:,:,:)

States of the variables of the input in polynomial space as prescribed in inspace.

real(kind=rk), intent(inout) :: outstate(:,:,:)

States of the variables of the output.

integer, intent(in) :: maxPolyDeg
integer, intent(in) :: nElems
integer, intent(in) :: nVars
integer, intent(in) :: nDims