hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
hpfem::mesh::PeriodicCheck< Dim > Struct Template Reference

#include <report.hpp>

Public Member Functions

bool identical () const noexcept
 

Public Attributes

Index num_master = 0
 
Index num_slave = 0
 
Index matched = 0
 
Index unmatched_slave = 0
 
Index unmatched_master = 0
 
Real max_mismatch = 0
 

Detailed Description

template<int Dim>
struct hpfem::mesh::PeriodicCheck< Dim >

Check of a periodic pair: every facet tagged slave should be a facet tagged master moved by shift. matched facets have a partner at their shifted centroid within tolerance × diameter, the others are counted as unmatched (the non-matching Bloch coupling of assembly::bloch_constraints still handles them when the facets nest or overlap; max_mismatch is the largest distance between a slave centroid and the nearest master centroid after the shift, in metres).

Member Function Documentation

◆ identical()

template<int Dim>
bool hpfem::mesh::PeriodicCheck< Dim >::identical ( ) const
inlinenoexcept

Member Data Documentation

◆ matched

template<int Dim>
Index hpfem::mesh::PeriodicCheck< Dim >::matched = 0

◆ max_mismatch

template<int Dim>
Real hpfem::mesh::PeriodicCheck< Dim >::max_mismatch = 0

◆ num_master

template<int Dim>
Index hpfem::mesh::PeriodicCheck< Dim >::num_master = 0

◆ num_slave

template<int Dim>
Index hpfem::mesh::PeriodicCheck< Dim >::num_slave = 0

◆ unmatched_master

template<int Dim>
Index hpfem::mesh::PeriodicCheck< Dim >::unmatched_master = 0

◆ unmatched_slave

template<int Dim>
Index hpfem::mesh::PeriodicCheck< Dim >::unmatched_slave = 0

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