-// Copyright (C) 2007-2013 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
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
#include <string>
#include <vector>
-namespace ParaMEDMEM
+namespace MEDCoupling
{
class Topology;
class BlockTopology;
class DataArrayInt;
+ /*!
+ * \anchor ParaMESH-det
+ *
+ * Parallel representation of an unstructured mesh.
+ *
+ * This class is very specific to the requirement of parallel code computations.
+ * Two main constructors are available:
+ * - the most simple one, taking directly a \ref meshes "MEDCoupling mesh" object
+ * - the second one (for an advanced usage), which can be used to specify an explicit topology
+ * in a parallel computation.
+ */
class ParaMESH
{
public:
+ ParaMESH( MEDCouplingPointSet *mesh,
+ const ProcessorGroup& proc_group, const std::string& name);
ParaMESH( MEDCouplingPointSet *subdomain_mesh,
MEDCouplingPointSet *subdomain_face,
DataArrayInt *CorrespElt_local2global,
DataArrayInt *CorrespFace_local2global,
DataArrayInt *CorrespNod_local2global,
const ProcessorGroup& proc_group ) ;
- ParaMESH( MEDCouplingPointSet *mesh,
- const ProcessorGroup& proc_group, const std::string& name);
virtual ~ParaMESH();
void setNodeGlobal(DataArrayInt *nodeGlobal);
int _my_domain_id;
//global topology of the cells
- ParaMEDMEM::BlockTopology* _block_topology;
+ MEDCoupling::BlockTopology* _block_topology;
Topology* _explicit_topology;
// pointers to global numberings
DataArrayInt* _node_global;