Intrepid
|
Patch test for the Intrepid::Basis_HGRAD_TRI_C2_FEM class. More...
#include "Intrepid_FieldContainer.hpp"
#include "Intrepid_HGRAD_TRI_C2_FEM.hpp"
#include "Intrepid_DefaultCubatureFactory.hpp"
#include "Intrepid_RealSpaceTools.hpp"
#include "Intrepid_ArrayTools.hpp"
#include "Intrepid_FunctionSpaceTools.hpp"
#include "Intrepid_CellTools.hpp"
#include "Teuchos_oblackholestream.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Teuchos_SerialDenseMatrix.hpp"
#include "Teuchos_SerialDenseVector.hpp"
#include "Teuchos_LAPACK.hpp"
Go to the source code of this file.
Functions | |
void | rhsFunc (FieldContainer< double > &result, const FieldContainer< double > &points, int xd, int yd) |
right-hand side function | |
void | neumann (FieldContainer< double > &result, const FieldContainer< double > &points, const FieldContainer< double > &jacs, const shards::CellTopology &parentCell, int sideOrdinal, int xd, int yd) |
neumann boundary conditions | |
void | u_exact (FieldContainer< double > &result, const FieldContainer< double > &points, int xd, int yd) |
exact solution | |
int | main (int argc, char *argv[]) |
Patch test for the Intrepid::Basis_HGRAD_TRI_C2_FEM class.
Definition in file test_02.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 167 of file test_02.cpp.
void neumann | ( | FieldContainer< double > & | result, |
const FieldContainer< double > & | points, | ||
const FieldContainer< double > & | jacs, | ||
const shards::CellTopology & | parentCell, | ||
int | sideOrdinal, | ||
int | xd, | ||
int | yd | ||
) |
neumann boundary conditions
Definition at line 111 of file test_02.cpp.
References Intrepid::FieldContainer< Scalar, ArrayTypeId >::dimension(), Intrepid::CellTools< Scalar >::getPhysicalSideNormals(), and Intrepid::RealSpaceTools< Scalar >::vectorNorm().
void rhsFunc | ( | FieldContainer< double > & | result, |
const FieldContainer< double > & | points, | ||
int | xd, | ||
int | yd | ||
) |
right-hand side function
Definition at line 75 of file test_02.cpp.
References Intrepid::FieldContainer< Scalar, ArrayTypeId >::dimension().
void u_exact | ( | FieldContainer< double > & | result, |
const FieldContainer< double > & | points, | ||
int | xd, | ||
int | yd | ||
) |
exact solution
Definition at line 155 of file test_02.cpp.
References Intrepid::FieldContainer< Scalar, ArrayTypeId >::dimension().