Sets the base name of file to read.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ResPart_set), | intent(inout) | :: | this |
Set of resolved particles |
||
| character(len=*), | intent(in) | :: | name |
Name of file |
pure subroutine ResPart_set_SetReadFileName(this,name) !> Sets the base name of file to read. use leapUtils, only: stringtool_obj implicit none class(ResPart_set), intent(inout) :: this !! Set of resolved particles character(len=*), intent(in) :: name !! Name of file ! Work variables type(stringtool_obj):: stringtool character(len=:), & allocatable :: filename filename = stringtool%RemoveExtension(name) this%read_file = filename//"_centers" this%ib%read_file = filename//"_markers" return end subroutine ResPart_set_SetReadFileName