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