Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GroundedSolver.F90: this avoids long lines of GL position in the log files #404

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 6 additions & 2 deletions elmerice/Solvers/GroundedSolver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,12 @@ SUBROUTINE GroundedSolver( Model,Solver,dt,TransientSimulation )
IF (Nn==0) CYCLE
IF (ABS(VariableValues(Nn)-1.0_dp)<AEPS) THEN
VariableValues(Nn) = 0.0_dp
IF (DIM==2) PRINT *, 'Grounding Line, x', Nodes % x( i )
IF (DIM==3) PRINT *, 'Grounding Line, (x,y)', Nodes % x( i ), Nodes % y( i )
IF (DIM == 2) THEN
WRITE (Message,'(A,F6.2)') 'Grounding Line x', Nodes % x( i )
ELSEIF (DIM == 3) THEN
WRITE (Message,'(A,F6.2, F6.2)') 'Grounding Line, (x,y)', Nodes % x( i ), Nodes % y( i )
END IF
CALL INFO(SolverName, Message, level=5)
END IF
END DO
END IF
Expand Down