ply_convert2oversample Subroutine

public subroutine ply_convert2oversample(state, poly_proj, nDim, modalCoeffs, nScalars, ensure_positivity)

Copy a single element state into a larger array and pad it with zeroes.

The additional modes might be necessary for proper dealing with nonlinear operations. Please note, that the oversampled representation is always a Q-Space polynomial.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: state(:,:)

State in a single element, to be oversampled.

type(ply_poly_project_type), intent(in) :: poly_proj

Description of the projection method.

integer, intent(in) :: nDim

The number of dimensions to determine the correct oversampling routine.

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

Oversampled array for modal coefficients from state.

These are always Q-Polynomial representations, as projections only work with those.

integer, intent(in), optional :: nScalars

The number of scalar variables to convert. If nScalars is not passed to this subroutine, all variables of argument state will be considered by this routine.

logical, intent(in), optional :: ensure_positivity(:)

Only use modes up to the point, where we are sure that the resulting polynomial will be positive everywhere. This is an array of logicals for each variable, if not given, the default is false (no positivity ensured).


Calls

proc~~ply_convert2oversample~~CallsGraph proc~ply_convert2oversample ply_convert2oversample proc~ply_convert2oversample_1d ply_convert2oversample_1d proc~ply_convert2oversample->proc~ply_convert2oversample_1d proc~ply_convert2oversample_2d ply_convert2oversample_2d proc~ply_convert2oversample->proc~ply_convert2oversample_2d proc~ply_convert2oversample_3d ply_convert2oversample_3d proc~ply_convert2oversample->proc~ply_convert2oversample_3d

Called by

atl_cons_positivity_preservwply_convert2oversample
w
atl_cons_positivity_preserv_2dw
w
atl_eqn_euler_implicit_penw
w
atl_eqn_maxwell_implicit_penw
w
atl_equation_evaluate_source_nodalw
w
atl_generic_fromModal_getElementw
w
atl_initTimeStepInfow
w
atl_modg_2d_euler_oneDim_numFlux_constw
w
atl_modg_2d_euler_oneDim_numFlux_nonconstw
w
atl_modg_euler_oneDim_numFlux_constw
w
atl_modg_euler_oneDim_numFlux_nonconstw
w
atl_modg_viscNavierStokes_oneDim_numFluxw
w
atl_physCheck_acousticw
w
atl_physCheck_acoustic_2dw
w
atl_physCheck_eulerw
w
atl_physCheck_euler1dw
w
atl_physCheck_euler2dw
w
atl_physCheck_lineareulerw
w
atl_physCheck_lineareuler_2dw
w
atl_physCheck_Ransw
w
atl_physCheck_Rans_2dw
w
atl_positivity_preservw
w
atl_positivity_preserv_2dw
w
atl_stabilizew
w
check_fxt_3Dw
w
compute_physFlux_nonConstw
w
compute_physFlux_nonConst_2dw
w
compute_physFluxDivCor_nonConstw
w
eval_source_rans2Dw
w
implicit_updatew
w
maxwell_flux_nonconst_cube_vecw
w
maxwell_hc_flux_nonconst_cube_vecw
w
modg_1d_compute_project_physFluxw
w
modg_2d_compute_project_physFluxw
w
modg_2d_nodal_bndw
w
modg_2d_rans_oneDim_numFlux_constw
w
modg_2d_rans_oneDim_numFlux_nonconstw
w
modg_compute_project_physFluxw
w
modg_nodal_bndw
w