Reference documentation for deal.II version 8.5.1
Public Types | Public Member Functions | Public Attributes | List of all members
MeshWorker::LoopControl Class Reference

#include <deal.II/meshworker/loop.h>

Public Types

enum  FaceOption { never, one, both }
 

Public Member Functions

 LoopControl ()
 

Public Attributes

bool own_cells
 
bool ghost_cells
 
FaceOption faces_to_ghost
 
FaceOption own_faces
 
bool cells_first
 

Detailed Description

Collection of parameters for execution of MeshWorker loops.

Definition at line 74 of file loop.h.

Member Enumeration Documentation

◆ FaceOption

Enumeration describing when to do assembly on a face: see, e.g., MeshWorker::LoopControl::faces_to_ghost for an example of how the value of this enumeration is interpreted in a particular circumstance.

Enumerator
never 

Do not perform assembly on a face.

one 

Perform assembly on one face.

both 

Perform assembly on both faces.

Definition at line 103 of file loop.h.

Constructor & Destructor Documentation

◆ LoopControl()

MeshWorker::LoopControl::LoopControl ( )
inline

Constructor.

Definition at line 81 of file loop.h.

Member Data Documentation

◆ own_cells

bool MeshWorker::LoopControl::own_cells

Loop over cells owned by this process. Defaults to true.

Definition at line 91 of file loop.h.

◆ ghost_cells

bool MeshWorker::LoopControl::ghost_cells

Loop over cells not owned by this process. Defaults to false.

Definition at line 96 of file loop.h.

◆ faces_to_ghost

FaceOption MeshWorker::LoopControl::faces_to_ghost

Loop over faces between a locally owned cell and a ghost cell: - never: do not assembly these faces - one: only one of the processes will assemble these faces ( from the finer side or the process with the lower mpi rank) - both: both processes will assemble these faces Note that these faces are never assembled from both sides on a single process. Default is one.

Definition at line 127 of file loop.h.

◆ own_faces

FaceOption MeshWorker::LoopControl::own_faces

Loop over faces between two locally owned cells: - never: do not assemble face terms - one: assemble once (always coming from the finer side) - both: assemble each face twice (not implemented for hanging nodes!) Default is one.

Definition at line 135 of file loop.h.

◆ cells_first

bool MeshWorker::LoopControl::cells_first

Flag to determine if cells integrals should be done before or after face integrals. Default is t

Definition at line 142 of file loop.h.


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