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

#include <src/petsc/AuxPETSc.hpp>

Inherits pair< std::string, FEMethod *>.

Public Member Functions

 PairNameFEMethodPtr (std::string name, FEMethod *ptr)
 
 PairNameFEMethodPtr (std::string name, boost::shared_ptr< FEMethod > &ptr)
 
virtual ~PairNameFEMethodPtr ()
 

Private Attributes

boost::shared_ptr< FEMethodfePtr
 

Detailed Description

Definition at line 24 of file AuxPETSc.hpp.

Constructor & Destructor Documentation

◆ PairNameFEMethodPtr() [1/2]

MoFEM::PairNameFEMethodPtr::PairNameFEMethodPtr ( std::string  name,
FEMethod ptr 
)

Definition at line 25 of file AuxPETSc.hpp.

25  :
26  std::pair<std::string,FEMethod*>(name,ptr) {
27  }

◆ PairNameFEMethodPtr() [2/2]

MoFEM::PairNameFEMethodPtr::PairNameFEMethodPtr ( std::string  name,
boost::shared_ptr< FEMethod > &  ptr 
)

Definition at line 28 of file AuxPETSc.hpp.

28  :
29  std::pair<std::string,FEMethod*>(name,ptr.get()),
30  fePtr(ptr) {
31  }
boost::shared_ptr< FEMethod > fePtr
Definition: AuxPETSc.hpp:34

◆ ~PairNameFEMethodPtr()

virtual MoFEM::PairNameFEMethodPtr::~PairNameFEMethodPtr ( )
virtual

Definition at line 32 of file AuxPETSc.hpp.

32 {}

Member Data Documentation

◆ fePtr

boost::shared_ptr<FEMethod> MoFEM::PairNameFEMethodPtr::fePtr
private

Definition at line 34 of file AuxPETSc.hpp.


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