aboutsummaryrefslogtreecommitdiff
path: root/src/ParamCheck.c
blob: 0bafbb443a841136d0361cdb33c4d43a90c3b1df (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 (use_sources)
  {
    CCTK_INFO("Solving for BH-NS");
    if (! CCTK_IsFunctionAliased ("Set_Rho_ADM"))
      CCTK_WARN(0, "I found no (aliased) function for matter sources, but "
                   "was said to use matter.");
  }
  else
    CCTK_INFO("Solving for BHs");
  CCTK_VInfo(CCTK_THORNSTRING, "The two puncture-masses are %.16e and %.16e.\n",
                               par_m_minus, par_m_plus);
}