class GalarImpGrFlow

Implementation of the problem solved in the k2dgrflow problem : div ( exp(dz) * grad(phi) ) More...

Definition#include <k2dgrflow/galarimpgrflow.h>
InheritsGalarSolver2d [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Private Methods

Private Members


Detailed Description

Implementation of the problem solved in the k2dgrflow problem : div ( exp(dz) * grad(phi) )

 GalarImpGrFlow ( DomainNet2d * domnet , double dparam=0. )

GalarImpGrFlow

construction of the implementation by giving the domain domnet on wich to solve the equation, and by giving the d-parameter of the equation

 ~GalarImpGrFlow ()

~GalarImpGrFlow

VEC*  solution ()

solution

[virtual]

solve the problem and return a pointer to the solution. beware : when the problem is deallocated, also the memory where the solution resides is freed

Reimplemented from GalarSolver2d.

double  getd ()

getd

return the dparam

void  setd (double dparam)

setd

set the d parameter

void  localStiffness (TopoElement2d* el)

localStiffness

[protected virtual]

calculate the localstiffness matrix with a specific element

Reimplemented from GalarSolver2d.

void  localForce (TopoElement2d* el)

localForce

[protected virtual]

calculate the local force vector with a specific element

Reimplemented from GalarSolver2d.

double  diffusion (TopoElement2d* el, unsigned int localI, unsigned int localJ)

diffusion

[protected virtual]

calculate the diffusion term for local node I,J in an element

Reimplemented from GalarSolver2d.

double  convection (TopoElement2d* el, unsigned int localI, unsigned int localJ)

convection

[protected virtual]

calculate the convection term for local node I,J in an element

Reimplemented from GalarSolver2d.

double  robin (TopoElement2d* el, unsigned int localI, unsigned int localJ)

robin

[protected virtual]

calculate the robin term for local node I,J in an element

Reimplemented from GalarSolver2d.

double  headTerm (TopoElement2d* el, unsigned int localI, unsigned int localJ)

headTerm

[protected virtual]

calculate the head term for local node I,J in an element

Reimplemented from GalarSolver2d.

double  sourceTerm (TopoElement2d* el, unsigned int localJ)

sourceTerm

[protected virtual]

calculate the source term for local node J in an element, part of the force

Reimplemented from GalarSolver2d.

double  neumannTerm (TopoElement2d* el, unsigned int localJ)

neumannTerm

[protected virtual]

calculate the neumann term for local node J in an element, part of the force

Reimplemented from GalarSolver2d.

double  gDir (TopoNodeDir2d* nod)

gDir

[protected virtual]

return the gdir function in a node

Reimplemented from GalarSolver2d.

double  gNeu (TopoNodeNeu2d* nod)

gNeu

[protected virtual]

return the gNeu function in a node

Reimplemented from GalarSolver2d.

double  gRob (TopoNodeRobin2d* nod)

gRob

[protected virtual]

return the gRob function in a node

Reimplemented from GalarSolver2d.

double d

d

[private]

inline double  sourceTerm (TopoElement2d* tria, unsigned int localJ)

sourceTerm

[private]

the d parameter of the equation

Reimplemented from GalarSolver2d.

inline double  gDir (TopoNodeDir2d* nod)

gDir

[private]

Reimplemented from GalarSolver2d.