Flow123d
DF_patch_fe_data_tables-32b3de9
|
Class represents FE operations. More...
#include <patch_point_values.hh>
Public Member Functions | |
ElOp (uint dim, std::initializer_list< uint > shape, uint result_row, ReinitFunction reinit_f, std::vector< uint > input_ops={}, uint n_dofs=1) | |
Constructor. More... | |
uint | n_comp () const |
Number of components computed from shape_ vector. More... | |
uint | dim () const |
Getter of dimension. More... | |
uint | result_row () const |
Getter of result_row_. More... | |
uint | n_dofs () const |
Getter of n_dofs_. More... | |
const std::vector< uint > & | input_ops () const |
Getter of input_ops_. More... | |
const std::vector< uint > & | shape () const |
Getter of shape_. More... | |
std::string | format_shape () const |
Format shape to string. More... | |
void | reinit_function (std::vector< ElOp< spacedim >> &operations, TableDbl &data_table, TableInt &int_table) |
Call reinit function on element table if function is defined. More... | |
template<unsigned int dim1, unsigned int dim2> | |
Eigen::Map< Eigen::Matrix< ArrayDbl, dim1, dim2 > > | value (TableDbl &op_results, uint i_dof=0) const |
Return map referenced Eigen::Matrix of given dimension. 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... | |
uint | result_row_ |
First row to scalar, vector or matrix result. 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 FE operations.
Definition at line 385 of file patch_point_values.hh.
|
inline |
Constructor.
Definition at line 388 of file patch_point_values.hh.
Getter of dimension.
Definition at line 399 of file patch_point_values.hh.
|
inline |
Format shape to string.
Definition at line 424 of file patch_point_values.hh.
|
inline |
Getter of input_ops_.
Definition at line 414 of file patch_point_values.hh.
Number of components computed from shape_ vector.
Definition at line 393 of file patch_point_values.hh.
Getter of n_dofs_.
Definition at line 409 of file patch_point_values.hh.
|
inline |
Call reinit function on element table if function is defined.
Definition at line 432 of file patch_point_values.hh.
Getter of result_row_.
Definition at line 404 of file patch_point_values.hh.
|
inline |
Getter of shape_.
Definition at line 419 of file patch_point_values.hh.
|
inline |
Return map referenced Eigen::Matrix of given dimension.
Definition at line 438 of file patch_point_values.hh.
Dimension.
Definition at line 444 of file patch_point_values.hh.
|
protected |
Indices of operations in PatchPointValues::operations_ vector on which ElOp is depended.
Definition at line 447 of file patch_point_values.hh.
Number of DOFs of FE operations (or 1 in case of element operations)
Definition at line 448 of file patch_point_values.hh.
|
protected |
Pointer to patch reinit function of element data table specialized by operation.
Definition at line 450 of file patch_point_values.hh.
First row to scalar, vector or matrix result.
Definition at line 446 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 445 of file patch_point_values.hh.