|
Flow123d
DF_patch_fe_mechanics-5faa023
|
Class represents element or FE operations. More...
#include <patch_op.hh>

Public Member Functions | |
| PatchOp (uint dim, PatchFEValues< spacedim > &pfev, std::initializer_list< uint > shape, OpSizeType size_type, uint n_dofs=1) | |
| virtual | ~PatchOp () |
| Destructor. More... | |
| 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 |
| ElemDomain | domain () const |
| Getter for bulk_side flag. More... | |
| OpSizeType | size_type () const |
| Getter for size_type_. More... | |
| uint | n_dofs () const |
| Getter for n_dofs_. More... | |
| PatchOp< spacedim > * | input_ops (uint i_op) const |
| Return pointer to operation of i_op index in input operation vector. More... | |
| const std::vector< uint > & | shape () const |
| Getter for shape_. More... | |
| std::string | format_shape () const |
| void | allocate_result (size_t data_size, PatchArena &arena) |
| void | allocate_const_result (ArenaVec< double > &value_vec) |
| Eigen::Map< Eigen::Matrix< ArenaVec< double >, Eigen::Dynamic, Eigen::Dynamic > > | result_matrix () |
| Return map referenced result as Eigen::Vector. More... | |
| Eigen::Map< Eigen::Matrix< ArenaVec< double >, Eigen::Dynamic, Eigen::Dynamic > > | result_sub_matrix (uint i_dof) |
| Return map referenced result of DOF values as Eigen::Matrix. More... | |
| Eigen::Vector< ArenaVec< double >, Eigen::Dynamic > & | raw_result () |
| Return map referenced result as Eigen::Vector. More... | |
| const Eigen::Vector< ArenaVec< double >, Eigen::Dynamic > & | raw_result () const |
| Same as previous but return const reference. More... | |
| PatchPointValues< spacedim > & | ppv () const |
| Return reference of PatchPointValues. More... | |
| virtual void | eval ()=0 |
| Reinit function of operation. Implementation in descendants. More... | |
| template<class ValueType > | |
| ValueType | elem_value (uint point_idx) const |
| template<class ValueType > | |
| ValueType | point_value (uint point_idx, uint i_dof=0) const |
Protected Attributes | |
| uint | dim_ |
| Dimension. More... | |
| ElemDomain | domain_ |
| Flag: BulkOp = 0, SideOp = 1. More... | |
| std::vector< uint > | shape_ |
| Shape of stored data (size of vector or number of rows and cols of matrix) More... | |
| Eigen::Vector< ArenaVec< double >, 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< PatchOp< spacedim > * > | input_ops_ |
| Indices of operations in PatchPointValues::operations_ vector on which PatchOp is depended. More... | |
| uint | n_dofs_ |
| Number of DOFs of FE operations (or 1 in case of element operations) More... | |
| PatchFEValues< spacedim > * | patch_fe_ |
| Pointer to PatchFEValues object. More... | |
Friends | |
| class | PatchFEValues< spacedim > |
Class represents element or FE operations.
Definition at line 45 of file patch_op.hh.
|
inline |
Destructor.
Definition at line 60 of file patch_op.hh.
|
inline |
Definition at line 127 of file patch_op.hh.
|
inline |
|
inline |
Getter for bulk_side flag.
Definition at line 87 of file patch_op.hh.

|
inline |
Returns output value of data stored by elements.
| point_idx | Index of quadrature point in ElementCacheMap |
|
pure virtual |
Reinit function of operation. Implementation in descendants.
Implemented in Op::OpZero< dim, Domain, spacedim >, Op::VectorDivergence< dim, Domain, spacedim >, Op::VectorSymGrad< dim, Domain, spacedim >, Op::DispatchGradVectorShape< dim, Domain, spacedim >, Op::GradVectorShape< dim, Op::SideDomain, spacedim >, Op::GradVectorShape< dim, Domain, spacedim >, Op::GradScalarShape< dim, Op::SideDomain, spacedim >, Op::GradScalarShape< dim, Domain, spacedim >, Op::DispatchVectorShape< dim, Domain, spacedim >, Op::VectorShape< dim, Op::SideDomain, spacedim >, Op::VectorShape< dim, Domain, spacedim >, Op::ScalarShape< dim, Op::SideDomain, spacedim >, Op::ScalarShape< dim, Domain, spacedim >, Op::RefGradVector< dim, Op::SideDomain, spacedim >, Op::RefGradVector< dim, Domain, spacedim >, Op::RefGradScalar< dim, Op::SideDomain, spacedim >, Op::RefGradScalar< dim, Domain, spacedim >, Op::RefVector< dim, Op::SideDomain, spacedim >, Op::RefVector< dim, Domain, spacedim >, Op::RefScalar< dim, Op::SideDomain, spacedim >, Op::RefScalar< dim, Domain, spacedim >, Op::NormalVec< dim, spacedim >, Op::JxW< dim, Domain, spacedim >, Op::Weights< dim, Domain, spacedim >, Op::PtCoords< dim, Domain, spacedim >, Op::InvJac< dim, Domain, spacedim >, Op::JacDet< 1, Op::SideDomain, Op::SideDomain, 3 >, Op::JacDet< dim, ElDomain, Domain, spacedim >, Op::Jac< dim, ElDomain, Domain, spacedim >, and Op::Coords< dim, ElDomain, Domain, spacedim >.

|
inline |
Format shape to string
Method is used in output development method.
Definition at line 116 of file patch_op.hh.
|
inline |
Return pointer to operation of i_op index in input operation vector.
Definition at line 102 of file patch_op.hh.
Return number of operation components
Value is computed from shape_ vector
Definition at line 77 of file patch_op.hh.

Getter for n_dofs_.
Definition at line 97 of file patch_op.hh.

|
inline |
Returns output value on quadrature point.
| point_idx | Index of quadrature point in ElementCacheMap |
| i_dof | Index of DOF |
|
inline |
Return reference of PatchPointValues.
Definition at line 155 of file patch_op.hh.
|
inline |
Return map referenced result as Eigen::Vector.
Definition at line 145 of file patch_op.hh.
|
inline |
Same as previous but return const reference.
Definition at line 150 of file patch_op.hh.
|
inline |
Return map referenced result as Eigen::Vector.
Definition at line 133 of file patch_op.hh.

|
inline |
Return map referenced result of DOF values as Eigen::Matrix.
Definition at line 138 of file patch_op.hh.

|
inline |
Aligns shape_vec to 2 items (equal to matrix number of dimensions)
Definition at line 65 of file patch_op.hh.
|
inline |
Getter for shape_.
Definition at line 107 of file patch_op.hh.

|
inline |
Getter for size_type_.
Definition at line 92 of file patch_op.hh.
|
friend |
Definition at line 188 of file patch_op.hh.
Dimension.
Definition at line 181 of file patch_op.hh.
|
protected |
Flag: BulkOp = 0, SideOp = 1.
Definition at line 182 of file patch_op.hh.
|
protected |
Indices of operations in PatchPointValues::operations_ vector on which PatchOp is depended.
Definition at line 186 of file patch_op.hh.
Number of DOFs of FE operations (or 1 in case of element operations)
Definition at line 187 of file patch_op.hh.
|
protected |
Pointer to PatchFEValues object.
Definition at line 188 of file patch_op.hh.
|
protected |
Result matrix of operation.
Definition at line 184 of file patch_op.hh.
|
protected |
Shape of stored data (size of vector or number of rows and cols of matrix)
Definition at line 183 of file patch_op.hh.
|
protected |
Type of operation by size of vector (element, point or fixed size)
Definition at line 185 of file patch_op.hh.