#include <vectorop.hpp>
Collaboration diagram for VectorOp:
Public Member Functions | |
VectorOp () | |
VectorOp (Elem2D *e, GVector *u1, GVector *u2, GVector *u3, GBOOL doconvect=TRUE) | |
~VectorOp () | |
GVector | Div () |
void | Div (GVector &ret) |
GVector | Curl (GINT idir) |
void | Curl (GINT idir, GVector &ret) |
GVector | Advect (GVector &c) |
void | Advect (GVector &c, GVector &ret) |
void | Advect_Weak (GVector &c, GVector &ret) |
void | Advect (GVector *ui[], GVector *ret[]) |
void | AdvectR (GVector *ui[], GVector *N[]) |
void | SetVec (GVector *u1, GVector *u2, GVector *u3=NULL) |
void | SetElem (Elem2D *e) |
void | DoConvectiveForm (GBOOL bflag) |
Elem2D * | GetElem () |
|
|
|
|
|
|
|
|
|
|
|
|
|
METHOD : Advect_Weak (2) DESCRIPTION: Computes the (weak) advection of quantity c, using collocation (point-wise) multipication of the tranport velocity with the derivative of c , returning the solution in vn: vn = Sum_i v_i * D_i * c and the D_i is in tensor prod. form, with vn, and v_i given in natural ordering. Note that transport velocity is set in call to method SetVec. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|