33 #ifndef DARCY_FLOW_MH_HH 34 #define DARCY_FLOW_MH_HH 76 template<
int spacedim,
class Value>
class FieldDivide;
133 <<
"Diverged nonlinear solver. Reason: " << EI_Reason::val
136 <<
"Missing the key 'time', obligatory for the transient problems.");
199 std::shared_ptr<DOFHandlerMultiDim>
dh_;
200 std::shared_ptr<SubDOFHandlerMultiDim>
dh_cr_;
236 void initialize()
override;
237 virtual void initialize_specific();
238 void zero_time_step()
override;
239 void update_solution()
override;
241 void solve_time_step(
bool output =
true);
244 virtual void postprocess();
245 virtual void output_data()
override;
250 { data_->extra_storativity = extra_stor; }
253 { data_->extra_source = extra_src; }
265 virtual bool zero_time_term(
bool time_global=
false);
268 void solve_nonlinear();
269 void modify_system();
270 virtual void setup_time_term();
271 void prepare_new_time_step();
289 virtual void read_initial_condition();
306 void allocate_mh_matrix();
320 virtual void assembly_source_term();
325 virtual void assembly_linear_system();
327 void set_mesh_data_for_bddc(
LinSys_BDDC * bddc_ls);
333 virtual double solution_precision()
const;
336 void print_matlab_matrix(
string matlab_file);
382 void dofs_range(
unsigned int n_dofs,
unsigned int &min,
unsigned int &max,
unsigned int component);
385 #endif //DARCY_FLOW_MH_HH Field< 3, FieldValue< 3 >::VectorFixed > field_ele_velocity
void set_extra_storativity(const Field< 3, FieldValue< 3 >::Scalar > &extra_stor)
Field< 3, FieldValue< 3 >::Scalar > extra_source
Externally added storativity.
std::vector< std::shared_ptr< AssemblyBase > > MultidimAssembly
Container for various descendants of FieldCommonBase.
Field< 3, FieldValue< 3 >::Scalar > init_pressure
std::shared_ptr< DOFHandlerMultiDim > dh_
full DOF handler represents DOFs of sides, elements and edges
Class template representing a field with values dependent on: point, element, and region...
static const int registrar
Registrar of class to factory.
Field< 3, FieldValue< 3 >::Scalar > extra_storativity
Field< 3, FieldValue< 3 >::Scalar > sigma
std::shared_ptr< SubDOFHandlerMultiDim > dh_cr_
DOF handler represents DOFs of edges.
std::vector< char > bc_switch_dirichlet
Idicator of dirichlet or neumann type of switch boundary conditions.
int is_linear
Hack fo BDDC solver.
Basic time management functionality for unsteady (and steady) solvers (class Equation).
unsigned int n_schur_compls
void set_extra_source(const Field< 3, FieldValue< 3 >::Scalar > &extra_src)
std::shared_ptr< EqData > data_
void mat_count_off_proc_values(Mat m, Vec v)
Basic time management class.
Field< 3, FieldValue< 3 >::Scalar > field_ele_pressure
Externally added water source.
void dofs_range(unsigned int n_dofs, unsigned int &min, unsigned int &max, unsigned int component)
Helper method fills range (min and max) of given component.
MultidimAssembly multidim_assembler
unsigned int nonlinear_iteration_
BCField< 3, FieldValue< 3 >::Scalar > bc_flux
BCField< 3, FieldValue< 3 >::Scalar > bc_pressure
bool force_no_neumann_bc
auxiliary flag for switchting Dirichlet like BC
Field< 3, FieldValue< 3 >::Scalar > water_source_density
BCField< 3, FieldValue< 3 >::Scalar > bc_switch_pressure
Field< 3, FieldValue< 3 >::Scalar > storativity
std::shared_ptr< Balance > balance_
bool use_steady_assembly_
std::shared_ptr< Balance > balance
std::shared_ptr< DOFHandlerMultiDim > dh_cr_disc_
DOF handler represents DOFs of sides.
Field< 3, FieldValue< 3 >::VectorFixed > flux
Field< 3, FieldValue< 3 >::Scalar > field_ele_piezo_head
Field< 3, FieldValue< 3 >::TensorFixed > anisotropy
Field< 3, FieldValue< 3 >::Scalar > field_edge_pressure
Field< 3, FieldValue< 3 >::Scalar > cross_section
BCField< 3, FieldValue< 3 >::Enum > bc_type
DarcyFlowMHOutput * output_object
Field< 3, FieldValue< 3 >::Scalar > conductivity
BCField< 3, FieldValue< 3 >::Scalar > bc_robin_sigma
MortarMethod mortar_method_
Mixed-hybrid model of linear Darcy flow, possibly unsteady.