PTEMS  0.1.0-dev+git.81fd0e4
PolyTopic Element Method Solver
ptems::FEMesh< DIM >::MeshChangeListener Struct Referenceabstract

A listener to be notified on mesh change. More...

#include <ptems/mesh.hpp>

Inheritance diagram for ptems::FEMesh< DIM >::MeshChangeListener:

Public Member Functions

virtual void MeshChanged (const std::shared_ptr< FEMesh< DIM >> &previousMesh, const typename FEMesh< DIM >::Modifications &changes)=0
 Event notification from mesh that the mesh has been changed. More...
 

Detailed Description

template<std::size_t DIM>
struct ptems::FEMesh< DIM >::MeshChangeListener

A listener to be notified on mesh change.

Member Function Documentation

◆ MeshChanged()

template<std::size_t DIM>
virtual void ptems::FEMesh< DIM >::MeshChangeListener::MeshChanged ( const std::shared_ptr< FEMesh< DIM >> &  previousMesh,
const typename FEMesh< DIM >::Modifications changes 
)
pure virtual

Event notification from mesh that the mesh has been changed.

Exceptions
std::logic_errorIf the new mesh is invalid
Parameters
previousMeshThe mesh before refinement
changesA FEMesh<DIM>::Modifications structure defining the change to the mesh

The documentation for this struct was generated from the following file: