2 #include <athena/mesh/mesh.hpp>
3 #include <athena/parameter_input.hpp>
4 #include <athena/scalars/scalars.hpp>
7 #include <application/application.hpp>
10 #include <configure.hpp>
16 if (NCHEMISTRY == 0)
return;
18 Application::Logger app(
"c3m");
19 app->Log(
"Initialize Chemistry");
21 w.InitWithShallowSlice(pmb->pscalars->r, 4, NCLOUD, NCHEMISTRY);
22 u.InitWithShallowSlice(pmb->pscalars->s, 4, NCLOUD, NCHEMISTRY);
26 if (NCHEMISTRY == 0)
return;
28 Application::Logger app(
"c3m");
29 app->Log(
"Destroy Chemistry");
Chemistry(MeshBlock *pmb, ParameterInput *pin)