diff options
Diffstat (limited to 'src/Register.c')
-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, |