removed unused Vector wrapers

This commit is contained in:
Vladimir Z Tomov
2026-08-18 17:58:14 -07:00
parent a7902a84e2
commit 4513f40155
2 changed files with 0 additions and 34 deletions
-31
View File
@@ -937,18 +937,6 @@ void DeviceSharedDofCommunicator::Reduce<real_t>(const Array<real_t> &x_ldof,
ReduceEndAssemble(shr_buf, x_tdof, op);
}
void DeviceSharedDofCommunicator::Reduce(const Vector &x_ldof,
Vector &x_tdof,
Op op) const
{
Array<real_t> x_ldof_view, x_tdof_view;
x_ldof_view.MakeRef(const_cast<Memory<real_t>&>(x_ldof.GetMemory()), 0,
x_ldof.Size());
x_tdof_view.MakeRef(const_cast<Memory<real_t>&>(x_tdof.GetMemory()), 0,
x_tdof.Size());
Reduce(x_ldof_view, x_tdof_view, op);
}
template <typename T>
void DeviceSharedDofCommunicator::Reduce(Array<T> &x_ldof, Op op) const
{
@@ -1000,17 +988,6 @@ void DeviceSharedDofCommunicator::Bcast<real_t>(const Array<real_t> &x_tdof,
BcastEndCopy(ext_buf, x_ldof);
}
void DeviceSharedDofCommunicator::Bcast(const Vector &x_tdof,
Vector &x_ldof) const
{
Array<real_t> x_tdof_view, x_ldof_view;
x_tdof_view.MakeRef(const_cast<Memory<real_t>&>(x_tdof.GetMemory()), 0,
x_tdof.Size());
x_ldof_view.MakeRef(const_cast<Memory<real_t>&>(x_ldof.GetMemory()), 0,
x_ldof.Size());
Bcast(x_tdof_view, x_ldof_view);
}
template <typename T>
void DeviceSharedDofCommunicator::Bcast(Array<T> &x_ldof) const
{
@@ -1044,14 +1021,6 @@ void DeviceSharedDofCommunicator::ReduceAndBcast<real_t>(Array<real_t> &x_ldof,
Bcast(true_buf, x_ldof);
}
void DeviceSharedDofCommunicator::ReduceAndBcast(Vector &x_ldof, Op op) const
{
Array<real_t> x_ldof_view;
x_ldof_view.MakeRef(const_cast<Memory<real_t>&>(x_ldof.GetMemory()), 0,
x_ldof.Size());
ReduceAndBcast(x_ldof_view, op);
}
template <class T>
void GroupCommunicator::Bcast(T *ldata) const
{
-3
View File
@@ -622,17 +622,14 @@ public:
void Reduce(const Array<T> &x_ldof, Array<T> &x_tdof, Op op) const;
template <typename T>
void Reduce(Array<T> &x_ldof, Op op) const;
void Reduce(const Vector &x_ldof, Vector &x_tdof, Op op) const;
template <typename T>
void Bcast(const Array<T> &x_tdof, Array<T> &x_ldof) const;
template <typename T>
void Bcast(Array<T> &x_ldof) const;
void Bcast(const Vector &x_tdof, Vector &x_ldof) const;
template <typename T>
void ReduceAndBcast(Array<T> &x_ldof, Op op) const;
void ReduceAndBcast(Vector &x_ldof, Op op) const;
};
/// General MPI message tags used by MFEM