Flow123d  build_with_4.0.3-6210fd3
Public Member Functions | Protected Attributes | List of all members
MH_DofHandler Class Reference

#include <mh_dofhandler.hh>

Collaboration diagram for MH_DofHandler:
Collaboration graph
[legend]

Public Member Functions

 MH_DofHandler ()
 
 ~MH_DofHandler ()
 
void reinit (Mesh *mesh)
 
void prepare_parallel ()
 
void make_row_numberings ()
 
void set_solution (double time, double *solution)
 
double time_changed () const
 
unsigned int side_dof (const SideIter side) const
 
double side_flux (const Side &side) const
 temporary replacement for DofHandler accessor, flux through given side More...
 
double side_scalar (const Side &side) const
 temporary replacement for DofHandler accessor, scalar (pressure) on edge of the side More...
 
double element_scalar (ElementAccessor< 3 > &ele) const
 temporary replacement for DofHandler accessor, scalar (pressure) on element More...
 

Protected Attributes

vector< vector< unsigned int > > elem_side_to_global
 
Meshmesh_
 
LongIdxel_4_loc
 
LongIdxrow_4_el
 
LongIdxside_id_4_loc
 
LongIdxside_row_4_id
 
LongIdxedge_4_loc
 
LongIdxrow_4_edge
 
Distributionedge_ds
 
Distributionel_ds
 
Distributionside_ds
 
std::unordered_map< unsigned int, unsigned int > edge_new_local_4_mesh_idx_
 
double * mh_solution
 
double time_
 
friend LocalElementAccessorBase< 3 >
 
friend DarcyMH
 
friend DarcyLMH
 
friend RichardsLMH
 

Detailed Description

temporary solution to provide access to results from DarcyFlowMH independent of mesh

Definition at line 44 of file mh_dofhandler.hh.

Constructor & Destructor Documentation

◆ MH_DofHandler()

MH_DofHandler::MH_DofHandler ( )

Definition at line 28 of file mh_dofhandler.cc.

◆ ~MH_DofHandler()

MH_DofHandler::~MH_DofHandler ( )

Definition at line 41 of file mh_dofhandler.cc.

Member Function Documentation

◆ element_scalar()

double MH_DofHandler::element_scalar ( ElementAccessor< 3 > &  ele) const

temporary replacement for DofHandler accessor, scalar (pressure) on element

Definition at line 236 of file mh_dofhandler.cc.

◆ make_row_numberings()

void MH_DofHandler::make_row_numberings ( )

Definition at line 174 of file mh_dofhandler.cc.

Here is the caller graph for this function:

◆ prepare_parallel()

void MH_DofHandler::prepare_parallel ( )

Definition at line 79 of file mh_dofhandler.cc.

Here is the caller graph for this function:

◆ reinit()

void MH_DofHandler::reinit ( Mesh mesh)

Definition at line 56 of file mh_dofhandler.cc.

◆ set_solution()

void MH_DofHandler::set_solution ( double  time,
double *  solution 
)

Definition at line 218 of file mh_dofhandler.cc.

◆ side_dof()

unsigned int MH_DofHandler::side_dof ( const SideIter  side) const

Definition at line 213 of file mh_dofhandler.cc.

Here is the caller graph for this function:

◆ side_flux()

double MH_DofHandler::side_flux ( const Side side) const

temporary replacement for DofHandler accessor, flux through given side

Definition at line 225 of file mh_dofhandler.cc.

◆ side_scalar()

double MH_DofHandler::side_scalar ( const Side side) const

temporary replacement for DofHandler accessor, scalar (pressure) on edge of the side

Definition at line 230 of file mh_dofhandler.cc.

◆ time_changed()

double MH_DofHandler::time_changed ( ) const
inline

Definition at line 55 of file mh_dofhandler.hh.

Member Data Documentation

◆ DarcyLMH

friend MH_DofHandler::DarcyLMH
protected

Definition at line 95 of file mh_dofhandler.hh.

◆ DarcyMH

friend MH_DofHandler::DarcyMH
protected

Definition at line 94 of file mh_dofhandler.hh.

◆ edge_4_loc

LongIdx* MH_DofHandler::edge_4_loc
protected

Definition at line 77 of file mh_dofhandler.hh.

◆ edge_ds

Distribution* MH_DofHandler::edge_ds
protected

Definition at line 81 of file mh_dofhandler.hh.

◆ edge_new_local_4_mesh_idx_

std::unordered_map<unsigned int, unsigned int> MH_DofHandler::edge_new_local_4_mesh_idx_
protected

Maps mesh index of the edge to the edge index in the mesh portion local to the processor. Temporary solution until we have parallel mesh which should provide such information.

Definition at line 88 of file mh_dofhandler.hh.

◆ el_4_loc

LongIdx* MH_DofHandler::el_4_loc
protected

Definition at line 73 of file mh_dofhandler.hh.

◆ el_ds

Distribution* MH_DofHandler::el_ds
protected

Definition at line 82 of file mh_dofhandler.hh.

◆ elem_side_to_global

vector< vector<unsigned int> > MH_DofHandler::elem_side_to_global
protected

Definition at line 70 of file mh_dofhandler.hh.

◆ LocalElementAccessorBase< 3 >

friend MH_DofHandler::LocalElementAccessorBase< 3 >
protected

Definition at line 93 of file mh_dofhandler.hh.

◆ mesh_

Mesh* MH_DofHandler::mesh_
protected

Definition at line 72 of file mh_dofhandler.hh.

◆ mh_solution

double* MH_DofHandler::mh_solution
protected

Definition at line 90 of file mh_dofhandler.hh.

◆ RichardsLMH

friend MH_DofHandler::RichardsLMH
protected

Definition at line 96 of file mh_dofhandler.hh.

◆ row_4_edge

LongIdx* MH_DofHandler::row_4_edge
protected

Definition at line 78 of file mh_dofhandler.hh.

◆ row_4_el

LongIdx* MH_DofHandler::row_4_el
protected

Definition at line 74 of file mh_dofhandler.hh.

◆ side_ds

Distribution* MH_DofHandler::side_ds
protected

Definition at line 83 of file mh_dofhandler.hh.

◆ side_id_4_loc

LongIdx* MH_DofHandler::side_id_4_loc
protected

Definition at line 75 of file mh_dofhandler.hh.

◆ side_row_4_id

LongIdx* MH_DofHandler::side_row_4_id
protected

Definition at line 76 of file mh_dofhandler.hh.

◆ time_

double MH_DofHandler::time_
protected

Definition at line 91 of file mh_dofhandler.hh.


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