Welcome, Guest
Username: Password: Remember me

TOPIC: Too many continuation lines - BORD liquid boundary phase and amplitude

Too many continuation lines - BORD liquid boundary phase and amplitude 10 years 9 months ago #12056

  • dsc1r12
  • dsc1r12's Avatar
Hi,

I am trying to run a simulation where I define elevations at a liquid boundary. To do this I define the amplitude and phase of each of the tidal constituents I am using at each node on the liquid boundary in BORD. An example is given below:

liq_bdy(10243)=point(10243,-2724435.5,1470615, (/&
har( 4.329631e-01 , 3.284715e+01 , .true.)&
har( 1.351577e-01 , 6.924159e+01 , .true.)&
har( 9.004152e-02 , 4.002641e+00 , .true.)&
har( 3.939891e-02 , 6.817177e+01 , .true.)&
har( 5.179526e-02 , 2.544408e+02 , .true.)&
har( 3.876772e-02 , 1.809462e+02 , .true.)&
har( 1.452831e-02 , 2.437499e+02 , .true.)&
har( 1.106031e-02 , 1.139509e+02 , .true.)&
har( 5.698204e-03 , -9.772254e+01 , .true.)/))
liq_bdy(10390)=point(10390,-2719787.25,1464104, (/&
har( 4.344541e-01 , 3.265589e+01 , .true.)&
har( 1.355890e-01 , 6.895951e+01 , .true.)&
har( 9.039859e-02 , 3.831789e+00 , .true.)&
har( 3.952014e-02 , 6.788305e+01 , .true.)&
har( 5.193996e-02 , 2.543769e+02 , .true.)&
har( 3.874978e-02 , 1.808730e+02 , .true.)&
har( 1.457071e-02 , 2.437086e+02 , .true.)&
har( 1.105319e-02 , 1.138065e+02 , .true.)&
har( 5.672425e-03 , -9.815092e+01 , .true.)/))
liq_bdy(10518)=point(10518,-2715138.75,1457593, (/&
har( 4.359287e-01 , 3.246681e+01 , .true.)&
har( 1.360164e-01 , 6.868080e+01 , .true.)&
har( 9.075213e-02 , 3.662708e+00 , .true.)&
har( 3.964062e-02 , 6.759716e+01 , .true.)&
har( 5.208382e-02 , 2.543129e+02 , .true.)&
har( 3.873029e-02 , 1.808040e+02 , .true.)&
har( 1.461292e-02 , 2.436671e+02 , .true.)&
har( 1.104613e-02 , 1.136620e+02 , .true.)&
har( 5.646455e-03 , -9.858335e+01 , .true.)/))

However, when I try to run the simulation, I get the following error:

t2dfort.f(773): error #5157: Too many continuation lines
har( 4.928339e-01 , 2.302684e+02 , .true.),&
^
t2dfort.f(4479): catastrophic error: Statement too long
compilation aborted for t2dfort.f (code 1)
... The following command failed for the reason above

Can anyone help to figure out what I am doing wrong? I have attached my subroutines file.

Cheers

Danny
The administrator has disabled public write access.

Too many continuation lines - BORD liquid boundary phase and amplitude 10 years 9 months ago #12057

  • jmhervouet
  • jmhervouet's Avatar
Hello,

It is just what the compiler tells you : there is a limit to the number of continuation lines in Fortran, the standard is 19. Either you change your way of writing the formula, or, if you are lucky, you find in the compiler documentation how to allow a larger number.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.