v0.15.0
Loading...
Searching...
No Matches
FreeSurfaceOps::OpLoopSideGetDataForSideEle Struct Reference

#include "tutorials/vec-5/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

Examples
free_surface.cpp.

Definition at line 576 of file FreeSurfaceOps.hpp.

Member Typedef Documentation

◆ UDO

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

Definition at line 578 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 580 of file FreeSurfaceOps.hpp.

584 : UDO(field_name, UDO::OPCOL), colIndicesPtr(col_indices_ptr),
585 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 587 of file FreeSurfaceOps.hpp.

588 {
590
591 if (type == MBVERTEX) {
592 colIndicesPtr->clear();
594 }
595
596 colIndicesPtr->push_back(data.getIndices());
597 colDiffBaseFunctionsPtr->push_back(data.getDiffN());
598
600 }
#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 604 of file FreeSurfaceOps.hpp.

◆ colIndicesPtr

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

Definition at line 603 of file FreeSurfaceOps.hpp.


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