v0.8.15
Public Member Functions | Private Attributes | List of all members
MoFEM::BasicMethodPtr Struct Reference

#include <src/petsc/AuxPETSc.hpp>

Collaboration diagram for MoFEM::BasicMethodPtr:
[legend]

Public Member Functions

 BasicMethodPtr (BasicMethod *ptr)
 
 BasicMethodPtr (boost::shared_ptr< BasicMethod > &ptr)
 
 BasicMethodPtr (boost::shared_ptr< FEMethod > &ptr)
 
BasicMethodoperator* () const
 
BasicMethodoperator-> () const
 

Private Attributes

BasicMethodrawPtr
 
boost::shared_ptr< BasicMethodbmPtr
 

Detailed Description

Definition at line 37 of file AuxPETSc.hpp.

Constructor & Destructor Documentation

◆ BasicMethodPtr() [1/3]

MoFEM::BasicMethodPtr::BasicMethodPtr ( BasicMethod ptr)

Definition at line 38 of file AuxPETSc.hpp.

38  :
39  rawPtr(ptr) {}
BasicMethod * rawPtr
Definition: AuxPETSc.hpp:49

◆ BasicMethodPtr() [2/3]

MoFEM::BasicMethodPtr::BasicMethodPtr ( boost::shared_ptr< BasicMethod > &  ptr)

Definition at line 40 of file AuxPETSc.hpp.

40  :
41  rawPtr(ptr.get()),
42  bmPtr(ptr) {}
BasicMethod * rawPtr
Definition: AuxPETSc.hpp:49
boost::shared_ptr< BasicMethod > bmPtr
Definition: AuxPETSc.hpp:50

◆ BasicMethodPtr() [3/3]

MoFEM::BasicMethodPtr::BasicMethodPtr ( boost::shared_ptr< FEMethod > &  ptr)

Definition at line 43 of file AuxPETSc.hpp.

43  :
44  rawPtr(ptr.get()),
45  bmPtr(ptr) {}
BasicMethod * rawPtr
Definition: AuxPETSc.hpp:49
boost::shared_ptr< BasicMethod > bmPtr
Definition: AuxPETSc.hpp:50

Member Function Documentation

◆ operator*()

BasicMethod& MoFEM::BasicMethodPtr::operator* ( ) const

Definition at line 46 of file AuxPETSc.hpp.

46 { return *rawPtr; };
BasicMethod * rawPtr
Definition: AuxPETSc.hpp:49

◆ operator->()

BasicMethod* MoFEM::BasicMethodPtr::operator-> ( ) const

Definition at line 47 of file AuxPETSc.hpp.

47 { return rawPtr; }
BasicMethod * rawPtr
Definition: AuxPETSc.hpp:49

Member Data Documentation

◆ bmPtr

boost::shared_ptr<BasicMethod> MoFEM::BasicMethodPtr::bmPtr
private

Definition at line 50 of file AuxPETSc.hpp.

◆ rawPtr

BasicMethod* MoFEM::BasicMethodPtr::rawPtr
private

Definition at line 49 of file AuxPETSc.hpp.


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