Flow123d
release_3.0.0-1264-g45bfb2a
|
#include <mh_dofhandler.hh>
Public Member Functions | |
MH_DofHandler () | |
~MH_DofHandler () | |
void | reinit (Mesh *mesh) |
void | prepare_parallel () |
void | make_row_numberings () |
void | prepare_parallel_bddc () |
void | set_solution (double time, double *solution, double precision) |
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... | |
double | precision () const |
LocalElementAccessorBase< 3 > | accessor (uint local_ele_idx) |
Public Attributes | |
vector< vector< unsigned int > > | elem_side_to_global |
Mesh * | mesh_ |
LongIdx * | el_4_loc |
LongIdx * | row_4_el |
LongIdx * | side_id_4_loc |
LongIdx * | side_row_4_id |
LongIdx * | edge_4_loc |
LongIdx * | row_4_edge |
Distribution * | edge_ds |
Distribution * | el_ds |
Distribution * | side_ds |
std::shared_ptr< Distribution > | rows_ds |
std::unordered_map< unsigned int, unsigned int > | edge_new_local_4_mesh_idx_ |
std::shared_ptr< LocalToGlobalMap > | global_row_4_sub_row |
Necessary only for BDDC solver. More... | |
double * | mh_solution |
double | solution_precision |
double | time_ |
friend | LocalElementAccessorBase< 3 > |
temporary solution to provide access to results from DarcyFlowMH independent of mesh
Definition at line 41 of file mh_dofhandler.hh.
MH_DofHandler::MH_DofHandler | ( | ) |
Definition at line 28 of file mh_dofhandler.cc.
MH_DofHandler::~MH_DofHandler | ( | ) |
Definition at line 41 of file mh_dofhandler.cc.
LocalElementAccessorBase< 3 > MH_DofHandler::accessor | ( | uint | local_ele_idx | ) |
double MH_DofHandler::element_scalar | ( | ElementAccessor< 3 > & | ele | ) | const |
temporary replacement for DofHandler accessor, scalar (pressure) on element
Definition at line 283 of file mh_dofhandler.cc.
void MH_DofHandler::make_row_numberings | ( | ) |
|
inline |
void MH_DofHandler::prepare_parallel | ( | ) |
void MH_DofHandler::prepare_parallel_bddc | ( | ) |
void MH_DofHandler::reinit | ( | Mesh * | mesh | ) |
void MH_DofHandler::set_solution | ( | double | time, |
double * | solution, | ||
double | precision | ||
) |
Definition at line 264 of file mh_dofhandler.cc.
unsigned int MH_DofHandler::side_dof | ( | const SideIter | side | ) | const |
double MH_DofHandler::side_flux | ( | const Side & | side | ) | const |
temporary replacement for DofHandler accessor, flux through given side
Definition at line 272 of file mh_dofhandler.cc.
double MH_DofHandler::side_scalar | ( | const Side & | side | ) | const |
temporary replacement for DofHandler accessor, scalar (pressure) on edge of the side
Definition at line 277 of file mh_dofhandler.cc.
|
inline |
LongIdx* MH_DofHandler::edge_4_loc |
Definition at line 79 of file mh_dofhandler.hh.
Distribution* MH_DofHandler::edge_ds |
Definition at line 83 of file mh_dofhandler.hh.
std::unordered_map<unsigned int, unsigned int> MH_DofHandler::edge_new_local_4_mesh_idx_ |
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 91 of file mh_dofhandler.hh.
LongIdx* MH_DofHandler::el_4_loc |
Definition at line 75 of file mh_dofhandler.hh.
Distribution* MH_DofHandler::el_ds |
Definition at line 84 of file mh_dofhandler.hh.
Definition at line 72 of file mh_dofhandler.hh.
std::shared_ptr<LocalToGlobalMap> MH_DofHandler::global_row_4_sub_row |
Necessary only for BDDC solver.
Definition at line 94 of file mh_dofhandler.hh.
friend MH_DofHandler::LocalElementAccessorBase< 3 > |
Definition at line 101 of file mh_dofhandler.hh.
Mesh* MH_DofHandler::mesh_ |
Definition at line 74 of file mh_dofhandler.hh.
double* MH_DofHandler::mh_solution |
Definition at line 97 of file mh_dofhandler.hh.
LongIdx* MH_DofHandler::row_4_edge |
Definition at line 80 of file mh_dofhandler.hh.
LongIdx* MH_DofHandler::row_4_el |
Definition at line 76 of file mh_dofhandler.hh.
std::shared_ptr<Distribution> MH_DofHandler::rows_ds |
Definition at line 86 of file mh_dofhandler.hh.
Distribution* MH_DofHandler::side_ds |
Definition at line 85 of file mh_dofhandler.hh.
LongIdx* MH_DofHandler::side_id_4_loc |
Definition at line 77 of file mh_dofhandler.hh.
LongIdx* MH_DofHandler::side_row_4_id |
Definition at line 78 of file mh_dofhandler.hh.
double MH_DofHandler::solution_precision |
Definition at line 98 of file mh_dofhandler.hh.
double MH_DofHandler::time_ |
Definition at line 99 of file mh_dofhandler.hh.