diff options
author | rideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2003-02-14 12:11:25 +0000 |
---|---|---|
committer | rideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4> | 2003-02-14 12:11:25 +0000 |
commit | e2b4b3440e20b099b229cea631d77905688d1a4e (patch) | |
tree | 29af64387a7d4b2802395b5cf0a4d46b49289a23 | |
parent | 9b004cc7b108150ef6a4a7dd7b4d3a5a69bd7a10 (diff) |
Register routine to handle "Flat" boundary condition.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@201 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r-- | src/Register.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Register.c b/src/Register.c index 0bd0252..409ab34 100644 --- a/src/Register.c +++ b/src/Register.c @@ -86,6 +86,18 @@ void Boundary_RegisterBCs(CCTK_ARGUMENTS) { } } + if (register_flat) + { + err = Boundary_RegisterPhysicalBC(cctkGH, (CCTK_FPOINTER) &BndFlat, + "Flat"); + if (err) + { + CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING, + "Error %d when registering routine to handle \"Flat\" " + "boundary condition", err); + } + } + if (register_radiation) { err = Boundary_RegisterPhysicalBC(cctkGH, (CCTK_FPOINTER) &BndRadiative, |