Skip to content

Commit

Permalink
Initial commit. MultiFabSet class is intended for linear operators th…
Browse files Browse the repository at this point in the history
…at act on edge and face centered fields.
  • Loading branch information
eebasso committed Sep 1, 2023
1 parent 23a1acd commit f2e5ae1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,8 @@ public:
int numcomp,
int nghost) {
int i;
for (i = 0; i < this->size(); ++i) {
(*this)[i].Divide(dst[i],src,srccomp,dstcomp,numcomp,nghost);
for (i = 0; i < dst.size(); ++i) {
MF::Divide(dst[i],src,srccomp,dstcomp,numcomp,nghost);
}
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MultiFabSet::MultiFabSet (const MultiFabSet& mfs, MFInfo mfinfo) {
for (const MF &mf : mfs) {
this->push_back(MF(mf.boxArray(), mf.DistributionMap(), mf.nComp(), mf.nGrowVect(), mfinfo, mf.Factory()));
};
};;
};

MultiFabSet::MultiFabSet (const MultiFabSet& mfs, MFInfo mfinfo, int ncomps_in_mf) {
this->clear();
Expand Down

0 comments on commit f2e5ae1

Please sign in to comment.