Meaning of int bcfcomp
in FillPatchSingleLevel()
and int cbccomp
, int fbccomp
, and int bcscomp
in FillPatchTwoLevels()
#3929
-
Hi! I am trying to call Right now, I am passing Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It depends on what you're using for |
Beta Was this translation helpful? Give feedback.
Adding to what @cgilet said,
bcfcomp
will be passed to thephysbcf
argument. If yourphysbcf
isamrex::PhysBCFunct
and you have usedVector<BCRec> bcs(Ncomp)
to create it, then amrex will assume thatbcs[bcfcomp+icomp]
is the boundary type for componentdcomp+icomp
of the destination multifab (i.e.,mf
) and componentscomp+icomp
of the source multifab (i.e.,smf
), whereicomp
is in[0,ncomp)
.