deal2lkit: A ToolKit library for Deal.II
error_handler.h File Reference
#include <deal2lkit/config.h>
#include <fstream>
#include <deal.II/dofs/dof_handler.h>
#include <deal.II/lac/constraint_matrix.h>
#include <deal.II/lac/vector.h>
#include <deal.II/grid/tria.h>
#include <deal.II/base/function.h>
#include <deal.II/numerics/solution_transfer.h>
#include <deal.II/numerics/data_out.h>
#include <deal.II/base/convergence_table.h>
#include <deal.II/base/logstream.h>
#include <deal.II/base/config.h>
#include <deal.II/base/quadrature_lib.h>
#include <deal.II/base/utilities.h>
#include <deal.II/grid/grid_tools.h>
#include <deal.II/numerics/vector_tools.h>
#include <deal.II/numerics/matrix_tools.h>
#include <deal.II/fe/mapping_q.h>
#include <deal.II/fe/fe.h>
#include <deal.II/base/parameter_handler.h>
#include <deal.II/base/conditional_ostream.h>
#include <deal2lkit/parameter_acceptor.h>
#include <map>
#include <cstdio>
#include <iostream>
#include <vector>
#include <string>
#include <functional>

Go to the source code of this file.

Classes

class  ErrorHandler< ntables >
 

Enumerations

enum  NormFlags {
  None = 0x00, Linfty = 0x01, L2 = 0x02, W1infty = 0x04,
  H1 = 0x08, AddUp = 0x10, Custom = 0x20
}
 

Functions

NormFlags operator| (NormFlags f1, NormFlags f2)
 Global operator which returns an object in which all bits are set which are either set in the first or the second argument. More...
 
NormFlagsoperator|= (NormFlags &f1, NormFlags f2)
 Global operator which sets the bits from the second argument also in the first one. More...
 
NormFlags operator& (NormFlags f1, NormFlags f2)
 Global operator which returns an object in which all bits are set which are set in the first as well as the second argument. More...
 
NormFlagsoperator&= (NormFlags &f1, NormFlags f2)
 Global operator which clears all the bits in the first argument if they are not also set in the second argument. More...
 

Enumeration Type Documentation

§ NormFlags

enum NormFlags
Enumerator
None 
Linfty 
L2 
W1infty 
H1 
AddUp 
Custom 

Definition at line 69 of file error_handler.h.

Function Documentation

§ operator&()

NormFlags operator & ( NormFlags  f1,
NormFlags  f2 
)
inline

Global operator which returns an object in which all bits are set which are set in the first as well as the second argument.

This operator exists since if it did not then the result of the bit-and operator & would be an integer which would in turn trigger a compiler warning when we tried to assign it to an object of type NormFlags.

Definition at line 249 of file error_handler.h.

§ operator&=()

NormFlags& operator &= ( NormFlags f1,
NormFlags  f2 
)
inline

Global operator which clears all the bits in the first argument if they are not also set in the second argument.

Definition at line 263 of file error_handler.h.

§ operator|()

NormFlags operator| ( NormFlags  f1,
NormFlags  f2 
)
inline

Global operator which returns an object in which all bits are set which are either set in the first or the second argument.

This operator exists since if it did not then the result of the bit-or operator | would be an integer which would in turn trigger a compiler warning when we tried to assign it to an object of type NormFlags.

Definition at line 219 of file error_handler.h.

§ operator|=()

NormFlags& operator|= ( NormFlags f1,
NormFlags  f2 
)
inline

Global operator which sets the bits from the second argument also in the first one.

Definition at line 232 of file error_handler.h.