Commit 30281093 authored by simone's avatar simone
Browse files

adding setTotalDof method

parent a35dd6e5
......@@ -48,17 +48,17 @@ namespace LifeV
{
/*! Local-to-global table
This class provides the localtoglobal table that relates the local DOF of
a finite element to its global numbering. It needs a LocalDofPattern in
order to obtain all the necessary information about the local pattern. In
fact it stores a copy of it so to make the local pattern available, if
needed.
This class provides the localtoglobal table that relates the local DOF of
a finite element to its global numbering. It needs a LocalDofPattern in
order to obtain all the necessary information about the local pattern. In
fact it stores a copy of it so to make the local pattern available, if
needed.
It is useless until is has not been set up on a specific RegionMesh. This is accomplished either by
passing the mesh to the constructor, or calling the method Dof::update().
It is useless until is has not been set up on a specific RegionMesh. This is accomplished either by
passing the mesh to the constructor, or calling the method Dof::update().
\note The methods bulds the table for ALL degrees of freedom, i.e. it does not handle any essential
boundary condition.
\note The methods bulds the table for ALL degrees of freedom, i.e. it does not handle any essential
boundary condition.
*/
class Dof
{
......@@ -103,6 +103,10 @@ public:
return _totalDof;
}
inline UInt setTotalDof(const UInt totalDof)
{
_totalDof = totalDof;
}
//! The number of local Dof (nodes) in the finite element
inline UInt numLocalDof() const
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment