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

Go to the source code of this file.

Enumerations

enum  prob_type { sinusoidal , EJ , curved_streamlines , bdr_layer }
 

Functions

real_t exact_u (const Vector &X)
 
void exact_gradu (const Vector &X, Vector &du)
 
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_hatf (const Vector &X, Vector &hatf)
 
real_t f_exact (const Vector &X)
 
real_t bdr_data (const Vector &X)
 
void beta_function (const Vector &X, Vector &beta_val)
 
void setup_test_norm_coeffs (ParGridFunction &c1_gf, ParGridFunction &c2_gf)
 
int main (int argc, char *argv[])
 

Variables

prob_type prob
 
Vector beta
 
real_t epsilon
 

Enumeration Type Documentation

◆ prob_type

enum prob_type
Enumerator
sinusoidal 
EJ 
curved_streamlines 
bdr_layer 

Definition at line 77 of file pconvection-diffusion.cpp.

Function Documentation

◆ bdr_data()

real_t bdr_data ( const Vector & X)

Definition at line 810 of file pconvection-diffusion.cpp.

◆ beta_function()

void beta_function ( const Vector & X,
Vector & beta_val )

Definition at line 836 of file pconvection-diffusion.cpp.

◆ exact_gradu()

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

Definition at line 661 of file pconvection-diffusion.cpp.

◆ exact_hatf()

void exact_hatf ( const Vector & X,
Vector & hatf )

Definition at line 778 of file pconvection-diffusion.cpp.

◆ exact_hatu()

real_t exact_hatu ( const Vector & X)

Definition at line 773 of file pconvection-diffusion.cpp.

◆ exact_laplacian_u()

real_t exact_laplacian_u ( const Vector & X)

Definition at line 715 of file pconvection-diffusion.cpp.

◆ exact_sigma()

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

Definition at line 766 of file pconvection-diffusion.cpp.

◆ exact_u()

real_t exact_u ( const Vector & X)

Definition at line 621 of file pconvection-diffusion.cpp.

◆ f_exact()

real_t f_exact ( const Vector & X)

Definition at line 792 of file pconvection-diffusion.cpp.

◆ main()

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

Definition at line 109 of file pconvection-diffusion.cpp.

◆ setup_test_norm_coeffs()

void setup_test_norm_coeffs ( ParGridFunction & c1_gf,
ParGridFunction & c2_gf )

Definition at line 852 of file pconvection-diffusion.cpp.

Variable Documentation

◆ beta

Vector beta

Definition at line 94 of file pconvection-diffusion.cpp.

◆ epsilon

real_t epsilon

Definition at line 95 of file pconvection-diffusion.cpp.

◆ prob

prob_type prob

Definition at line 93 of file pconvection-diffusion.cpp.