dump_tem_BC_qVal Subroutine

public subroutine dump_tem_BC_qVal(me, offset, nElems, basename, myPart, comm)

dump bc properties

Arguments

Type IntentOptional Attributes Name
type(tem_BC_prop_type), intent(in) :: me

Boundary condition construct to load the data into

integer(kind=long_k), intent(in) :: offset

Offset of the local set of elements in the global list

integer, intent(in) :: nElems

Local number of elements with this property

character(len=*), intent(in) :: basename

Name of the file, the data is stored in, will be appended with ".lua" for the header information and ".lsb" or ".msb" for the binary data.

integer, intent(in) :: myPart

Partition to dump

integer, intent(in) :: comm

Communicator to use


Calls

proc~~dump_tem_bc_qval~~CallsGraph proc~dump_tem_bc_qval dump_tem_BC_qVal proc~dump_tem_bc_qvalheader dump_tem_BC_qValHeader proc~dump_tem_bc_qval->proc~dump_tem_bc_qvalheader proc~dump_tem_bc_realarray dump_tem_BC_realArray proc~dump_tem_bc_qval->proc~dump_tem_bc_realarray proc~dump_tem_bc_logicalheader dump_tem_BC_logicalHeader proc~dump_tem_bc_qvalheader->proc~dump_tem_bc_logicalheader mpi_file_close mpi_file_close proc~dump_tem_bc_realarray->mpi_file_close mpi_file_open mpi_file_open proc~dump_tem_bc_realarray->mpi_file_open mpi_file_set_view mpi_file_set_view proc~dump_tem_bc_realarray->mpi_file_set_view mpi_file_write_all mpi_file_write_all proc~dump_tem_bc_realarray->mpi_file_write_all mpi_type_commit mpi_type_commit proc~dump_tem_bc_realarray->mpi_type_commit mpi_type_contiguous mpi_type_contiguous proc~dump_tem_bc_realarray->mpi_type_contiguous mpi_type_free mpi_type_free proc~dump_tem_bc_realarray->mpi_type_free mpi_type_size mpi_type_size proc~dump_tem_bc_realarray->mpi_type_size proc~check_mpi_error check_mpi_error proc~dump_tem_bc_realarray->proc~check_mpi_error proc~tem_create_endiansuffix tem_create_EndianSuffix proc~dump_tem_bc_realarray->proc~tem_create_endiansuffix mpi_error_string mpi_error_string proc~check_mpi_error->mpi_error_string proc~tem_abort tem_abort proc~check_mpi_error->proc~tem_abort aot_out_close aot_out_close proc~dump_tem_bc_logicalheader->aot_out_close aot_out_close_table aot_out_close_table proc~dump_tem_bc_logicalheader->aot_out_close_table aot_out_open aot_out_open proc~dump_tem_bc_logicalheader->aot_out_open aot_out_open_table aot_out_open_table proc~dump_tem_bc_logicalheader->aot_out_open_table aot_out_val aot_out_val proc~dump_tem_bc_logicalheader->aot_out_val mpi_abort mpi_abort proc~tem_abort->mpi_abort

Source Code

  subroutine dump_tem_BC_qVal( me, offset, nElems, basename, myPart, comm )
    ! ---------------------------------------------------------------------------
    !> Boundary condition construct to load the data into
    type(tem_BC_prop_type), intent(in) :: me
    !> Offset of the local set of elements in the global list
    integer(kind=long_k), intent(in) :: offset
    !> Local number of elements with this property
    integer, intent(in) :: nElems
    !> Name of the file, the data is stored in, will be appended with
    !! ".lua" for the header information and ".lsb" or ".msb" for the
    !! binary data.
    character(len=*), intent(in) :: basename
    !> Partition to dump
    integer, intent(in) :: myPart
    !> Communicator to use
    integer, intent(in) :: comm
    ! ---------------------------------------------------------------------------
    integer, parameter :: root = 0
    character(len=256) :: headerfile
    ! ---------------------------------------------------------------------------

    headerfile = trim(basename)//'.lua'

    if (myPart == root) then
      ! Only root partition needs to write the header
      !open up the mesh header lua file to dump the stuff using aotus library
      call dump_tem_BC_qValHeader( me, headerfile )
    end if

    call dump_tem_BC_realArray( offset   = offset,    &
      &                         arraylen = me%nSides, &
      &                         nElems   = nElems,    &
      &                         propdat  = me%qval,   &
      &                         basename = basename,  &
      &                         comm     = comm       )

  end subroutine dump_tem_BC_qVal