aboutsummaryrefslogtreecommitdiff
path: root/Examples/EMScript/src/RegisterMoL.cc
blob: 1f1ea18fda30e97f8d7ff59aa284d23987268716 (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
/*  File produced by Kranc */

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

extern "C" void EMScript_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("My_New_Implementation::B1"),  CCTK_VarIndex("My_New_Implementation::B1rhs"));
  ierr += MoLRegisterEvolved(CCTK_VarIndex("My_New_Implementation::B2"),  CCTK_VarIndex("My_New_Implementation::B2rhs"));
  ierr += MoLRegisterEvolved(CCTK_VarIndex("My_New_Implementation::B3"),  CCTK_VarIndex("My_New_Implementation::B3rhs"));
  ierr += MoLRegisterEvolved(CCTK_VarIndex("My_New_Implementation::El1"),  CCTK_VarIndex("My_New_Implementation::El1rhs"));
  ierr += MoLRegisterEvolved(CCTK_VarIndex("My_New_Implementation::El2"),  CCTK_VarIndex("My_New_Implementation::El2rhs"));
  ierr += MoLRegisterEvolved(CCTK_VarIndex("My_New_Implementation::El3"),  CCTK_VarIndex("My_New_Implementation::El3rhs"));
  
  /* Register all the evolved Array functions with MoL */
  return;
}