|
Flow123d
|
#include <field_set.hh>


Public Member Functions | |
| DECLARE_EXCEPTION (ExcUnknownField,<< "Field set has no field with name: "<< FieldCommonBase::EI_Field::qval) | |
| Input::Type::Record | make_field_descriptor_type (const std::string &equation_name) const |
| Input::Type::Selection | make_output_field_selection (const string &name, const string &desc="") |
| void | set_field (const std::string &dest_field_name, FieldCommonBase &source) |
| FieldCommonBase & | get_field (const std::string &field_name) const |
| void | set_mesh (const Mesh &mesh) |
| void | set_input_list (Input::Array input_list) |
| void | set_limit_side (LimitSide side) |
| void | mark_input_times (TimeMark::Type mark_type) |
| bool | changed () const |
| bool | is_constant (Region reg) const |
| void | set_time (const TimeGovernor &time) |
| void | output_type (OutputTime::DiscreteSpace rt) |
| void | output (OutputTime *stream) |
| FieldCommonBase & | add_field (FieldCommonBase *field, const string &name, const string &desc, const string &d_val="") |
Protected Member Functions | |
| FieldCommonBase * | field_by_name (const std::string &field_name) const |
Protected Attributes | |
| std::vector< FieldCommonBase * > | field_list |
| List of all fields. More... | |
| const Mesh * | mesh_ = nullptr |
| value set by last set_mesh(); set the same to added fields More... | |
| Input::Array | input_list_ |
| value set by last set_input_list(); set the same to added fields More... | |
| LimitSide | side_ = LimitSide::unknown |
| value set by last set_time_limit(); set the same to added fields More... | |
TODO: implementation robust against destroying fields before the FieldSet.
Definition at line 20 of file field_set.hh.
|
inline |
Adds given field into list of fields for group operations on fields. Parameters are: field pointer, name of the key in the input, desc - description of the key, and optional parameter d_val with default value. This method is rather called through the macro ADD_FIELD
Definition at line 241 of file field_set.hh.
|
inline |
Collective interface to FieldCommonBase::set_mesh().
Definition at line 198 of file field_set.hh.

| FieldSet::DECLARE_EXCEPTION | ( | ExcUnknownField | , |
| << "Field set has no field with name: "<< FieldCommonBase::EI_Field::qval | |||
| ) |
|
inlineprotected |
Return pointer to the field of given name. REturn nullptr if not found.
Definition at line 250 of file field_set.hh.

|
inline |
Returns pointer to the field given by name field_name. Throws if the field with given name is not found.
Definition at line 157 of file field_set.hh.

|
inline |
Collective interface to FieldCommonBase::set_mesh().
Definition at line 207 of file field_set.hh.

|
inline |
Add an existing Field to the list. It stores just pointer to the field. Be careful to not destroy passed Field before the FieldSet.
Using operator allows elegant setting and adding of a field to the field set:
Definition at line 95 of file field_set.hh.
|
inline |
Make Selection with strings for all field names in the FieldSet.
Definition at line 118 of file field_set.hh.

|
inline |
Collective interface to FieldCommonBase::mar_input_times().
Definition at line 192 of file field_set.hh.

|
inline |
Collective interface to FieldCommonBase::output().
Definition at line 231 of file field_set.hh.

|
inline |
Collective interface to FieldCommonBase::output_type().
| rt | Discrete function space (element, node or corner data). |
Definition at line 224 of file field_set.hh.

|
inline |
Use FieldCommonBase::copy_from() to set field of the field set given by the first parameter dest_field_name. The source field is given as the second parameter source. The field copies share same input descriptor list and same instances of FieldBase classes but each copy can be set to different time and different limit side.
Definition at line 147 of file field_set.hh.

|
inline |
Collective interface to FieldCommonBase::set_mesh().
Definition at line 177 of file field_set.hh.

|
inline |
Collective interface to FieldCommonBase::set_mesh().
Definition at line 185 of file field_set.hh.

|
inline |
Collective interface to FieldCommonBase::set_mesh().
Definition at line 169 of file field_set.hh.

|
inline |
Collective interface to FieldCommonBase::set_mesh().
Definition at line 216 of file field_set.hh.

|
protected |
List of all fields.
Definition at line 258 of file field_set.hh.
|
protected |
value set by last set_input_list(); set the same to added fields
Definition at line 264 of file field_set.hh.
|
protected |
value set by last set_mesh(); set the same to added fields
Definition at line 261 of file field_set.hh.
|
protected |
value set by last set_time_limit(); set the same to added fields
Definition at line 267 of file field_set.hh.
1.8.4