|
| v0.14.0
|
Go to the documentation of this file.
7 #ifndef __AUXPETSC_HPP__
8 #define __AUXPETSC_HPP__
16 template <
typename FEMETHOD>
24 THROW_MESSAGE(
"Shared pointer not set. You have to be using raw "
25 "pointer, that is unsafe.");
30 boost::shared_ptr<FEMethod>
fePtr;
35 template <
typename BASICMETHOD>
46 THROW_MESSAGE(
"Shared pointer not set. You have to be using raw "
47 "pointer, that is unsafe.");
53 boost::shared_ptr<BasicMethod>
bmPtr;
61 #endif // __AUXPETSC_HPP__
PairNameFEMethodPtr(std::string name, boost::shared_ptr< FEMETHOD > ptr)
BasicMethodPtr(BasicMethod *ptr)
boost::shared_ptr< FEMethod > fePtr
structure for User Loop Methods on finite elements
std::deque< PairNameFEMethodPtr > FEMethodsSequence
BasicMethodPtr(boost::shared_ptr< BASICMETHOD > ptr)
#define THROW_MESSAGE(msg)
Throw MoFEM exception.
BasicMethod & operator*() const
boost::shared_ptr< BasicMethod > getSharedPtr() const
implementation of Data Operators for Forces and Sources
BasicMethod * operator->() const
std::deque< BasicMethodPtr > BasicMethodsSequence
boost::shared_ptr< BasicMethod > bmPtr
Data structure to exchange data between mofem and User Loop Methods.
virtual ~BasicMethodPtr()=default
virtual ~PairNameFEMethodPtr()=default
boost::shared_ptr< BasicMethod > getSharedPtr() const
PairNameFEMethodPtr(std::string name, FEMethod *ptr)