-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include "InterpolationOptions.hxx"
#include "DECOptions.hxx"
-namespace ParaMEDMEM
+namespace MEDCoupling
{
class ElementLocator;
+ /*!
+ Internal class, not part of the public API.
+
+ This class enables the storage of an interpolation matrix Wij mapping
+ a source field Sj to a target field Ti via Ti=Vi^(-1).Wij.Sj.
+ The matrix is built and stored on the processors belonging to the source
+ group.
+ */
class InterpolationMatrix : public INTERP_KERNEL::InterpolationOptions,
public DECOptions
{
public:
- InterpolationMatrix(const ParaMEDMEM::ParaFIELD *source_field,
+ InterpolationMatrix(const MEDCoupling::ParaFIELD *source_field,
const ProcessorGroup& source_group,
const ProcessorGroup& target_group,
const DECOptions& dec_opt,
private:
bool isSurfaceComputationNeeded(const std::string& method) const;
private:
- const ParaMEDMEM::ParaFIELD *_source_field;
+ const MEDCoupling::ParaFIELD *_source_field;
std::vector<int> _row_offsets;
std::map<std::pair<int,int>, int > _col_offsets;
MEDCouplingPointSet *_source_support;