Intrepid
|
Example of the CellTools class. More...
#include "Intrepid_CellTools.hpp"
#include "Intrepid_FieldContainer.hpp"
#include "Intrepid_DefaultCubatureFactory.hpp"
#include "Shards_CellTopology.hpp"
#include "Teuchos_GlobalMPISession.hpp"
Go to the source code of this file.
Functions | |
void | vField (double &v1, double &v2, double &v3, const double &x, const double &y, const double &z) |
Evaluation of a 3D vector field in physical coordinate frame. More... | |
int | main (int argc, char *argv[]) |
Example of the CellTools class.
Definition in file example_04.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Given a vector field u(x,y,z) and a face workset we want to compute the flux of u on every face in this workset. A face workset is a set of faces that are images of the same reference face. It is defined by the following items:
Given a face workset, the key steps to accomplish the task, , are as follows:
Definition at line 65 of file example_04.cpp.
References Intrepid::DefaultCubatureFactory< Scalar, ArrayPoint, ArrayWeight >::create(), Intrepid::FieldContainer< Scalar, ArrayTypeId >::resize(), and vField().
void vField | ( | double & | v1, |
double & | v2, | ||
double & | v3, | ||
const double & | x, | ||
const double & | y, | ||
const double & | z | ||
) |
Evaluation of a 3D vector field in physical coordinate frame.
v1,v2,v3 | [out] - vector mfield evaluated at the argument point |
x,y,z | [in] - argument, a point in 3D Euclidean space |
Definition at line 371 of file example_04.cpp.
Referenced by main().