AMReX-Codes / amrex

AMReX: Software Framework for Block Structured AMR
https://amrex-codes.github.io/amrex
Other
503 stars 336 forks source link

Some confusion about the "FillPatchSingleLevel " function #3930

Closed ztdepztdep closed 2 months ago

ztdepztdep commented 2 months ago
FillPatchSingleLevel (MF& mf, Real time,
                      const Vector<MF*>& smf, const Vector<Real>& stime,
                      int scomp, int dcomp, int ncomp,
                      const Geometry& geom,
                      BC& physbcf, int bcfcomp)``

In this funtion, what is the meaning of the "scomp" "dcomp" and ncomp. does it mean the index of the source component; destination compoent and the total number of components.

asalmgren commented 2 months ago

Yes, that is correct.

Ann Almgren Senior Scientist; Dept. Head, Applied Mathematics Pronouns: she/her/hers

On Wed, May 8, 2024 at 6:12 AM ztdepztdep @.***> wrote:

FillPatchSingleLevel (MF& mf, Real time, const Vector<MF*>& smf, const Vector& stime, int scomp, int dcomp, int ncomp, const Geometry& geom, BC& physbcf, int bcfcomp)``

In this funtion, what is the meaning of the "scomp" "dcomp" and ncomp. does it mean the index of the source component; destination compoent and the total number of components.

— Reply to this email directly, view it on GitHub https://github.com/AMReX-Codes/amrex/issues/3930, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRE6YS5BZSVNT72JOCNDI3ZBIQC7AVCNFSM6AAAAABHM6L53SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI4DKNJWG44TCMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>