Flow123d
jenkins-Flow123d-windows32-release-multijob-51
|
Header: The functions for all outputs. More...
#include <vector>
#include <string>
#include <fstream>
#include <ostream>
#include "system/system.hh"
#include "mesh/mesh.h"
#include "fields/field.hh"
#include "input/accessors.hh"
#include "system/exceptions.hh"
#include "io/output_time.hh"
#include "io/output_data_base.hh"
Go to the source code of this file.
Classes | |
class | OutputData< Value > |
This class is used for storing data that are copied from field. More... | |
Header: The functions for all outputs.
Copyright (C) 2007 Technical University of Liberec. All rights reserved.
Please make a following refer to Flow123d on your project site if you use the program for any purpose, especially for academic research: Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.
TODO:
OutputTime::register_XXX_data - should accept iterator to output record of particular equation, ask for presence of the key that has same name as the name of the quantity to output, extract the string with stream name from this key, find the stream and perform output.
on input:
{ // darcy flow output = { pressure_nodes="nodal_data", pressure_elements="el_data" } }
output_streams=[ {name="nodal_data", ... }, {name="el_data", ... } ]
in code:
Input::Record out_rec = in_rec.val<Input::Record>("output"); OutputTime::register_node_data(mesh_, "pressure_nodes", "L", out_rec, node_pressure); OutputTime::register_elem_data(mesh_, "pressure_elements", "L", out_rec, ele_pressure); ...
Definition in file output.h.