MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
pdiffusion.cpp File Reference

Go to the source code of this file.

Enumerations

enum  prob_type { manufactured , lshape }
 

Functions

real_t exact_u (const Vector &X)
 
void exact_gradu (const Vector &X, Vector &gradu)
 
real_t exact_laplacian_u (const Vector &X)
 
void exact_sigma (const Vector &X, Vector &sigma)
 
real_t exact_hatu (const Vector &X)
 
void exact_hatsigma (const Vector &X, Vector &hatsigma)
 
real_t f_exact (const Vector &X)
 
int main (int argc, char *argv[])
 

Variables

prob_type prob
 

Enumeration Type Documentation

◆ prob_type

enum prob_type
Enumerator
manufactured 
lshape 

Definition at line 81 of file pdiffusion.cpp.

Function Documentation

◆ exact_gradu()

void exact_gradu ( const Vector & X,
Vector & gradu )

Definition at line 551 of file pdiffusion.cpp.

◆ exact_hatsigma()

void exact_hatsigma ( const Vector & X,
Vector & hatsigma )

Definition at line 616 of file pdiffusion.cpp.

◆ exact_hatu()

real_t exact_hatu ( const Vector & X)

Definition at line 611 of file pdiffusion.cpp.

◆ exact_laplacian_u()

real_t exact_laplacian_u ( const Vector & X)

Definition at line 587 of file pdiffusion.cpp.

◆ exact_sigma()

void exact_sigma ( const Vector & X,
Vector & sigma )

Definition at line 605 of file pdiffusion.cpp.

◆ exact_u()

real_t exact_u ( const Vector & X)

Definition at line 527 of file pdiffusion.cpp.

◆ f_exact()

real_t f_exact ( const Vector & X)

Definition at line 622 of file pdiffusion.cpp.

◆ main()

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

rotate mesh to be consistent with l-shape benchmark problem See https://doi.org/10.1016/j.amc.2013.05.068

Definition at line 103 of file pdiffusion.cpp.

Variable Documentation

◆ prob

prob_type prob

Definition at line 93 of file pdiffusion.cpp.