56 return "flow_old_bcd_file";
59 return "transport_old_bcd_file";
79 template<
int spacedim,
class Value>
84 typedef std::shared_ptr< FieldElementwiseType >
FieldPtr;
118 if (rec.
opt_val(flow_old_bcd_file_key(), bcd_file)
119 && string(bcd_file) != flow_input_file_) {
121 read_flow(*(field.
mesh()), bcd_file);
122 flow_input_file_ = string(bcd_file);
132 void read_flow(
const Mesh &mesh,
const FilePath &flow_bcd);
137 void read_transport(
unsigned int n_substances,
const FilePath &transport_bcd);
158 if (rec.
opt_val(transport_old_bcd_file_key(), bcd_file)
159 && string(bcd_file) != transport_input_file_) {
161 read_transport( field.
n_comp(), bcd_file);
162 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