#include <deal.II/base/config.h>
Go to the source code of this file.
Enumerations | |
enum | GeometryFlags { none = 0, water = 0x0001, boat = 0x0002, walls = 0x0004, inflow = 0x0008, near_water = 0x0010, near_boat = 0x0020, near_walls = 0x0040, edge = 0x0080, keel = 0x0100, near_inflow = 0x0200, right_side = 0x0400, left_side = 0x0800, transom_on_boat = 0x1000, transom_on_water = 0x2000, pressure = 0x4000, near_pressure = 0x8000 } |
The enum type given to the constructors of LocalAssembleBase objects, telling those objects which data to assemble on each mesh cell. More... | |
Functions | |
GeometryFlags | operator| (GeometryFlags f1, GeometryFlags 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... | |
GeometryFlags | operator^ (GeometryFlags f1, GeometryFlags 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... | |
GeometryFlags & | operator|= (GeometryFlags &f1, GeometryFlags f2) |
Global operator which sets the bits from the second argument also in the first one. More... | |
GeometryFlags & | operator^= (GeometryFlags &f1, GeometryFlags f2) |
Global operator which sets the bits from the second argument also in the first one only if they are not both true. More... | |
GeometryFlags | operator& (GeometryFlags f1, GeometryFlags 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... | |
GeometryFlags & | operator&= (GeometryFlags &f1, GeometryFlags f2) |
Global operator which clears all the bits in the first argument if they are not also set in the second argument. More... | |
enum GeometryFlags |
The enum type given to the constructors of LocalAssembleBase objects, telling those objects which data to assemble on each mesh cell.
When the GlobalAssembler calls the local one, it checks for each flag, and if it finds one, it assemble the corresponding object.
By default, all flags are off, i.e. no procedure will be called.
You can select more than one flag by concatenation using the bitwise or operator|(GeometryFlags,GeometryFlags).
Enumerator | |
---|---|
none |
No update. |
water | |
boat | |
walls | |
inflow | |
near_water | |
near_boat | |
near_walls | |
edge | |
keel | |
near_inflow | |
right_side | |
left_side | |
transom_on_boat | |
transom_on_water | |
pressure | |
near_pressure |
Definition at line 28 of file geometry_flags.h.
|
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 GeometryFlags.
Definition at line 127 of file geometry_flags.h.
|
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 141 of file geometry_flags.h.
|
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 GeometryFlags.
Definition at line 85 of file geometry_flags.h.
|
inline |
Global operator which sets the bits from the second argument also in the first one only if they are not both true.
Definition at line 110 of file geometry_flags.h.
|
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 GeometryFlags.
Definition at line 68 of file geometry_flags.h.
|
inline |
Global operator which sets the bits from the second argument also in the first one.
Definition at line 98 of file geometry_flags.h.