dump_tem_BC_normal Subroutine

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

dump normal information

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_normal~~CallsGraph proc~dump_tem_bc_normal dump_tem_BC_normal proc~dump_tem_bc_normalheader dump_tem_BC_NormalHeader proc~dump_tem_bc_normal->proc~dump_tem_bc_normalheader proc~dump_tem_bc_realarray dump_tem_BC_realArray proc~dump_tem_bc_normal->proc~dump_tem_bc_realarray proc~dump_tem_bc_logicalheader dump_tem_BC_logicalHeader proc~dump_tem_bc_normalheader->proc~dump_tem_bc_logicalheader mpi_type_contiguous mpi_type_contiguous proc~dump_tem_bc_realarray->mpi_type_contiguous mpi_type_size mpi_type_size proc~dump_tem_bc_realarray->mpi_type_size proc~tem_create_endiansuffix tem_create_EndianSuffix proc~dump_tem_bc_realarray->proc~tem_create_endiansuffix mpi_type_commit mpi_type_commit proc~dump_tem_bc_realarray->mpi_type_commit mpi_file_write_all mpi_file_write_all proc~dump_tem_bc_realarray->mpi_file_write_all 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 proc~check_mpi_error check_mpi_error proc~dump_tem_bc_realarray->proc~check_mpi_error mpi_file_set_view mpi_file_set_view proc~dump_tem_bc_realarray->mpi_file_set_view mpi_type_free mpi_type_free proc~dump_tem_bc_realarray->mpi_type_free proc~aot_out_close aot_out_close proc~dump_tem_bc_logicalheader->proc~aot_out_close proc~aot_out_open_table aot_out_open_table proc~dump_tem_bc_logicalheader->proc~aot_out_open_table proc~aot_out_close_table aot_out_close_table proc~dump_tem_bc_logicalheader->proc~aot_out_close_table proc~aot_out_val aot_out_val proc~dump_tem_bc_logicalheader->proc~aot_out_val proc~aot_out_open aot_out_open proc~dump_tem_bc_logicalheader->proc~aot_out_open 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 mpi_abort mpi_abort proc~tem_abort->mpi_abort

Contents

Source Code


Source Code

  subroutine dump_tem_BC_normal( 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_NormalHeader( me, headerfile )
    end if

    call dump_tem_BC_realArray( offset   = offset,    &
      &                         arraylen = 3,         &
      &                         nElems   = nElems,    &
      &                         propdat  = me%normal, &
      &                         basename = basename,  &
      &                         comm     = comm       )

  end subroutine dump_tem_BC_normal