| 8 | #include <Diffusion.H> |
| 9 | |
| 10 | void |
| 11 | Castro::construct_old_diff_source(MultiFab& source, MultiFab& state_in, Real time, Real dt) |
| 12 | { |
| 13 | BL_PROFILE("Castro::construct_old_diff_source()"); |
| 14 | |
| 15 | amrex::ignore_unused(dt); |
| 16 | |
| 17 | const Real strt_time = ParallelDescriptor::second(); |
| 18 | |
| 19 | MultiFab TempDiffTerm(grids, dmap, 1, 0); |
| 20 | |
| 21 | add_temp_diffusion_to_source(source, state_in, TempDiffTerm, time); |
| 22 | |
| 23 | if (verbose > 1) |
| 24 | { |
| 25 | const int IOProc = ParallelDescriptor::IOProcessorNumber(); |
| 26 | amrex::Real run_time = ParallelDescriptor::second() - strt_time; |
| 27 | amrex::Real llevel = level; |
| 28 | #ifdef BL_LAZY |
| 29 | Lazy::QueueReduction( [=] () mutable { |
| 30 | #endif |
| 31 | ParallelDescriptor::ReduceRealMax(run_time,IOProc); |
| 32 | |
| 33 | amrex::Print() << "Castro::construct_old_diff_source() time = " << run_time |
| 34 | << " on level " << llevel << "\n" << "\n"; |
| 35 | #ifdef BL_LAZY |
| 36 | }); |
| 37 | #endif |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | void |
| 42 | Castro::construct_new_diff_source(MultiFab& source, MultiFab& state_old, MultiFab& state_new, Real time, Real dt) |
nothing calls this directly
no outgoing calls
no test coverage detected