u2d_NeumannCondition Class Reference

List of all members.

Public Member Functions

 u2d_NeumannCondition (const u2d_NeumannCondition &orig)
void calculateElements (u2d_Mesh *mesh)
int setSide (int side_id)
bool isNeumann (int side_id)

Public Attributes

dense_vector< int > neumann_elements

Member Function Documentation

void u2d_NeumannCondition::calculateElements ( u2d_Mesh mesh  ) 

Generation of the list of surface elements for enforcing NONhomogeneous Neumann conditions in weak form through the suorface integral

bool u2d_NeumannCondition::isNeumann ( int  side_id  ) 

Say if a given side id is in the list of sides where to enforce the Neumann boundary condition.

Returns:
Return true if the side_id is in the list and Neumann condtion must be enforced on it. Return false otherwise.
int u2d_NeumannCondition::setSide ( int  side_id  ) 

Set the given side id as a side where to enforce the NeumannCondition.

Returns:
the current number of sides that have been set. i.e. The total number of sides where the Neumann boundary condition is to be enforced: NeumannCondition nc; nc->setside(4) // return 1 nc->setside(1) // return 2 nc->setside(5) // return 3

The documentation for this class was generated from the following files:
 All Classes Functions
Generated by  doxygen 1.6.2-20100208