1 #ifndef OPERATOR_IMPLICIT_IMPLICIT_H_
2 #define OPERATOR_IMPLICIT_IMPLICIT_H_
4 #include <AMReX_MLCellLinOp.H>
5 #include <AMReX_Array.H>
8 #include "Operator/Operator.H"
11 using namespace amrex;
21 Implicit (
const Vector<Geometry>& a_geom,
22 const Vector<BoxArray>& a_grids,
23 const Vector<DistributionMapping>& a_dmap,
25 const LPInfo& a_info);
34 virtual void Fapply (
int amrlev,
int mglev, MultiFab& out,
const MultiFab& in)
const final;
35 virtual void Fsmooth (
int amrlev,
int mglev, MultiFab& sol,
const MultiFab& rsh,
int redblack)
const final;
36 virtual void FFlux (
int amrlev,
const MFIter& mfi,
37 const Array<FArrayBox*,AMREX_SPACEDIM>& flux,
38 const FArrayBox& sol, Location loc,
const int face_only=0)
const;
39 virtual int getNComp()
const {
return AMREX_SPACEDIM;};