aboutsummaryrefslogtreecommitdiff
path: root/src/Startup.c
blob: 02ac4d20ccc4c683c926ce66a41576d3a552036e (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
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "cctk.h"
#include "cctk_parameters.h"

/* At Startup, EllBase registers the elliptic equation classes for which 
   it provides solvers. Other routines, which may come up with new classes, 
   can registers the classes in their own thorns. */

void Ell_RegisterBaseEqTypes(cGH *GH) {
  void Ell_RegisterEq(void (*function),const char *);
  void Ell_LinConfMetricRegistry(void (*function),const char *);
  void Ell_LinMetricRegistry(void (*function),const char *);

  printf("Registering Ell_LinConfMetric....");
  Ell_RegisterEq(Ell_LinConfMetricRegistry,"Ell_LinConfMetric");
  printf("...done\n");

  printf("Registering Ell_LinMetric....");
  Ell_RegisterEq(Ell_LinMetricRegistry,"Ell_LinMetric");
  printf("...done\n");

}