blob: b32d032a0dac3c4c8c421b2ab2d5d32531e518e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cctk.h"
#include "cctk_parameters.h"
/* routine registers the SOR solver "sor_confmetric" under the name "sor"
with the Elliptic Class "LinConfMetric".
*/
void EllSOR_Register(cGH *GH) {
void sor_confmetric(cGH *GH, int *MetricPsiI, int *FieldI, int *MI,
int *NI, int *AbsTol, int *RelTol);
printf("SOR: registering sor...");
Ell_RegisterSolver(sor_confmetric,"sor","Ell_LinConfMetric");
printf("...done\n");
}
|