Flow123d  master-46b78a5
Classes | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
DarcyFlowMHOutput Class Reference

#include <darcy_flow_mh_output.hh>

Collaboration diagram for DarcyFlowMHOutput:
Collaboration graph
[legend]

Classes

class  DiffEqData
 Output specific field stuff. More...
 
class  OutputFields
 Standard quantities for output in DarcyFlowMH. More...
 
class  OutputSpecificFields
 Specific quantities for output in DarcyFlowMH - error estimates etc. More...
 
class  RawOutputEqData
 

Public Member Functions

 DarcyFlowMHOutput (DarcyLMH *flow, Input::Record in_rec)
 
virtual ~DarcyFlowMHOutput ()
 
void output ()
 Calculate values for output.
More...
 

Static Public Member Functions

static const Input::Type::Instanceget_input_type (FieldSet &eq_data, const std::string &equation_name)
 
static const Input::Type::Instanceget_input_type_specific ()
 

Protected Types

typedef const vector< unsigned int > & ElementSetRef
 

Protected Member Functions

virtual void prepare_output (Input::Record in_rec)
 
void prepare_specific_output (Input::Record in_rec)
 
void set_specific_output_python_fields ()
 
template<class FieldType >
void set_ref_solution (const Input::Record &rec, Field< 3, FieldType > &output_field, std::vector< std::string > reg)
 

Protected Attributes

DarcyLMHdarcy_flow
 
Meshmesh_
 
bool compute_errors_
 Specific experimental error computing. More...
 
VectorMPI corner_pressure
 
VectorMPI ele_pressure
 
VectorMPI ele_piezo_head
 
std::vector< double > l2_diff_pressure
 
std::vector< double > l2_diff_velocity
 
std::vector< double > l2_diff_divergence
 
std::shared_ptr< DOFHandlerMultiDimdh_
 
std::shared_ptr< DiscreteSpaceds
 
OutputFields output_fields
 
OutputSpecificFields output_specific_fields
 
std::shared_ptr< OutputTimeoutput_stream
 
bool is_output_specific_fields
 Output specific field stuff. More...
 
std::shared_ptr< DarcyLMH::EqFieldsflow_eq_fields_
 
std::shared_ptr< DiffEqDatadiff_eq_data_
 
std::shared_ptr< RawOutputEqDataraw_eq_data_
 
GenericAssembly< L2DifferenceAssembly > * l2_difference_assembly_
 general assembly objects, hold assembly objects of appropriate dimension More...
 
GenericAssembly< OutputInternalFlowAssembly > * output_internal_assembly_
 

Detailed Description

Actually this class only collect former code from postprocess.* This code depends on values stored in mesh and has to be changed to use fields or other data provided by interface to darcy_flow. We have to relay on the interface in order to allow different implementation of darcy_flow.

Principal functionalities of current postprocess are:

Further functionality of this class should be:

Definition at line 73 of file darcy_flow_mh_output.hh.

Member Typedef Documentation

◆ ElementSetRef

typedef const vector<unsigned int>& DarcyFlowMHOutput::ElementSetRef
protected

Definition at line 141 of file darcy_flow_mh_output.hh.

Constructor & Destructor Documentation

◆ DarcyFlowMHOutput()

DarcyFlowMHOutput::DarcyFlowMHOutput ( DarcyLMH flow,
Input::Record  in_rec 
)

Definition at line 123 of file darcy_flow_mh_output.cc.

◆ ~DarcyFlowMHOutput()

DarcyFlowMHOutput::~DarcyFlowMHOutput ( )
virtual

Definition at line 305 of file darcy_flow_mh_output.cc.

Member Function Documentation

◆ get_input_type()

const it::Instance & DarcyFlowMHOutput::get_input_type ( FieldSet eq_data,
const std::string &  equation_name 
)
static

Definition at line 58 of file darcy_flow_mh_output.cc.

Here is the caller graph for this function:

◆ get_input_type_specific()

const it::Instance & DarcyFlowMHOutput::get_input_type_specific ( )
static

Definition at line 65 of file darcy_flow_mh_output.cc.

Here is the caller graph for this function:

◆ output()

void DarcyFlowMHOutput::output ( )

Calculate values for output.

Definition at line 320 of file darcy_flow_mh_output.cc.

Here is the caller graph for this function:

◆ prepare_output()

void DarcyFlowMHOutput::prepare_output ( Input::Record  in_rec)
protectedvirtual

Definition at line 181 of file darcy_flow_mh_output.cc.

Here is the caller graph for this function:

◆ prepare_specific_output()

void DarcyFlowMHOutput::prepare_specific_output ( Input::Record  in_rec)
protected

