aboutsummaryrefslogtreecommitdiff
path: root/src/ParamCheck.c
blob: 9ec622ed0d3fdc7c5f255aae28359a3fe66bd0ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// TwoPunctures:  File  "TwoPunctures.c"

#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "TP_utilities.h"
#include "TwoPunctures.h"

// -------------------------------------------------------------------
void
TwoPunctures_ParamCheck (CCTK_ARGUMENTS)
{
  DECLARE_CCTK_ARGUMENTS;
  DECLARE_CCTK_PARAMETERS;
  if (par_use_sources)
  {
    CCTK_INFO("Solving for BH-NS");
    if (CCTK_IsFunctionAliased ("Set_Rho_ADM"))
      CCTK_INFO("Aliased Functions found");
    else
      CCTK_WARN(0, "I found no (aliased) function for matter sources, but "
                   "was said to use matter.\n");
  }
  else
    CCTK_INFO("not using sources (only BHs)");
}