[Commits] [svn:einsteintoolkit] GRHydro/trunk/src/ (Rev. 118)

cott at tapir.caltech.edu cott at tapir.caltech.edu
Mon Jun 7 13:00:02 CDT 2010


User: cott
Date: 2010/06/07 01:00 PM

Modified:
 /trunk/src/
  GRHydro_ParamCheck.F90

Log:
 * implement param check warning that MHD is not implemented and abort.

File Changes:

Directory: /trunk/src/
======================

File [modified]: GRHydro_ParamCheck.F90
Delta lines: +2 -0
===================================================================
--- trunk/src/GRHydro_ParamCheck.F90	2010-05-27 23:54:08 UTC (rev 117)
+++ trunk/src/GRHydro_ParamCheck.F90	2010-06-07 18:00:02 UTC (rev 118)
@@ -93,6 +93,8 @@
 
   if (CCTK_EQUALS(Bvec_evolution_method,"GRHydro")) then
      MHD = 1
+     !  issue a fatal warning, since MHD is not implemented yet
+     call CCTK_PARAMWARN("MHD is not yet implemented. Please run with GRHydro::Bvec_evolution_method='none'.");
   else
      MHD = 0
   endif



More information about the Commits mailing list