54 return "flow_old_bcd_file";
57 return "transport_old_bcd_file";
83 auto field_ptr=Field_Enum::read_field_descriptor(rec, field);
84 if (field_ptr)
return field_ptr;
92 auto field_ptr= Field_Scalar::read_field_descriptor(rec, field);
93 if (field_ptr)
return field_ptr;
101 auto field_ptr = Field_Scalar::read_field_descriptor(rec, field);
102 if (field_ptr)
return field_ptr;
110 auto field_ptr = Field_Scalar::read_field_descriptor(rec, field);
111 if (field_ptr)
return field_ptr;
119 auto field_ptr = Field_Vector::read_field_descriptor(rec,field);
120 if (field_ptr)
return field_ptr;
129 if (rec.
opt_val(flow_old_bcd_file_key(), bcd_file)
130 && string(bcd_file) != flow_input_file_) {
132 read_flow(*(field.
mesh()), bcd_file);
133 flow_input_file_ = string(bcd_file);
144 void read_flow(
const Mesh &mesh,
const FilePath &flow_bcd);
149 void read_transport(
unsigned int n_substances,
const FilePath &transport_bcd);
168 if (rec.
opt_val(transport_old_bcd_file_key(), bcd_file)
169 && string(bcd_file) != transport_input_file_) {
171 read_transport( field.
n_comp(), bcd_file);
172 transport_input_file_ = string(bcd_file);
Common abstract parent of all Field<...> classes.
Class template representing a field with values dependent on: point, element, and region...
Dedicated class for storing path to input and output files.
std::shared_ptr< FieldBaseType > FieldBasePtr
const Mesh * mesh() const
unsigned int n_comp() const