Intrepid
Functions
test_02.cpp File Reference

Patch test for the Intrepid::Basis_HGRAD_LINE_Cn_FEM class. More...

#include "Intrepid_FieldContainer.hpp"
#include "Intrepid_HGRAD_LINE_Cn_FEM.hpp"
#include "Intrepid_DefaultCubatureFactory.hpp"
#include "Intrepid_RealSpaceTools.hpp"
#include "Intrepid_ArrayTools.hpp"
#include "Intrepid_FunctionSpaceTools.hpp"
#include "Intrepid_CellTools.hpp"
#include "Intrepid_PointTools.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 degree)
 right-hand side function
 
void neumann (FieldContainer< double > &g_phi, const FieldContainer< double > &phi1, const FieldContainer< double > &phi2, int degree)
 neumann boundary conditions
 
void u_exact (FieldContainer< double > &result, const FieldContainer< double > &points, int degree)
 exact solution
 
int main (int argc, char *argv[])
 

Detailed Description

Patch test for the Intrepid::Basis_HGRAD_LINE_Cn_FEM class.

Author
Created by P. Bochev, R. Kirby, D. Ridzal, K. Peterson.

Definition in file test_02.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 131 of file test_02.cpp.

◆ neumann()

void neumann ( FieldContainer< double > &  g_phi,
const FieldContainer< double > &  phi1,
const FieldContainer< double > &  phi2,
int  degree 
)

neumann boundary conditions

Definition at line 98 of file test_02.cpp.

References Intrepid::FieldContainer< Scalar, ArrayTypeId >::dimension().

◆ rhsFunc()

void rhsFunc ( FieldContainer< double > &  result,
const FieldContainer< double > &  points,
int  degree 
)

right-hand side function

Definition at line 72 of file test_02.cpp.

References Intrepid::FieldContainer< Scalar, ArrayTypeId >::dimension().

◆ u_exact()

void u_exact ( FieldContainer< double > &  result,
const FieldContainer< double > &  points,
int  degree 
)

exact solution

Definition at line 120 of file test_02.cpp.

References Intrepid::FieldContainer< Scalar, ArrayTypeId >::dimension().