Flow123d
DF_patch_fe_data_tables-92632e6
|
Class represents element or FE operations. More...
#include <patch_point_values.hh>
Public Member Functions | |
ElOp (uint dim, std::initializer_list< uint > shape, ReinitFunction reinit_f, OpSizeType size_type, std::vector< uint > input_ops={}, uint n_dofs=1) | |
std::vector< uint > | set_shape_vec (std::initializer_list< uint > shape) const |
Aligns shape_vec to 2 items (equal to matrix number of dimensions) More... | |
uint | n_comp () const |
uint | dim () const |
Getter for dimension. More... | |
OpSizeType | size_type () const |
Getter for size_type_. More... | |
uint | n_dofs () const |
Getter for n_dofs_. More... | |
const std::vector< uint > & | input_ops () const |
Getter for input_ops_. More... | |
const std::vector< uint > & | shape () const |
Getter for shape_. More... | |
std::string | format_shape () const |
void | reinit_function (std::vector< ElOp< spacedim >> &operations, IntTableArena &int_table) |
Call reinit function on element table if function is defined. More... | |
void | allocate_result (size_t data_size, PatchArena &arena) |
Eigen::Matrix< ArenaVec< double >, Eigen::Dynamic, Eigen::Dynamic > & | result_matrix () |
Return map referenced result as Eigen::Matrix. More... | |
const Eigen::Matrix< ArenaVec< double >, Eigen::Dynamic, Eigen::Dynamic > & | result_matrix () const |
Same as previous but return const reference. More... | |
Protected Attributes | |
uint | dim_ |
Dimension. More... | |
std::vector< uint > | shape_ |
Shape of stored data (size of vector or number of rows and cols of matrix) More... | |
Eigen::Matrix< ArenaVec< double >, Eigen::Dynamic, Eigen::Dynamic > | result_ |
Result matrix of operation. More... | |
OpSizeType | size_type_ |
Type of operation by size of vector (element, point or fixed size) More... | |
std::vector< uint > | input_ops_ |
Indices of operations in PatchPointValues::operations_ vector on which ElOp is depended. More... | |
uint | n_dofs_ |
Number of DOFs of FE operations (or 1 in case of element operations) More... | |
ReinitFunction | reinit_func |
Pointer to patch reinit function of element data table specialized by operation. More... | |
Class represents element or FE operations.
Definition at line 486 of file patch_point_values.hh.
|
inline |
|
inline |
Definition at line 555 of file patch_point_values.hh.
Getter for dimension.
Definition at line 515 of file patch_point_values.hh.
|
inline |
Format shape to string
Method is used in output development method.
Definition at line 544 of file patch_point_values.hh.
|
inline |
Getter for input_ops_.
Definition at line 530 of file patch_point_values.hh.
Return number of operation components
Value is computed from shape_ vector
Definition at line 510 of file patch_point_values.hh.
Getter for n_dofs_.
Definition at line 525 of file patch_point_values.hh.
|
inline |
Call reinit function on element table if function is defined.
Definition at line 551 of file patch_point_values.hh.
|
inline |
Return map referenced result as Eigen::Matrix.
Definition at line 562 of file patch_point_values.hh.
|
inline |
Same as previous but return const reference.
Definition at line 567 of file patch_point_values.hh.
|
inline |
Aligns shape_vec to 2 items (equal to matrix number of dimensions)
Definition at line 498 of file patch_point_values.hh.
|
inline |
Getter for shape_.
Definition at line 535 of file patch_point_values.hh.
|
inline |
Getter for size_type_.
Definition at line 520 of file patch_point_values.hh.
Dimension.
Definition at line 573 of file patch_point_values.hh.
|
protected |
Indices of operations in PatchPointValues::operations_ vector on which ElOp is depended.
Definition at line 577 of file patch_point_values.hh.
Number of DOFs of FE operations (or 1 in case of element operations)
Definition at line 578 of file patch_point_values.hh.
|
protected |
Pointer to patch reinit function of element data table specialized by operation.
Definition at line 580 of file patch_point_values.hh.
|
protected |
Result matrix of operation.
Definition at line 575 of file patch_point_values.hh.
|
protected |
Shape of stored data (size of vector or number of rows and cols of matrix)
Definition at line 574 of file patch_point_values.hh.
|
protected |
Type of operation by size of vector (element, point or fixed size)
Definition at line 576 of file patch_point_values.hh.