LifeV
DOFInterface Class Reference

#include <DOFInterface.hpp>

+ Inheritance diagram for DOFInterface:
+ Collaboration diagram for DOFInterface:

Protected Attributes

std::map< ID, IDM_localDofMap
 STL map container which holds the connections between DOF at the interface. More...
 

Constructor & Destructor

 DOFInterface ()
 Default Constructor. More...
 
virtual ~DOFInterface ()
 Virtual Destructor. More...
 

Methods

ID getInterfaceDof (const ID &i) const
 This method returns the corresponding dof number of the mesh2 at the interface for a specific dof number at the interface in mesh1. More...
 
bool isMyInterfaceDof (const ID &i) const
 This method says whether a specific dof number at the interface in mesh1 is on this processor. More...
 
std::ostream & showMe (bool verbose=false, std::ostream &out=std::cout) const
 output More...
 
void buildInverse (const DOFInterface &dofBase)
 Makes this DOFInterface to be the inverse map as the one defined by dofBase. More...
 

Set Methods

void set (const ID &key, const ID &value)
 Set value to be associated to key. More...
 

Get Methods

size_t nbInterfaceDof () const
 This method returns the number of dof that live on the interface. More...
 
const std::map< ID, ID > & localDofMap ()
 Return the correspondance map. More...
 

Detailed Description

Base class which holds the connections of the dof in two matching meshes The dof mapping (STL map) is set in the derived classes. Each derived class depends on the type of interface you have.

Method getInterfaceDof gives the connections.

To be deleted: buildInverse

Definition at line 62 of file DOFInterface.hpp.

Constructor & Destructor Documentation

◆ DOFInterface()

Default Constructor.

Definition at line 50 of file DOFInterface.cpp.

◆ ~DOFInterface()

virtual ~DOFInterface ( )
inlinevirtual

Virtual Destructor.

Definition at line 73 of file DOFInterface.hpp.

Member Function Documentation

◆ getInterfaceDof()

ID getInterfaceDof ( const ID i) const

This method returns the corresponding dof number of the mesh2 at the interface for a specific dof number at the interface in mesh1.

Parameters
ia dof number in mesh1

Definition at line 58 of file DOFInterface.cpp.

◆ isMyInterfaceDof()

bool isMyInterfaceDof ( const ID i) const

This method says whether a specific dof number at the interface in mesh1 is on this processor.

Parameters
ia dof number in mesh1

Definition at line 69 of file DOFInterface.cpp.

◆ showMe()

std::ostream & showMe ( bool  verbose = false,
std::ostream &  out = std::cout 
) const

output

Definition at line 75 of file DOFInterface.cpp.

◆ buildInverse()

void buildInverse ( const DOFInterface dofBase)

Makes this DOFInterface to be the inverse map as the one defined by dofBase.

Definition at line 97 of file DOFInterface.cpp.

◆ set()

void set ( const ID key,
const ID value 
)

Set value to be associated to key.

Definition at line 110 of file DOFInterface.cpp.

◆ nbInterfaceDof()

size_t nbInterfaceDof ( ) const

This method returns the number of dof that live on the interface.

Definition at line 119 of file DOFInterface.cpp.

◆ localDofMap()

const std::map<ID, ID>& localDofMap ( )
inline

Return the correspondance map.

Definition at line 117 of file DOFInterface.hpp.

Field Documentation

◆ M_localDofMap

std::map<ID, ID> M_localDofMap
protected

STL map container which holds the connections between DOF at the interface.

Definition at line 127 of file DOFInterface.hpp.


The documentation for this class was generated from the following files: