Public Member Functions | Public Attributes | List of all members
MoFEM::Dof_shared_ptr_change< T > Struct Template Reference

#include <src/multi_indices/DofsMultiIndices.hpp>

Public Member Functions

 Dof_shared_ptr_change (boost::shared_ptr< T > &dof_ptr)
void operator() (boost::shared_ptr< T > &dof)

Public Attributes

boost::shared_ptr< T > & dofPtr

Detailed Description

template<class T>
struct MoFEM::Dof_shared_ptr_change< T >

Replace dofs shared_ptr

DOFs on entities are stored by sequences. If DOFs to entities are added, whole entity sequence is change to preserve continuity in memory

Definition at line 870 of file DofsMultiIndices.hpp.

Constructor & Destructor Documentation

◆ Dof_shared_ptr_change()

template<class T >
MoFEM::Dof_shared_ptr_change< T >::Dof_shared_ptr_change ( boost::shared_ptr< T > &  dof_ptr)

Definition at line 872 of file DofsMultiIndices.hpp.

872 : dofPtr(dof_ptr){};
boost::shared_ptr< T > & dofPtr

Member Function Documentation

◆ operator()()

template<class T >
void MoFEM::Dof_shared_ptr_change< T >::operator() ( boost::shared_ptr< T > &  dof)

Definition at line 873 of file DofsMultiIndices.hpp.

873 { dof = dofPtr; }
boost::shared_ptr< T > & dofPtr

Member Data Documentation

◆ dofPtr

template<class T >
boost::shared_ptr<T>& MoFEM::Dof_shared_ptr_change< T >::dofPtr

Definition at line 871 of file DofsMultiIndices.hpp.

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