Sets the base name of file to write.
| 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_SetWriteFileName(this,name) !> Sets the base name of file to write. 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 this%base_filename = stringtool%RemoveExtension(name) this%write_file = this%base_filename//"_centers" this%ib%write_file = this%base_filename//"_markers" return end subroutine ResPart_set_SetWriteFileName