class DomainNet2d

class with the general outline of a problem Every problem wich solves a FEM problem should be derived from this abstract class. More...

Definition#include <k2dgrflow/domainnet2d.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Private Members


Detailed Description

class with the general outline of a problem Every problem wich solves a FEM problem should be derived from this abstract class. With this we solve generally the problem :

Problem definition : div [-Adif(x,y)*grad u(x,y) - Acon(x,y)*u(x,y)] + Asou(x,y)*u(x,y) = Fsou(x,y) + div Fdiv(x,y)

u(x,y) = Gdir(x,y) on Dirichlet boundary

-Adif(x,y)*grad u(x,y) - Acon(x,y)*u(x,y) - Grob(x,y)*u(x,y) = Gneu(x,y) on Neumann/Robin boundary

friend class GalarSolver2d

GalarSolver2d

[private]

friend class GalarImpGrFlow

GalarImpGrFlow

[private]

 DomainNet2d ()

DomainNet2d

Construct a domain with a file generated by the EasyMesh programm. Should have the form filename.d

 ~DomainNet2d ()

~DomainNet2d

void  addBoundary (K2dBorderBase *bound)

addBoundary

add a boundary to the domain. The number 0 .. geoBoundary.size()-1 is important, so leave it !

void  buildNet (KURL &EasyMeshFileName)

buildNet

int  nrNodes ()

nrNodes

number of nodes in the domain (= number of unknowns in our equation !)

int  nrEle ()

nrEle

number of elements in the domain

bool  testDomainNet2d ()

testDomainNet2d

a test function of all the functionality

void  output ()

output

to test the domain you can send it as readeble data to cout

vector<TopoElement2d*> geoEle

geoEle

[private]

vector<TopoEdge2d*> geoEdges

geoEdges

[private]

vector<TopoNode2d*> geoNodes

geoNodes

[private]

vector<K2dBorderBase*> geoBoundary

geoBoundary

[private]