Flow123d  DF_patch_fe_mechanics-5faa023
Public Member Functions | List of all members
Op::JacDet< dim, ElDomain, Domain, spacedim > Class Template Reference

Evaluates Jacobian determinants on Bulk (Element) / Side. More...

#include <op_function.hh>

Inheritance diagram for Op::JacDet< dim, ElDomain, Domain, spacedim >:
Inheritance graph
[legend]
Collaboration diagram for Op::JacDet< dim, ElDomain, Domain, spacedim >:
Collaboration graph
[legend]

Public Member Functions

 JacDet (PatchFEValues< spacedim > &pfev)
 Constructor. More...
 
void eval () override
 Reinit function of operation. Implementation in descendants. More...
 
- Public Member Functions inherited from PatchOp< 3 >
 PatchOp (uint dim, PatchFEValues< spacedim > &pfev, std::initializer_list< uint > shape, OpSizeType size_type, uint n_dofs=1)
 
virtual ~PatchOp ()
 Destructor. More...
 
std::vector< uintset_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...
 
ValueType elem_value (uint point_idx) const
 
ValueType point_value (uint point_idx, uint i_dof=0) const
 

Additional Inherited Members

- Protected Attributes inherited from PatchOp< 3 >
uint dim_
 Dimension. More...
 
ElemDomain domain_
 Flag: BulkOp = 0, SideOp = 1. More...
 
std::vector< uintshape_
 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...
 

Detailed Description

template<unsigned int dim, class ElDomain, class Domain, unsigned int spacedim = 3>
class Op::JacDet< dim, ElDomain, Domain, spacedim >

Evaluates Jacobian determinants on Bulk (Element) / Side.

Definition at line 109 of file op_function.hh.

Constructor & Destructor Documentation

◆ JacDet()

template<unsigned int dim, class ElDomain , class Domain , unsigned int spacedim = 3>
Op::JacDet< dim, ElDomain, Domain, spacedim >::JacDet ( PatchFEValues< spacedim > &  pfev)
inline

Constructor.

Definition at line 112 of file op_function.hh.

Member Function Documentation

◆ eval()

template<unsigned int dim, class ElDomain , class Domain , unsigned int spacedim = 3>
void Op::JacDet< dim, ElDomain, Domain, spacedim >::eval ( )
inlineoverridevirtual

Reinit function of operation. Implementation in descendants.

Implements PatchOp< 3 >.

Definition at line 119 of file op_function.hh.


The documentation for this class was generated from the following file: