aboutsummaryrefslogtreecommitdiff
path: root/src/Boundary.h
diff options
context:
space:
mode:
authorrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-02-14 00:46:06 +0000
committerrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-02-14 00:46:06 +0000
commitf93380441909a9c02fd7002a7071ee2f0b519f2f (patch)
treeeccc11dc7b7bc3eabd43b2a80d7f6f3ed2111438 /src/Boundary.h
parent7d93d9515961a769c22c32fd425d37439206f912 (diff)
Provide wrappers for all boundary conditions provided by thorn
Boundary, so that they can be 'selected for bc' under the new boundary interface. The details of default arguments and table keys will be documented in the thorn guide. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@198 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'src/Boundary.h')
-rw-r--r--src/Boundary.h35
1 files changed, 30 insertions, 5 deletions
diff --git a/src/Boundary.h b/src/Boundary.h
index d4ae90a..d39438f 100644
--- a/src/Boundary.h
+++ b/src/Boundary.h
@@ -22,6 +22,11 @@ int BndNone(const cGH *GH, int num_vars, int *var_indicies, int *faces,
int *table_handle);
/* Scalar boundaries */
+
+/* prototype for routine registed as providing 'Scalar' boundary condition */
+int BndScalar(const cGH *GH, int num_vars, int *var_indicies, int *faces,
+ int *table_handle);
+
int BndScalarDirGI (const cGH *GH,
int stencil_size,
int dir,
@@ -61,7 +66,12 @@ int BndScalarVN (const cGH *GH,
const char *vname);
-/* Copying boundaries */
+/* Copying boundaries */
+
+/* prototype for routine registed as providing 'Copy' boundary condition */
+int BndCopy(const cGH *GH, int num_vars, int *var_indicies, int *faces,
+ int *table_handle);
+
int BndCopyDirGI (const cGH *GH,
int stencil_size,
int dir,
@@ -101,6 +111,11 @@ int BndCopyVN (const cGH *GH,
const char *vname_from);
/* Static boundaries */
+
+/* prototype for routine registed as providing 'Static' boundary condition */
+int BndStatic(const cGH *GH, int num_vars, int *var_indicies, int *faces,
+ int *table_handle);
+
int BndStaticDirGI (const cGH *GH,
int stencil_size,
int dir,
@@ -134,9 +149,9 @@ int BndStaticVN (const cGH *GH,
/* Radiative boundaries */
-/* prototype for routine registed as providing radiative boundary conditions */
+/* prototype for routine registed as providing 'Radiative' boundary conditions */
int BndRadiative(const cGH *GH, int num_vars, int *var_indicies, int *faces,
- int *table_handle);
+ int *table_handle);
int BndRadiativeDirGI (const cGH *GH,
int stencil_size,
@@ -193,7 +208,12 @@ int BndRadiativeVN (const cGH *GH,
const char *vname_from);
-/* Robin boundaries */
+/* Robin boundaries */
+
+/* prototype for routine registed as providing 'Robin' boundary condition */
+int BndRobin(const cGH *GH, int num_vars, int *var_indicies, int *faces,
+ int *table_handle);
+
int BndRobinGI (const cGH *GH,
const int *stencil,
CCTK_REAL finf,
@@ -216,7 +236,12 @@ int BndRobinVN (const cGH *GH,
const char *vname);
-/* Flat boundaries */
+/* Flat boundaries */
+
+/* prototype for routine registed as providing 'Flat' boundary condition */
+int BndFlat(const cGH *GH, int num_vars, int *var_indicies, int *faces,
+ int *table_handle);
+
int BndFlatDirGI (const cGH *GH,
int stencil_size,
int dir,