Flow123d  release_2.2.0-26-ge868538
Public Types | Static Public Attributes | List of all members
FieldFlag Class Reference

#include <field_flag.hh>

Inheritance diagram for FieldFlag:
Inheritance graph
[legend]
Collaboration diagram for FieldFlag:
Collaboration graph
[legend]

Public Types

typedef FlagArray< FieldFlagFlags
 
typedef Flags::Mask Mask
 

Static Public Attributes

static constexpr unsigned int flags_size_ = 3
 Number of bits used by Field itself. More...
 
static constexpr Mask equation_input {1 << 0}
 The field is data parameter of the owning equation. (default on) More...
 
static constexpr Mask declare_input {1 << 1}
 The field can be set from input. The key in input field descriptor is declared. (default on) More...
 
static constexpr Mask allow_output {1 << 2}
 The field can output. Is part of generated output selection. (default on) More...
 
static constexpr Mask input_copy = ~declare_input & equation_input
 
static constexpr Mask in_time_term {1 << 8}
 A field is part of time term of the equation. More...
 
static constexpr Mask in_main_matrix {1 << 9}
 A field is part of main "stiffness matrix" of the equation. More...
 
static constexpr Mask in_rhs {1 << 10}
 A field is part of the right hand side of the equation. More...
 
static constexpr Mask equation_result = allow_output & ~declare_input & ~equation_input
 Match result fields. These are never given by input or copy of input. More...
 
static constexpr Mask equation_external_output = allow_output & input_copy
 Match an output field, that can be also copy of other field. More...
 

Detailed Description

Definition at line 23 of file field_flag.hh.

Member Typedef Documentation

Definition at line 26 of file field_flag.hh.

typedef Flags::Mask FieldFlag::Mask

Definition at line 27 of file field_flag.hh.

Member Data Documentation

constexpr FieldFlag::Flags::Mask FieldFlag::allow_output {1 << 2}
static

The field can output. Is part of generated output selection. (default on)

Definition at line 37 of file field_flag.hh.

constexpr FieldFlag::Flags::Mask FieldFlag::declare_input {1 << 1}
static

The field can be set from input. The key in input field descriptor is declared. (default on)

Definition at line 35 of file field_flag.hh.

constexpr FieldFlag::Flags::Mask FieldFlag::equation_external_output = allow_output & input_copy
static

Match an output field, that can be also copy of other field.

Definition at line 58 of file field_flag.hh.

constexpr FieldFlag::Flags::Mask FieldFlag::equation_input {1 << 0}
static

The field is data parameter of the owning equation. (default on)

Definition at line 33 of file field_flag.hh.

constexpr FieldFlag::Flags::Mask FieldFlag::equation_result = allow_output & ~declare_input & ~equation_input
static

Match result fields. These are never given by input or copy of input.

Definition at line 55 of file field_flag.hh.

constexpr unsigned int FieldFlag::flags_size_ = 3
static

Number of bits used by Field itself.

Definition at line 30 of file field_flag.hh.

constexpr FieldFlag::Flags::Mask FieldFlag::in_main_matrix {1 << 9}
static

A field is part of main "stiffness matrix" of the equation.

Definition at line 49 of file field_flag.hh.

constexpr FieldFlag::Flags::Mask FieldFlag::in_rhs {1 << 10}
static

A field is part of the right hand side of the equation.

Definition at line 51 of file field_flag.hh.

constexpr FieldFlag::Flags::Mask FieldFlag::in_time_term {1 << 8}
static

A field is part of time term of the equation.

Definition at line 47 of file field_flag.hh.

constexpr FieldFlag::Flags::Mask FieldFlag::input_copy = ~declare_input & equation_input
static

A field that is input of its equation and can not read from input, thus must be set by copy. Disabled flag 'declare_input' still allow initialization of the field from a default value.

Definition at line 44 of file field_flag.hh.


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