v0.15.0
Loading...
Searching...
No Matches
ADOLCPlasticity::OpTransferCommonData Struct Reference

#include "users_modules/adolc-plasticity/src/ADOLCPlasticityLargeStrain.hpp"

Inheritance diagram for ADOLCPlasticity::OpTransferCommonData:
[legend]
Collaboration diagram for ADOLCPlasticity::OpTransferCommonData:
[legend]

Public Member Functions

 OpTransferCommonData (boost::shared_ptr< MatrixDouble > m_a, boost::shared_ptr< MatrixDouble > m_b)
 
MoFEMErrorCode doWork (int side, EntityType type, DataForcesAndSourcesCore::EntData &data)
 

Public Attributes

boost::shared_ptr< MatrixDouble > mA
 
boost::shared_ptr< MatrixDouble > mB
 

Detailed Description

Definition at line 18 of file ADOLCPlasticityLargeStrain.hpp.

Constructor & Destructor Documentation

◆ OpTransferCommonData()

ADOLCPlasticity::OpTransferCommonData::OpTransferCommonData ( boost::shared_ptr< MatrixDouble > m_a,
boost::shared_ptr< MatrixDouble > m_b )
inline
Examples
ADOLCPlasticityLargeStrain.hpp.

Definition at line 22 of file ADOLCPlasticityLargeStrain.hpp.

24 : ForcesAndSourcesCore::UserDataOperator(NOSPACE,
25 UserDataOperator::OPSPACE),
26 mA(m_a), mB(m_b) {}
@ NOSPACE
Definition definitions.h:83

Member Function Documentation

◆ doWork()

MoFEMErrorCode ADOLCPlasticity::OpTransferCommonData::doWork ( int side,
EntityType type,
DataForcesAndSourcesCore::EntData & data )
inline
Examples
ADOLCPlasticityLargeStrain.hpp.

Definition at line 28 of file ADOLCPlasticityLargeStrain.hpp.

29 {
31 // Swap mA to mB
32 *mA = std::move(*mB);
34 }
#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

◆ mA

boost::shared_ptr<MatrixDouble> ADOLCPlasticity::OpTransferCommonData::mA

◆ mB

boost::shared_ptr<MatrixDouble> ADOLCPlasticity::OpTransferCommonData::mB

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