next up previous contents
Next: Extending the elliptic solver Up: Solving an elliptic equation Previous: Ell_LinMetric   Contents

Ell_LinConfMetric

To call this interface from Fortran:
	 call Ell_LinMetricSolver(ierr, cctkGH, MetricPsi_gfi, 
	.	 	          phi_gfi, M_gfi, N_gfi,
	.                         AbsTol, RelTol, "solvername")
To call this interface from C:
	 ierr = Ell_LinMetricSolver(GH, MetricPsi_gfi, 
		 	            phi_gfi, M_gfi, N_gfi,
	                            AbsTol, RelTol, "solvername");
Argument List:
  • ierr: return value: ``0'' success
  • cctkGH: the Fortran ``pointer'' to the grid function hierachy.
  • GH: the C pointer to the grid hierarchy, type: pGH *GH
  • MetricPsi_gfi: array of size $7$, containing the grid function index of the metric components and the grid function index of the conformal factor $\Psi$: $g_{11}$, $g_{12}$, $g_{13}$, $g_{22}$, $g_{23}$, $g_{33}$, $\Psi$. The order is important.
  • phi_gif: the integer index of the grid function so solver for.
  • M_gfi: the integer index of the grid function which holds $M$.
  • N_gif: the integer index of the grid function which holds $N$
  • AbsTol: array of size $3$: holding absolute tolerance values for the $L_1$, $L_2$, $L_\infty$ Norm. Check, if the solver side supports these norms.The interface side does not guarantee that these norms are actually implemenented by a solver. See the section on Norms: E1.7.
  • RelTol: array of size $3$: holding relative tolerance factors for the $L_1$, $L_2$, $L_\infty$. Check, if the solver side supports these norms. The interface side does not guarantee that these norms are actually implemenented by a solver. See the section on Norms: E1.7.
  • "solvername": the name of a solver, which is registered for a particular equation class. How to find out the names ? Either check the documentation of the elliptic solvers or check for registration infomation outputted by a cactus at runtime.


next up previous contents
Next: Extending the elliptic solver Up: Solving an elliptic equation Previous: Ell_LinMetric   Contents