aboutsummaryrefslogtreecommitdiff
path: root/src/Boundary.h
diff options
context:
space:
mode:
authorlanfer <lanfer@6a38eb6e-646e-4a02-a296-d141613ad6c4>2000-09-26 11:01:42 +0000
committerlanfer <lanfer@6a38eb6e-646e-4a02-a296-d141613ad6c4>2000-09-26 11:01:42 +0000
commit52f1b636bfec1b9e1d244e91b8fa597e9e368702 (patch)
treed52cb895cdad592ca9ab6164da78f7822ba248bf /src/Boundary.h
parentac050bf125d978c9937816269b15728a532799fe (diff)
prototypes for Robin, adding grdoc to the code
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@122 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'src/Boundary.h')
-rw-r--r--src/Boundary.h62
1 files changed, 55 insertions, 7 deletions
diff --git a/src/Boundary.h b/src/Boundary.h
index 7979d00..5ab8b5c 100644
--- a/src/Boundary.h
+++ b/src/Boundary.h
@@ -1,3 +1,13 @@
+ /*@@
+ @file Boundary.h
+ @date Tue Sep 26 11:50:46 2000
+ @author Gerd Lanfermann
+ @desc
+ Prototypes for boundary routines
+ @enddesc
+ @@*/
+
+
#ifndef _BOUNDARY_H_
#define _BOUNDARY_H_
@@ -5,8 +15,8 @@
extern "C" {
#endif
-/* FIXME: Deprecated prototypes */
-
+/***********************/
+/* Constant boundaries */
int BndConstantGI(cGH *GH,
int *stencil,
CCTK_REAL var0,
@@ -24,7 +34,7 @@ int BndConstantVN(cGH *GH,
CCTK_REAL var0,
const char *impvn);
-
+/* Constant boundaries - DEPRECATED */
int ConstantBCVar(cGH *GH,
CCTK_REAL var0,
int *stencil_size,
@@ -58,7 +68,8 @@ int ScalarBCGroupI(cGH *GH,
CCTK_REAL var0,
int *stencil_size,
int gi);
-
+/***********************/
+/* Copying boundaries */
int BndCopyGI(cGH *GH,
int *stencil,
int gi_to,
@@ -76,7 +87,7 @@ int BndCopyVN(cGH *GH,
const char *vn_to,
const char *vn_from);
-
+/* Copying boundaries - DEPRECATED */
int CopyBCVar(cGH *GH,
int *stencil_size,
const char *impvarname,
@@ -97,7 +108,8 @@ int CopyBCGroupI(cGH *GH,
int gi,
int gip);
-
+/************************/
+/* Radiative boundaries */
int BndRadiativeGI(cGH *GH,
int *sw,
CCTK_REAL var0,
@@ -126,6 +138,7 @@ int BndRadiativeVN(cGH *GH,
const char *vn,
const char *vn_p);
+/* Radiative boundaries - DEPRECATED */
int RadiativeBCVar(cGH *GH,
CCTK_REAL var0,
CCTK_REAL v0,
@@ -144,6 +157,35 @@ int RadiativeBCGroupI(cGH *GH,
int *sw,
int gi,
int gi_p);
+
+/************************/
+/* Robin boundaries */
+int BndRobinGI(cGH *GH,
+ int *stencil,
+ CCTK_REAL finf,
+ int npow,
+ int gi);
+
+int BndRobinGN(cGH *GH,
+ int *sw,
+ CCTK_REAL finf,
+ int npow,
+ const char *gn);
+
+int BndRobinVI(cGH *GH,
+ int *stencil,
+ CCTK_REAL finf,
+ int npow,
+ int vi);
+
+int BndRobinVN(cGH *GH,
+ int *stencil,
+ CCTK_REAL finf,
+ int npow,
+ const char *vn);
+
+/************************/
+/* Flat boundaries */
int BndFlatGI(cGH *GH,
int *stencil,
int gi);
@@ -157,6 +199,7 @@ int BndFlatVN(cGH *GH,
int *sw,
const char *vn);
+/* Flat boundaries - DEPREACTED */
int FlatBCVar(cGH *GH,
int *stencil_size,
const char *impvarname);
@@ -170,7 +213,12 @@ int FlatBCGroupI(cGH *GH,
int *stencil_size,
int gi);
- /* Backward compatible prototypes */
+
+
+
+
+
+/* Backward compatible prototypes */
int ApplyFlatBC(cGH *GH, int *stencil_size, const char *name);
int ApplyRadiativeBC(cGH *GH, CCTK_REAL var0, CCTK_REAL v0, int *sw,
char *name, char *name_p);