Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions epoch1d/src/deck/deck_species_block.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1638,9 +1638,7 @@ FUNCTION get_base_name(name, state)
! These strings are too short to have a number appended to the end, so just
! return the species block name
name_size = LEN_TRIM(name)
IF ((state < 10 .AND. name_size < 2) .OR. &
(state < 100 .AND. name_size < 3) .OR. &
(state < 1000 .AND. name_size < 4)) THEN
IF (name_size <= FLOOR(LOG10(REAL(state, num))) + 1) THEN
get_base_name = name
RETURN
END If
Expand Down
4 changes: 1 addition & 3 deletions epoch2d/src/deck/deck_species_block.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1644,9 +1644,7 @@ FUNCTION get_base_name(name, state)
! These strings are too short to have a number appended to the end, so just
! return the species block name
name_size = LEN_TRIM(name)
IF ((state < 10 .AND. name_size < 2) .OR. &
(state < 100 .AND. name_size < 3) .OR. &
(state < 1000 .AND. name_size < 4)) THEN
IF (name_size <= FLOOR(LOG10(REAL(state, num))) + 1) THEN
get_base_name = name
RETURN
END If
Expand Down
4 changes: 1 addition & 3 deletions epoch3d/src/deck/deck_species_block.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1650,9 +1650,7 @@ FUNCTION get_base_name(name, state)
! These strings are too short to have a number appended to the end, so just
! return the species block name
name_size = LEN_TRIM(name)
IF ((state < 10 .AND. name_size < 2) .OR. &
(state < 100 .AND. name_size < 3) .OR. &
(state < 1000 .AND. name_size < 4)) THEN
IF (name_size <= FLOOR(LOG10(REAL(state, num))) + 1) THEN
get_base_name = name
RETURN
END If
Expand Down