blob: 47d541a15a064b8cfbec4afc9d3947af0fe665b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* $Header$ */
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
void dissipation_paramcheck (CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
int d;
if (cctk_dim != 3) {
CCTK_PARAMWARN ("This thorn supports only dim=3");
}
for (d=0; d<cctk_dim; ++d) {
if (cctk_nghostzones[d] < order/2) {
CCTK_PARAMWARN ("This thorn requires at least order/2 ghost zones");
}
}
}
|