Download derr.eso

Back to the list

   1 : C DERR      SOURCE    BECC      11/05/26    21:15:22     6981           
   2 :       SUBROUTINE DERR(
   3 :      &     PC, GAM,
   4 :      &     P, RHO_L, P_L, U_L,
   5 :      &     DER,
   6 :      &     LOGDEB, LOGAN)
   7 : *
   8 : *************************************************************************
   9 : *
  10 : * project           :  CAST3M, EUROPLEXUS...
  11 : *
  12 : * name              :  derl
  13 : *
  14 : * description       :  euler equations for a mixture of stiffened gases
  15 : *                      flux in the non-reactive case.
  16 : *
  17 : *                      left entropy-respecing curve.
  18 : *                      derivative of w with respect to p
  19 : *
  20 : * language          :  fortran 77
  21 : *
  22 : * author            :  a. beccantini den/dm2s/sfme/ltmf
  23 : *
  24 : *************************************************************************
  25 : *
  25 : * called by         :
  26 : *
  27 : *
  28 : *************************************************************************
  29 : *
  30 : ***** input
  31 : *
  32 : *     pc, gam         = properties of the gas
  33 : *
  34 : *     p               = pressure in the right side of the left
  35 : *                       entropy respecing curve
  36 : *
  37 : *     rho_l, p_l, u_l
  38 : *                     = density, pressure, velocity on the left
  39 : *
  40 : *     logdeb          = debugging ?
  41 : *
  42 : ***** output
  43 : *
  44 : *     der             = derivative
  45 : *
  46 : *     logan           = anomaly ?
  47 : *
  48 : *************************************************************************
  49 : *
  50 : *     12/11/2009      created
  51 : *     25/05/2011      evolution in CAST3M
  52 : *
  53 : *************************************************************************
  54 : *
  55 : * n.b.: all variables are declared
  56 : *
  57 : C      IMPLICIT NONE
  58 :       IMPLICIT INTEGER(I-N)
  59 :       REAL*8
  60 :      &     PC, GAM,
  61 :      &     P, RHO_L, P_L, U_L,
  62 :      &     DER
  63 : *
  64 :       LOGICAL LOGDEB, LOGAN
  65 : *
  66 : C
  66 :       CALL DERL(
  67 :      &     PC, GAM,
  68 :      &     P, RHO_L, P_L, U_L,
  69 :      &     DER,
  70 :      &     LOGDEB, LOGAN)
  71 : C
  72 :       IF(LOGAN)THEN
  73 :          WRITE(*,*) 'SUBROUTINE DERR'
  74 :          WRITE(*,*) 'ANOMALY DETECTED.'
  75 :          GOTO 9999
  76 :       ENDIF
  77 :       DER = -1.0D0*DER
  78 : *
  79 :  9999 RETURN
  80 :       END
  81 :  

© Cast3M 2003 - All rights reserved.
Disclaimer