Definition at line 206 of file darcy_flow_mh_output.cc.

Here is the caller graph for this function:

◆ set_ref_solution()

template<class FieldType >
void DarcyFlowMHOutput::set_ref_solution ( const Input::Record rec,
Field< 3, FieldType > &  output_field,
std::vector< std::string >  reg 
)
protected

Definition at line 290 of file darcy_flow_mh_output.cc.

◆ set_specific_output_python_fields()

void DarcyFlowMHOutput::set_specific_output_python_fields ( )
protected

Definition at line 259 of file darcy_flow_mh_output.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ compute_errors_

bool DarcyFlowMHOutput::compute_errors_
protected

Specific experimental error computing.

Definition at line 155 of file darcy_flow_mh_output.hh.

◆ corner_pressure

VectorMPI DarcyFlowMHOutput::corner_pressure
protected

Pressure head (in [m]) interpolated into nodes. Provides P1 approximation. Indexed by element-node numbering.

Definition at line 159 of file darcy_flow_mh_output.hh.

◆ darcy_flow

DarcyLMH* DarcyFlowMHOutput::darcy_flow
protected

Definition at line 151 of file darcy_flow_mh_output.hh.

◆ dh_

std::shared_ptr<DOFHandlerMultiDim> DarcyFlowMHOutput::dh_
protected

Definition at line 168 of file darcy_flow_mh_output.hh.

◆ diff_eq_data_

std::shared_ptr<DiffEqData> DarcyFlowMHOutput::diff_eq_data_
protected

Definition at line 179 of file darcy_flow_mh_output.hh.

◆ ds

std::shared_ptr<DiscreteSpace> DarcyFlowMHOutput::ds
protected

Definition at line 169 of file darcy_flow_mh_output.hh.

◆ ele_piezo_head

VectorMPI DarcyFlowMHOutput::ele_piezo_head
protected

Piezo-metric head (in [m]) in barycenter of elements (or equivalently mean pressure over every element). Indexed by element indexes in the mesh.

Definition at line 163 of file darcy_flow_mh_output.hh.

◆ ele_pressure

VectorMPI DarcyFlowMHOutput::ele_pressure
protected

Pressure head (in [m]) in barycenters of elements (or equivalently mean pressure over every element). Indexed by element indexes in the mesh.

Definition at line 161 of file darcy_flow_mh_output.hh.

◆ flow_eq_fields_

std::shared_ptr<DarcyLMH::EqFields> DarcyFlowMHOutput::flow_eq_fields_
protected

Definition at line 178 of file darcy_flow_mh_output.hh.

◆ is_output_specific_fields

bool DarcyFlowMHOutput::is_output_specific_fields
protected

Output specific field stuff.

Definition at line 177 of file darcy_flow_mh_output.hh.

◆ l2_diff_divergence

std::vector<double> DarcyFlowMHOutput::l2_diff_divergence
protected

Definition at line 166 of file darcy_flow_mh_output.hh.

◆ l2_diff_pressure

std::vector<double> DarcyFlowMHOutput::l2_diff_pressure
protected

Definition at line 166 of file darcy_flow_mh_output.hh.

◆ l2_diff_velocity

std::vector<double> DarcyFlowMHOutput::l2_diff_velocity
protected

Definition at line 166 of file darcy_flow_mh_output.hh.

◆ l2_difference_assembly_

GenericAssembly< L2DifferenceAssembly >* DarcyFlowMHOutput::l2_difference_assembly_
protected

general assembly objects, hold assembly objects of appropriate dimension

Definition at line 185 of file darcy_flow_mh_output.hh.

◆ mesh_

Mesh* DarcyFlowMHOutput::mesh_
protected

Definition at line 152 of file darcy_flow_mh_output.hh.

◆ output_fields

OutputFields DarcyFlowMHOutput::output_fields
protected

Definition at line 171 of file darcy_flow_mh_output.hh.

◆ output_internal_assembly_

GenericAssembly< OutputInternalFlowAssembly >* DarcyFlowMHOutput::output_internal_assembly_
protected

Definition at line 186 of file darcy_flow_mh_output.hh.

◆ output_specific_fields

OutputSpecificFields DarcyFlowMHOutput::output_specific_fields
protected

Definition at line 172 of file darcy_flow_mh_output.hh.

◆ output_stream

std::shared_ptr<OutputTime> DarcyFlowMHOutput::output_stream
protected

Definition at line 174 of file darcy_flow_mh_output.hh.

◆ raw_eq_data_

std::shared_ptr<RawOutputEqData> DarcyFlowMHOutput::raw_eq_data_
protected

Definition at line 180 of file darcy_flow_mh_output.hh.


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