X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParaMEDMEM%2FParaMESH.hxx;h=b669ac980daeac362a9d866e1f1931ea451392cc;hb=f100fdf8977ff06ab097b9a1d1400a26b16aebb9;hp=6935acc63a9a6123ad80895967640d74cac23476;hpb=8763c12d01e33d6845dd53be65b001514d00bd42;p=tools%2Fmedcoupling.git diff --git a/src/ParaMEDMEM/ParaMESH.hxx b/src/ParaMEDMEM/ParaMESH.hxx index 6935acc63..b669ac980 100644 --- a/src/ParaMEDMEM/ParaMESH.hxx +++ b/src/ParaMEDMEM/ParaMESH.hxx @@ -1,4 +1,4 @@ -// 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 @@ -27,23 +27,34 @@ #include #include -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); @@ -70,7 +81,7 @@ namespace ParaMEDMEM 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;