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

Go to the source code of this file.

Enumerations

enum  prob_type { manufactured , general }
 

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 
general 

Definition at line 76 of file diffusion.cpp.

Function Documentation

◆ exact_gradu()

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

Definition at line 383 of file diffusion.cpp.

◆ exact_hatsigma()

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

Definition at line 412 of file diffusion.cpp.

◆ exact_hatu()

real_t exact_hatu ( const Vector & X)

Definition at line 407 of file diffusion.cpp.

◆ exact_laplacian_u()

real_t exact_laplacian_u ( const Vector & X)

Definition at line 394 of file diffusion.cpp.

◆ exact_sigma()

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

Definition at line 401 of file diffusion.cpp.

◆ exact_u()

real_t exact_u ( const Vector & X)

Definition at line 377 of file diffusion.cpp.

◆ f_exact()

real_t f_exact ( const Vector & X)

Definition at line 418 of file diffusion.cpp.

◆ main()

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

Definition at line 92 of file diffusion.cpp.

Variable Documentation

◆ prob

prob_type prob

Definition at line 82 of file diffusion.cpp.