v0.15.5
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
FreeSurfaceOps::OpLoopSideGetDataForSideEle Struct Reference

[OpLhsU_dU] More...

#include "tutorials/vec-5_free_surface/src/FreeSurfaceOps.hpp"

Inheritance diagram for FreeSurfaceOps::OpLoopSideGetDataForSideEle:
[legend]
Collaboration diagram for FreeSurfaceOps::OpLoopSideGetDataForSideEle:
[legend]

Public Types

using UDO = ForcesAndSourcesCore::UserDataOperator
 

Public Member Functions

 OpLoopSideGetDataForSideEle (const std::string field_name, boost::shared_ptr< std::vector< VectorInt > > col_indices_ptr, boost::shared_ptr< std::vector< MatrixDouble > > col_diff_basefunctions_ptr)
 
MoFEMErrorCode doWork (int side, EntityType type, DataForcesAndSourcesCore::EntData &data)
 

Protected Attributes

boost::shared_ptr< std::vector< VectorInt > > colIndicesPtr
 
boost::shared_ptr< std::vector< MatrixDouble > > colDiffBaseFunctionsPtr
 

Detailed Description

[OpLhsU_dU]

Examples
mofem/tutorials/vec-5_free_surface/free_surface.cpp.

Definition at line 707 of file FreeSurfaceOps.hpp.

Member Typedef Documentation

◆ UDO

using FreeSurfaceOps::OpLoopSideGetDataForSideEle::UDO = ForcesAndSourcesCore::UserDataOperator

Definition at line 709 of file FreeSurfaceOps.hpp.

Constructor & Destructor Documentation

◆ OpLoopSideGetDataForSideEle()

FreeSurfaceOps::OpLoopSideGetDataForSideEle::OpLoopSideGetDataForSideEle ( const std::string  field_name,
boost::shared_ptr< std::vector< VectorInt > >  col_indices_ptr,
boost::shared_ptr< std::vector< MatrixDouble > >  col_diff_basefunctions_ptr 
)
inline

Definition at line 711 of file FreeSurfaceOps.hpp.

715 : UDO(field_name, UDO::OPCOL), colIndicesPtr(col_indices_ptr),
716 colDiffBaseFunctionsPtr(col_diff_basefunctions_ptr) {}
constexpr auto field_name
boost::shared_ptr< std::vector< VectorInt > > colIndicesPtr
ForcesAndSourcesCore::UserDataOperator UDO
boost::shared_ptr< std::vector< MatrixDouble > > colDiffBaseFunctionsPtr

Member Function Documentation

◆ doWork()

MoFEMErrorCode FreeSurfaceOps::OpLoopSideGetDataForSideEle::doWork ( int  side,
EntityType  type,
DataForcesAndSourcesCore::EntData &  data 
)
inline

Definition at line 718 of file FreeSurfaceOps.hpp.

719 {
721
722 if (type == MBVERTEX) {
723 colIndicesPtr->clear();
725 }
726
727 colIndicesPtr->push_back(data.getIndices());
728 colDiffBaseFunctionsPtr->push_back(data.getDiffN());
729
731 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()

Member Data Documentation

◆ colDiffBaseFunctionsPtr

boost::shared_ptr<std::vector<MatrixDouble> > FreeSurfaceOps::OpLoopSideGetDataForSideEle::colDiffBaseFunctionsPtr
protected

Definition at line 735 of file FreeSurfaceOps.hpp.

◆ colIndicesPtr

boost::shared_ptr<std::vector<VectorInt> > FreeSurfaceOps::OpLoopSideGetDataForSideEle::colIndicesPtr
protected

Definition at line 734 of file FreeSurfaceOps.hpp.


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