setup_resnorm Subroutine

public subroutine setup_resnorm(files, control, scheme, flow)

Allocate memory, setup scale and file to write

Arguments

Type IntentOptional AttributesName
type(filetype), intent(in) :: files

Files' name and handler

type(controltype), intent(in) :: control

Control parameters

type(schemetype), intent(in) :: scheme

finite-volume Schemes

type(flowtype), intent(in) :: flow

Information about fluid flow: freestream-{u,v,rho,p}, etc.


Calls

proc~~setup_resnorm~~CallsGraph proc~setup_resnorm setup_resnorm proc~allocate_memory allocate_memory proc~setup_resnorm->proc~allocate_memory proc~setup_file setup_file proc~setup_resnorm->proc~setup_file proc~setup_scale setup_scale proc~setup_resnorm->proc~setup_scale interface~alloc alloc proc~allocate_memory->interface~alloc proc~alloc_rank2_real alloc_rank2_real interface~alloc->proc~alloc_rank2_real proc~alloc_rank4_real alloc_rank4_real interface~alloc->proc~alloc_rank4_real proc~alloc_rank3_real alloc_rank3_real interface~alloc->proc~alloc_rank3_real proc~alloc_rank2_integer alloc_rank2_integer interface~alloc->proc~alloc_rank2_integer proc~alloc_rank1_integer alloc_rank1_integer interface~alloc->proc~alloc_rank1_integer proc~alloc_rank6_real alloc_rank6_real interface~alloc->proc~alloc_rank6_real proc~alloc_rank5_real alloc_rank5_real interface~alloc->proc~alloc_rank5_real proc~alloc_rank3_integer alloc_rank3_integer interface~alloc->proc~alloc_rank3_integer proc~alloc_rank1_real alloc_rank1_real interface~alloc->proc~alloc_rank1_real

Called by

proc~~setup_resnorm~~CalledByGraph proc~setup_resnorm setup_resnorm proc~setup_solver setup_solver proc~setup_solver->proc~setup_resnorm proc~start_run start_run proc~start_run->proc~setup_solver program~main main program~main->proc~start_run

Contents

Source Code


Source Code

    subroutine setup_resnorm(files, control, scheme, flow)
      !< Allocate memory, setup scale and file to write
      implicit none
      type(filetype), intent(in) :: files
      !< Files' name and handler
      type(controltype), intent(in) :: control
      !< Control parameters
      type(schemetype), intent(in) :: scheme
      !< finite-volume Schemes
      type(flowtype), intent(in) :: flow
      !< Information about fluid flow: freestream-{u,v,rho,p}, etc.
      call allocate_memory(control)
      call setup_scale(scheme, flow)
      call setup_file(files, control)
    end subroutine setup_resnorm