Flow123d
JS_before_hm-1713-g943b6bc16
|
Go to the documentation of this file.
19 #ifndef DARCY_FLOW_MH_OUTPUT_HH_
20 #define DARCY_FLOW_MH_OUTPUT_HH_
56 template<
unsigned int spacedim>
class FEValues;
57 template <
int spacedim,
class Value>
class FieldFE;
151 std::shared_ptr<DOFHandlerMultiDim>
dh_;
152 std::shared_ptr<DiscreteSpace>
ds;
174 std::shared_ptr<SubDOFHandlerMultiDim>
dh_;
std::vector< double > l2_diff_pressure
virtual void prepare_specific_output(Input::Record in_rec)
std::vector< double > l2_diff_velocity
Definitions of Raviart-Thomas finite elements.
void output()
Calculate values for output.
bool is_output_specific_fields
Output specific field stuff.
OutputSpecificFields output_specific_fields
void compute_l2_difference()
virtual void prepare_output(Input::Record in_rec)
Class FEValues calculates finite element data on the actual cells such as shape function values,...
const typedef vector< unsigned int > & ElementSetRef
VectorMPI corner_pressure
std::shared_ptr< OutputTime > output_stream
Field< 3, FieldValue< 3 >::Scalar > pressure_diff
Standard quantities for output in DarcyFlowMH.
std::shared_ptr< DOFHandlerMultiDim > dh_
Field< 3, FieldValue< 3 >::Scalar > region_id
Calculates finite element data on the actual cell.
Definitions of basic Lagrangean finite elements with polynomial shape functions.
static const Input::Type::Instance & get_input_type(FieldSet &eq_data, const std::string &equation_name)
std::shared_ptr< DiscreteSpace > ds
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > div_diff_ptr
std::vector< double > l2_diff_divergence
OutputFields output_fields
Specific quantities for output in DarcyFlowMH - error estimates etc.
Definitions of particular quadrature rules on simplices.
Provides the numbering of the finite element degrees of freedom on the computational mesh.
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > vel_diff_ptr
Field< 3, FieldValue< 3 >::Scalar > velocity_diff
Field< 3, FieldValue< 3 >::Scalar > div_diff
The class for outputting data during time.
std::vector< FEValues< 3 > > fv_rt
std::array< QGauss, 4 > array
std::shared_ptr< FieldFE< 3, FieldValue< 3 >::Scalar > > pressure_diff_ptr
DarcyFlowMHOutput(DarcyFlowInterface *flow, Input::Record in_rec)
static const Input::Type::Instance & get_input_type_specific()
Container for various descendants of FieldCommonBase.
void output_internal_flow_data()
ofstream raw_output_file
Raw data output file.
struct DarcyFlowMHOutput::DiffData diff_data
Cell accessor allow iterate over DOF handler cells.
std::vector< int > velocity_mask
std::vector< FEValues< 3 > > fe_values
DarcyFlowInterface * darcy_flow
MixedPtr< FE_P_disc > fe_p0
bool compute_errors_
Specific experimental error computing.
std::shared_ptr< SubDOFHandlerMultiDim > dh_
Field< 3, FieldValue< 3 >::Scalar > subdomain
virtual ~DarcyFlowMHOutput()
Class template representing a field with values dependent on: point, element, and region.
void l2_diff_local(DHCellAccessor dh_cell, FEValues< 3 > &fe_values, FEValues< 3 > &fv_rt, FieldPython< 3, FieldValue< 3 >::Vector > &anal_sol, DiffData &result)
Computes L2 error on an element.
MixedPtr< FE_P_disc > fe_p1