blob: 1ecd34955f6c43608db7e329077b1c571c9bb52a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <cctk.h>
#include <cctk_Arguments.h>
CCTK_INT EOS_Omni_GetHandle_(CCTK_STRING name)
{
CCTK_INFO("GetHandle");
if (CCTK_EQUALS(name, "2D_Polytrope"))
return 1;
if (CCTK_EQUALS(name, "Ideal_Fluid"))
return 2;
if (CCTK_EQUALS(name, "Hybrid"))
return 3;
if (CCTK_EQUALS(name, "nuc_eos"))
return 4;
if (CCTK_EQUALS(name, "cold_tabulated"))
return 5;
return 0;
}
|