Wildmeshing Toolkit
MultiMeshMapValidInvariant.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Invariant.hpp
"
4
5
namespace
wmtk
{
6
class
MultiMeshMapValidInvariant
:
public
Invariant
7
{
8
public
:
9
/*@brief The MultiMeshMapValidInvariant checks whether the MultiMeshMap will remain valid after
10
* a collapse operation. It detects situations where the edge targeted for the collapse
11
* operation is not in child_meshes, but both of ears are in child_meshes
12
*
13
* @param m The mesh to check
14
* @param t The tuple to check
15
* @return True if the MultiMeshMap will still be valid after collapse operation
16
*/
17
18
MultiMeshMapValidInvariant
(
const
Mesh
& m);
19
bool
before
(
const
simplex::Simplex
& t)
const override
;
20
};
21
}
// namespace wmtk
Invariant.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::MultiMeshMapValidInvariant
Definition:
MultiMeshMapValidInvariant.hpp:7
wmtk::MultiMeshMapValidInvariant::MultiMeshMapValidInvariant
MultiMeshMapValidInvariant(const Mesh &m)
Definition:
MultiMeshMapValidInvariant.cpp:111
wmtk::MultiMeshMapValidInvariant::before
bool before(const simplex::Simplex &t) const override
Definition:
MultiMeshMapValidInvariant.cpp:114
wmtk::invariants::Invariant
Definition:
Invariant.hpp:12
wmtk::simplex::Simplex
Definition:
Simplex.hpp:22
wmtk
Definition:
Accessor.hpp:6
src
wmtk
invariants
MultiMeshMapValidInvariant.hpp
Generated by
1.9.1