Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FabArray<FAB>::copy Argument Name #3856

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions Src/Base/AMReX_FabArray.H
Original file line number Diff line number Diff line change
Expand Up @@ -732,32 +732,32 @@ public:
sum (int comp, IntVect const& nghost, bool local = false) const;

/**
* \brief This function copies data from fa to this FabArray. Each FAB
* \brief This function copies data from src to this FabArray. Each FAB
* in fa is intersected with all FABs in this FabArray and a copy
* is performed on the region of intersection. The intersection
* is restricted to the valid regions.
*/
void ParallelAdd (const FabArray<FAB>& fa,
void ParallelAdd (const FabArray<FAB>& src,
const Periodicity& period = Periodicity::NonPeriodic())
{ ParallelCopy(fa,period,FabArray::ADD); }
void ParallelCopy (const FabArray<FAB>& fa,
{ ParallelCopy(src,period,FabArray::ADD); }
void ParallelCopy (const FabArray<FAB>& src,
const Periodicity& period = Periodicity::NonPeriodic(),
CpOp op = FabArrayBase::COPY)
{ ParallelCopy(fa,0,0,nComp(),0,0,period,op); }
{ ParallelCopy(src,0,0,nComp(),0,0,period,op); }

[[deprecated("Use FabArray::ParallelCopy() instead.")]]
void copy (const FabArray<FAB>& fa,
void copy (const FabArray<FAB>& src,
const Periodicity& period = Periodicity::NonPeriodic(),
CpOp op = FabArrayBase::COPY)
{ ParallelCopy(fa,period,op); }
{ ParallelCopy(src,period,op); }

void ParallelAdd_nowait (const FabArray<FAB>& fa,
void ParallelAdd_nowait (const FabArray<FAB>& src,
const Periodicity& period = Periodicity::NonPeriodic())
{ ParallelCopy_nowait(fa,period,FabArray::ADD); }
void ParallelCopy_nowait (const FabArray<FAB>& fa,
{ ParallelCopy_nowait(src,period,FabArray::ADD); }
void ParallelCopy_nowait (const FabArray<FAB>& src,
const Periodicity& period = Periodicity::NonPeriodic(),
CpOp op = FabArrayBase::COPY)
{ ParallelCopy_nowait(fa,0,0,nComp(),0,0,period,op); }
{ ParallelCopy_nowait(src,0,0,nComp(),0,0,period,op); }

/**
* \brief This function copies data from src to this FabArray. Each FAB
Expand Down
Loading