u2d_DirichletCondition Class Reference
List of all members.
Member Function Documentation
void u2d_DirichletCondition::generateNodes |
( |
u2d_Mesh * |
mesh |
) |
|
Generates the nodes list where to enforece Dirichlet condition.
bool u2d_DirichletCondition::isDirichlet |
( |
int |
side_id |
) |
|
Say if a given side id is in the list of sides where to enforce the Disichlet boundary condition.
- Returns:
- Return true if the side_id is in the list and Dirichlet condtion must be enforced on it. Return false otherwise.
int u2d_DirichletCondition::setSide |
( |
int |
side_id |
) |
|
Set the given side id as a side where to enforce the DirichletCondition.
- Returns:
- the current number of sides that have been set. i.e. The total number of sides where the Dirichlet boundary condition is to be enforced: DiricheletCondition dc; dc->setside(4) // return 1 dc->setside(1) // return 2 dc->setside(5) // return 3
The documentation for this class was generated from the following files: