/*@@ @file Register.c @date Sat Oct 26 22:39:40 CEST 2002 @author David Rideout @desc Register implemented boundary conditions. @enddesc @version $Header$ @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "util_Table.h" #include "Boundary.h" static const char *rcsid = "$Header$"; CCTK_FILEVERSION(CactusBase_Boundary_Register_c); /******************************************************************** ********************* Local Data Types *********************** ********************************************************************/ /******************************************************************** ********************* Local Routine Prototypes ********************* ********************************************************************/ void Boundary_RegisterBCs(CCTK_ARGUMENTS); /******************************************************************** ***************** Aliased Routine Prototypes ********************* ********************************************************************/ /******************************************************************** ***************** Scheduled Routine Prototypes ********************* ********************************************************************/ /******************************************************************** ********************* Other Routine Prototypes ********************* ********************************************************************/ /******************************************************************** ********************* Local Data ***************************** ********************************************************************/ /******************************************************************** ********************* Aliased Routines ********************** ********************************************************************/ /******************************************************************** ********************* Scheduled Routines ********************** ********************************************************************/ /*@@ @routine Boundary_RegisterBCs @date Sun Nov 3 19:51:37 CET 2002 @author David Rideout @desc Register all boundary conditions implemented by this thorn. @enddesc @calls @history @endhistory @var CCTK_ARGUMENTS @vdesc Cactus argument list @vtype CCTK_* @vio in @endvar @returntype void @@*/ void Boundary_RegisterBCs(CCTK_ARGUMENTS) { int err; err = Boundary_RegisterPhysicalBC(cctkGH, (CCTK_FPOINTER) &BndRadiative, "Radiative"); if (err) { CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, "Boundary_RegisterPhysicalBC(cctkGH, &BndRadiative, " "\"Radiative\") returned %d", err); } err = Boundary_RegisterPhysicalBC(cctkGH, (CCTK_FPOINTER) &BndNone, "None"); if (err) { CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, "Boundary_RegisterPhysicalBC(cctkGH, &BndNone, " "\"None\") returned %d", err); } } /******************************************************************** ********************* Local Routines ************************* ********************************************************************/