v0.16.3
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ADOLCPlasticity::OpMatrixSwap Struct Reference

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

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

Public Member Functions

 OpMatrixSwap (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 19 of file ADOLCPlasticityLargeStrain.hpp.

Constructor & Destructor Documentation

◆ OpMatrixSwap()

ADOLCPlasticity::OpMatrixSwap::OpMatrixSwap ( boost::shared_ptr< MatrixDouble >  m_a,
boost::shared_ptr< MatrixDouble >  m_b 
)
inline

Definition at line 23 of file ADOLCPlasticityLargeStrain.hpp.

25 : ForcesAndSourcesCore::UserDataOperator(NOSPACE,
27 mA(m_a), mB(m_b) {}
@ NOSPACE
Definition definitions.h:83
boost::shared_ptr< MatrixDouble > mB
boost::shared_ptr< MatrixDouble > mA
@ OPSPACE
operator do Work is execute on space data

Member Function Documentation

◆ doWork()

MoFEMErrorCode ADOLCPlasticity::OpMatrixSwap::doWork ( int  side,
EntityType  type,
DataForcesAndSourcesCore::EntData &  data 
)
inline
Examples
/home/lk58p/mofem_install/vanilla_dev_release/mofem-cephas/mofem/users_modules/adolc-plasticity/src/ADOLCPlasticityLargeStrain.hpp.

Definition at line 29 of file ADOLCPlasticityLargeStrain.hpp.

30 {
32 mA->swap(*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::OpMatrixSwap::mA

◆ mB

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

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