Skip to content
Snippets Groups Projects

Rename deprecated getCollectiveCommunication()

1 file
+ 4
4
Compare changes
  • Side-by-side
  • Inline
@@ -61,7 +61,7 @@ double LocalADOLCStiffness<LocalView>::
energy(const LocalView& localView,
const std::vector<double>& localConfiguration) const
{
int rank = Dune::MPIHelper::getCollectiveCommunication().rank();
int rank = Dune::MPIHelper::getCommunication().rank();
double pureEnergy;
std::vector<adouble> localAConfiguration(localConfiguration.size());
@@ -96,7 +96,7 @@ assembleGradientAndHessian(const LocalView& localView,
Dune::Matrix<double>& localHessian
)
{
int rank = Dune::MPIHelper::getCollectiveCommunication().rank();
int rank = Dune::MPIHelper::getCommunication().rank();
// Tape energy computation. We may not have to do this every time, but it's comparatively cheap.
energy(localView, localConfiguration);
@@ -210,7 +210,7 @@ energy(const Entity& element,
const LocalFiniteElement& localFiniteElement,
const VectorType& localSolution) const
{
int rank = Dune::MPIHelper::getCollectiveCommunication().rank();
int rank = Dune::MPIHelper::getCommunication().rank();
double pureEnergy;
std::vector<Dune::FieldVector<adouble,blocksize> > localASolution(localSolution.size());
@@ -246,7 +246,7 @@ assembleGradientAndHessian(const Entity& element,
const VectorType& localSolution,
VectorType& localGradient)
{
int rank = Dune::MPIHelper::getCollectiveCommunication().rank();
int rank = Dune::MPIHelper::getCommunication().rank();
// Tape energy computation. We may not have to do this every time, but it's comparatively cheap.
energy(element, localFiniteElement, localSolution);
Loading