u2d_ProblemCalculator Class Reference

List of all members.

Public Member Functions

 u2d_ProblemCalculator (u2d_Problem *_problem, u2d_Mesh *_mesh)
 u2d_ProblemCalculator (const u2d_ProblemCalculator &orig)
void forceDirichlet_left (u2d_DirichletCondition *cond)
void addAlphaW__G_left (u2d_DomainGaussPoints *dgp, double alpha)
void addDW__AlphaDG_left (u2d_DomainGaussPoints *dgp, dense_vector< double > alpha)
void addW__AlphaDG_left (u2d_DomainGaussPoints *dgp, dense2D< double > alpha)
void addAlphaW__G_left (u2d_BoundaryGaussPoints *bgp, double alpha)

Member Function Documentation

void u2d_ProblemCalculator::addAlphaW__G_left ( u2d_BoundaryGaussPoints bgp,
double  alpha 
)

Calculates: alpha * < W , G >_boundary on the BOUNDARY Where: alpha is a scalar W(x, y) is the shape function. G(x, y) is the test function. This is a *left* hand side term. This is a *boundary* term.

void u2d_ProblemCalculator::addAlphaW__G_left ( u2d_DomainGaussPoints dgp,
double  alpha 
)

Calculates: alpha * < W , G > Where: alpha is a scalar. W(x, y) is the shape function. G(x, y) is the test function. This is a *left* hand side term.

void u2d_ProblemCalculator::addDW__AlphaDG_left ( u2d_DomainGaussPoints dgp,
dense_vector< double >  alpha 
)

Calculates: < DW , alpha DG > Where: alpha is a vector of same size a mesh->jjd (number of domain nodes). It represent the scalar filed alpha evaluated at nodes. DW(x, y) is the derivative of the shape function. DG(x, y) is the derivative of the test function. This is a *left* hand side term. TODO: CHECK ME FIRST IN CASE OF PROBLEMS.

Parameters:
 
void u2d_ProblemCalculator::addW__AlphaDG_left ( u2d_DomainGaussPoints dgp,
dense2D< double >  alpha 
)

Calculates: < W , alpha .dot. DG > Where: alpha is a matrix of size number of spatial dimensions and mesh->jjd (number of domain nodes). It represents the vector field alpha evaluated at nodes. Example, domain with 3000 nodes in 2D, it's 2x3000. W(x, y) is the shape function. DG(x, y) is the derivative of the test function. This is a *left* hand side term.

void u2d_ProblemCalculator::forceDirichlet_left ( u2d_DirichletCondition cond  ) 

Enforce the Dirichlet condition. There is NO shift currently, so the condition is only homogeneous. This is a *left* hand side term.


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