aboutsummaryrefslogtreecommitdiff
path: root/Examples/Laplace/src/RegisterMoL.cc
blob: 2bb6adadc000bee6e735f1e6d7a924a9c557863c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*  File produced by Kranc */

#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"

extern "C" void Laplace_RegisterVars(CCTK_ARGUMENTS)
{
  DECLARE_CCTK_ARGUMENTS;
  DECLARE_CCTK_PARAMETERS;
  
  CCTK_INT ierr = 0;
  
  /* Register all the evolved grid functions with MoL */
  ierr += MoLRegisterEvolved(CCTK_VarIndex("Laplace::phi"),  CCTK_VarIndex("Laplace::phirhs"));
  
  /* Register all the evolved Array functions with MoL */
  return;
}