41 #include <lifev/core/fem/DOFInterface.hpp> 60 std::map<ID, ID>::const_iterator it = M_localDofMap.find ( i );
61 if ( it == M_localDofMap.end() )
63 std::cout << i <<
" : " << std::flush;
64 ERROR_MSG (
"DOFInterface::getInterfaceDof : DOF number not found" );
71 std::map<ID, ID>::const_iterator it = M_localDofMap.find ( i );
72 return ( it != M_localDofMap.end() );
77 out <<
"------------------------------" << std::endl;
78 out <<
"\tNumber of DOF connections (M_localDofMap):" << M_localDofMap.size() << std::endl;
81 UInt count ( 0 ), lines ( 10 );
82 out <<
"List of connections between DOF: (global, local)";
83 for ( std::map<ID, ID>::const_iterator it = M_localDofMap.begin(); it != M_localDofMap.end(); ++it )
85 if ( count++ % lines == 0 )
89 out <<
"(" << it->first <<
"," << it->second <<
")\t";
93 out <<
"------------------------------" << std::endl;
99 for ( std::map<ID, ID>::const_iterator it = dofBase.M_localDofMap.begin(); it != dofBase.M_localDofMap.end(); ++it )
101 M_localDofMap[it->second] = it->first;
112 M_localDofMap.find (key)->second = value;
121 return M_localDofMap.size();
ID getInterfaceDof(const ID &i) const
This method returns the corresponding dof number of the mesh2 at the interface for a specific dof num...
void buildInverse(const DOFInterface &dofBase)
Makes this DOFInterface to be the inverse map as the one defined by dofBase.
DOFInterface()
Default Constructor.
bool isMyInterfaceDof(const ID &i) const
This method says whether a specific dof number at the interface in mesh1 is on this processor...
void updateInverseJacobian(const UInt &iQuadPt)
void set(const ID &key, const ID &value)
Set value to be associated to key.
size_t nbInterfaceDof() const
This method returns the number of dof that live on the interface.
std::ostream & showMe(bool verbose=false, std::ostream &out=std::cout) const
output
uint32_type UInt
generic unsigned integer (used mainly for addressing)