Free Electron
PoisonOp.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __operator_PoisonOp_h__
8 #define __operator_PoisonOp_h__
9 
10 namespace fe
11 {
12 namespace ext
13 {
14 
15 /**************************************************************************//**
16  @brief Mark undesirable points
17 
18  @ingroup operator
19 *//***************************************************************************/
20 class FE_DL_EXPORT PoisonOp:
21  public OperatorSurfaceCommon,
22  public Initialize<PoisonOp>
23 {
24  public:
25  PoisonOp(void) {}
26 virtual ~PoisonOp(void) {}
27 
28  void initialize(void);
29 
30  //* As HandlerI
31 virtual void handle(Record& a_rSignal);
32 
33  private:
34 
35  class Edge
36  {
37  public:
38  Edge(void):
39  m_faceCount(0) {}
40 
41  I32 m_faceCount;
42  };
43 
44  //* face count per edge
45  std::map<U64,Edge> m_edgeMap;
46 };
47 
48 } /* namespace ext */
49 } /* namespace fe */
50 
51 #endif /* __operator_PoisonOp_h__ */
kernel
Definition: namespace.dox:3
Per-class participation in the Initialized <> mechanism.
Definition: Initialized.h:117
Partial Generic SurfaceI Implemention.
Definition: OperatorSurfaceCommon.h:20
Reference to an instance of a Layout.
Definition: RecordSB.h:35
Mark undesirable points.
Definition: PoisonOp.h:20