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

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

extern "C" void ML_hydro_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("ML_hydro::ene"),  CCTK_VarIndex("ML_hydro::enerhs"));
  ierr += MoLRegisterEvolved(CCTK_VarIndex("ML_hydro::mass"),  CCTK_VarIndex("ML_hydro::massrhs"));
  ierr += MoLRegisterEvolved(CCTK_VarIndex("ML_hydro::mom1"),  CCTK_VarIndex("ML_hydro::mom1rhs"));
  ierr += MoLRegisterEvolved(CCTK_VarIndex("ML_hydro::mom2"),  CCTK_VarIndex("ML_hydro::mom2rhs"));
  ierr += MoLRegisterEvolved(CCTK_VarIndex("ML_hydro::mom3"),  CCTK_VarIndex("ML_hydro::mom3rhs"));
  
  /* Register all the evolved Array functions with MoL */
  return;
}