tem_ellipsoid_out_scal Subroutine

private subroutine tem_ellipsoid_out_scal(me, conf)

Write out a ellipsoid shape in lua format

Arguments

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

ellipsoid types to write out

type(aot_out_type), intent(inout) :: conf

Aotus type handling the output to the file in lua format


Calls

proc~~tem_ellipsoid_out_scal~~CallsGraph proc~tem_ellipsoid_out_scal tem_ellipsoid_out_scal aot_out_close_table aot_out_close_table proc~tem_ellipsoid_out_scal->aot_out_close_table aot_out_open_table aot_out_open_table proc~tem_ellipsoid_out_scal->aot_out_open_table aot_out_val aot_out_val proc~tem_ellipsoid_out_scal->aot_out_val

Called by

proc~~tem_ellipsoid_out_scal~~CalledByGraph proc~tem_ellipsoid_out_scal tem_ellipsoid_out_scal interface~tem_ellipsoid_out tem_ellipsoid_out interface~tem_ellipsoid_out->proc~tem_ellipsoid_out_scal proc~tem_ellipsoid_out_vec tem_ellipsoid_out_vec interface~tem_ellipsoid_out->proc~tem_ellipsoid_out_vec proc~tem_ellipsoid_out_vec->proc~tem_ellipsoid_out_scal proc~tem_shape_out_scal tem_shape_out_scal proc~tem_shape_out_scal->interface~tem_ellipsoid_out interface~tem_shape_out tem_shape_out interface~tem_shape_out->proc~tem_shape_out_scal proc~tem_shape_out_vec tem_shape_out_vec interface~tem_shape_out->proc~tem_shape_out_vec proc~tem_shape_out_vec->proc~tem_shape_out_scal proc~hvs_ascii_write_header hvs_ascii_write_header proc~hvs_ascii_write_header->interface~tem_shape_out proc~tem_convergence_out_single tem_convergence_out_single proc~tem_convergence_out_single->interface~tem_shape_out

Source Code

  subroutine tem_ellipsoid_out_scal( me, conf )
    ! --------------------------------------------------------------------------
    !> ellipsoid types to write out
    type( tem_ellipsoid_type ), intent(in) :: me
    !> Aotus type handling the output to the file in lua format
    type(aot_out_type), intent(inout) :: conf
    ! --------------------------------------------------------------------------

    ! create a table with name ellipsoid if not exist
    if( conf%level == 0 ) then
      call aot_out_open_table( put_conf = conf, tname = 'object' )
    else
      call aot_out_open_table( put_conf = conf )
    end if

    call aot_out_val( put_conf = conf, vname = 'origin', val = me%origin )
    call aot_out_val( put_conf = conf, vname = 'radius', val = me%radius )
    call aot_out_val( put_conf = conf, vname = 'only_surface', &
      &               val = me%only_surface )

    call aot_out_close_table( put_conf = conf )

  end subroutine tem_ellipsoid_out_scal