Loading...
Searching...
No Matches
MeshRelation.h
// Copyright (C) 2015 Chris Richardson
//
// This file is part of DOLFIN.
//
// DOLFIN 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 3 of the License, or
// (at your option) any later version.
//
// DOLFIN is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with DOLFIN. If not, see <http://www.gnu.org/licenses/>.
//
#ifndef __MESH_RELATION_H
#define __MESH_RELATION_H
#include <vector>
#include <memory>
#include "MeshHierarchy.h"
namespace dolfin
{
class Mesh;
class MeshRelation
{
public:
MeshRelation()
{}
~MeshRelation()
{}
private:
friend class MeshHierarchy;
friend class PlazaRefinementND;
// Map from edge of parent Mesh to new vertex in child Mesh
// as calculated during ParallelRefinement process
std::shared_ptr<const std::map<std::size_t, std::size_t> > edge_to_global_vertex;
};
}
#endif
dolfin::MeshHierarchy
Experimental implementation of a list of Meshes as a hierarchy.
Definition MeshHierarchy.h:35
dolfin::MeshRelation::MeshRelation
MeshRelation()
Constructor.
Definition MeshRelation.h:38
dolfin::MeshRelation::~MeshRelation
~MeshRelation()
Destructor.
Definition MeshRelation.h:42
dolfin::Mesh
Definition Mesh.h:84
dolfin::PlazaRefinementND
Definition PlazaRefinementND.h:34
dolfin
Definition adapt.h:30