MCPcopy Create free account
hub / github.com/AMReX-Astro/Castro / install_level

Method install_level

Source/diffusion/Diffusion.cpp:34–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33
34void
35Diffusion::install_level (int level,
36 AmrLevel* level_data,
37 MultiFab& _volume,
38 MultiFab* _area)
39{
40 if (verbose) {
41 amrex::Print() << "Installing Diffusion level " << level << '\n';
42 }
43
44 LevelData[level] = level_data;
45
46 volume[level] = &_volume;
47
48 area[level] = _area;
49
50 BoxArray ba(LevelData[level]->boxArray());
51 grids[level] = ba;
52}
53
54void
55Diffusion::applyop (int level, MultiFab& Temperature,

Callers 2

CastroMethod · 0.45
post_restartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected