Flow123d
DF_patch_fe_data_tables-1a16803
|
#include <patch_fe_values.hh>
Classes | |
struct | TableSizes |
Struct for pre-computing number of elements, sides, bulk points and side points on each dimension. More... | |
Public Member Functions | |
PatchFEValues () | |
PatchFEValues (unsigned int quad_order, MixedPtr< FiniteElement > fe) | |
~PatchFEValues () | |
Destructor. More... | |
Quadrature * | get_quadrature (uint dim, bool is_bulk) const |
Return bulk or side quadrature of given dimension. More... | |
template<unsigned int DIM> | |
void | initialize (Quadrature &_quadrature) |
Initialize structures and calculates cell-independent data. More... | |
void | init_finalize () |
Finalize initialization, creates child (patch) arena and passes it to PatchPointValue objects. More... | |
void | reset () |
Reset PatchpointValues structures. More... | |
void | reinit_patch () |
Reinit data. More... | |
template<unsigned int dim> | |
unsigned int | n_dofs () const |
Returns the number of shape functions. More... | |
template<unsigned int dim> | |
BulkValues< dim > | bulk_values () |
Return BulkValue object of dimension given by template parameter. More... | |
template<unsigned int dim> | |
SideValues< dim > | side_values () |
Return SideValue object of dimension given by template parameter. More... | |
template<unsigned int dim> | |
JoinValues< dim > | join_values () |
Return JoinValue object of dimension given by template parameter. More... | |
void | resize_tables (TableSizes table_sizes) |
Resize tables of patch_point_vals_. More... | |
uint | register_element (DHCellAccessor cell, uint element_patch_idx) |
Register element to patch_point_vals_ table by dimension of element. More... | |
uint | register_side (DHCellSide cell_side) |
Register side to patch_point_vals_ table by dimension of side. More... | |
uint | register_bulk_point (DHCellAccessor cell, uint elem_table_row, uint value_patch_idx, uint i_point_on_elem) |
Register bulk point to patch_point_vals_ table by dimension of element. More... | |
uint | register_side_point (DHCellSide cell_side, uint elem_table_row, uint value_patch_idx, uint i_point_on_side) |
Register side point to patch_point_vals_ table by dimension of side. More... | |
void | print_data_tables (ostream &stream, bool points, bool ints, bool only_bulk=true) const |
Temporary development method. More... | |
void | print_operations (ostream &stream) const |
Temporary development method. More... | |
Private Attributes | |
AssemblyArena | asm_arena_ |
PatchArena * | patch_arena_ |
std::array< FeBulk::PatchPointValues< spacedim >, 3 > | patch_point_vals_bulk_ |
Sub objects of bulk data of dimensions 1,2,3. More... | |
std::array< FeSide::PatchPointValues< spacedim >, 3 > | patch_point_vals_side_ |
Sub objects of side data of dimensions 1,2,3. More... | |
MixedPtr< FiniteElement > | fe_ |
Mixed of shared pointers of FiniteElement object. More... | |
bool | used_quads_ [2] |
Pair of flags signs holds info if bulk and side quadratures are used. More... | |
Friends | |
template<class ValueType > | |
class | ElQ |
template<class ValueType > | |
class | FeQ |
template<class ValueType > | |
class | JoinShapeAccessor |
Definition at line 613 of file patch_fe_values.hh.
|
inline |
Definition at line 649 of file patch_fe_values.hh.
|
inline |
Definition at line 662 of file patch_fe_values.hh.
|
inline |
Destructor.
Definition at line 678 of file patch_fe_values.hh.
|
inline |
Return BulkValue object of dimension given by template parameter.
Definition at line 748 of file patch_fe_values.hh.
|
inline |
Return bulk or side quadrature of given dimension.
Definition at line 685 of file patch_fe_values.hh.
|
inline |
Finalize initialization, creates child (patch) arena and passes it to PatchPointValue objects.
Definition at line 710 of file patch_fe_values.hh.
|
inline |
Initialize structures and calculates cell-independent data.
_quadrature | The quadrature rule for the cell associated to given finite element or for the cell side. |
_flags | The update flags. |
Definition at line 698 of file patch_fe_values.hh.
|
inline |
Return JoinValue object of dimension given by template parameter.
Definition at line 762 of file patch_fe_values.hh.
|
inline |
Returns the number of shape functions.
Definition at line 741 of file patch_fe_values.hh.
|
inline |
Temporary development method.
Definition at line 841 of file patch_fe_values.hh.
|
inline |
Temporary development method.
Definition at line 858 of file patch_fe_values.hh.
|
inline |
Register bulk point to patch_point_vals_ table by dimension of element.
Definition at line 830 of file patch_fe_values.hh.
|
inline |
Register element to patch_point_vals_ table by dimension of element.
Definition at line 778 of file patch_fe_values.hh.
|
inline |
Register side to patch_point_vals_ table by dimension of side.
Definition at line 801 of file patch_fe_values.hh.
|
inline |
Register side point to patch_point_vals_ table by dimension of side.
Definition at line 835 of file patch_fe_values.hh.
|
inline |
Reinit data.
Definition at line 729 of file patch_fe_values.hh.
|
inline |
Reset PatchpointValues structures.
Definition at line 719 of file patch_fe_values.hh.
|
inline |
Resize tables of patch_point_vals_.
Following methods are used during update of patch.
Definition at line 770 of file patch_fe_values.hh.
|
inline |
Return SideValue object of dimension given by template parameter.
Definition at line 755 of file patch_fe_values.hh.
Definition at line 883 of file patch_fe_values.hh.
Definition at line 885 of file patch_fe_values.hh.
|
friend |
Definition at line 887 of file patch_fe_values.hh.
|
private |
Definition at line 874 of file patch_fe_values.hh.
|
private |
Mixed of shared pointers of FiniteElement object.
Definition at line 879 of file patch_fe_values.hh.
|
private |
Definition at line 875 of file patch_fe_values.hh.
|
private |
Sub objects of bulk data of dimensions 1,2,3.
Definition at line 876 of file patch_fe_values.hh.
|
private |
Sub objects of side data of dimensions 1,2,3.
Definition at line 877 of file patch_fe_values.hh.
|
private |
Pair of flags signs holds info if bulk and side quadratures are used.
Definition at line 880 of file patch_fe_values.hh.