MFEM  v4.6.0
Finite element discretization library
Enumerations | Functions | Variables
convection-diffusion.cpp File Reference

Go to the source code of this file.

Enumerations

enum  prob_type {
  beam, disc, lshape, fichera,
  load_src, beam, disc, lshape,
  fichera, load_src, plane_wave, gaussian_beam,
  manufactured, EJ, manufactured, general,
  plane_wave, gaussian_beam, pml_general, pml_beam_scatter,
  pml_plane_wave_scatter, pml_pointsource, sinusoidal, EJ,
  curved_streamlines, bdr_layer, manufactured, lshape,
  plane_wave, fichera_oven, pml_general, pml_plane_wave_scatter,
  pml_pointsource
}
 

Functions

double exact_u (const Vector &X)
 
void exact_gradu (const Vector &X, Vector &du)
 
double exact_laplacian_u (const Vector &X)
 
void exact_sigma (const Vector &X, Vector &sigma)
 
double exact_hatu (const Vector &X)
 
void exact_hatf (const Vector &X, Vector &hatf)
 
double f_exact (const Vector &X)
 
void setup_test_norm_coeffs (GridFunction &c1_gf, GridFunction &c2_gf)
 
int main (int argc, char *argv[])
 

Variables

prob_type prob
 
Vector beta
 
double epsilon
 

Enumeration Type Documentation

◆ prob_type

enum prob_type
Enumerator
beam 
disc 
lshape 
fichera 
load_src 
beam 
disc 
lshape 
fichera 
load_src 
plane_wave 
gaussian_beam 
manufactured 
EJ 
manufactured 
general 
plane_wave 
gaussian_beam 
pml_general 
pml_beam_scatter 
pml_plane_wave_scatter 
pml_pointsource 
sinusoidal 
EJ 
curved_streamlines 
bdr_layer 
manufactured 
lshape 
plane_wave 
fichera_oven 
pml_general 
pml_plane_wave_scatter 
pml_pointsource 

Definition at line 75 of file convection-diffusion.cpp.

Function Documentation

◆ exact_gradu()

void exact_gradu ( const Vector X,
Vector du 
)

Definition at line 498 of file convection-diffusion.cpp.

◆ exact_hatf()

void exact_hatf ( const Vector X,
Vector hatf 
)

Definition at line 592 of file convection-diffusion.cpp.

◆ exact_hatu()

double exact_hatu ( const Vector X)

Definition at line 587 of file convection-diffusion.cpp.

◆ exact_laplacian_u()

double exact_laplacian_u ( const Vector X)

Definition at line 539 of file convection-diffusion.cpp.

◆ exact_sigma()

void exact_sigma ( const Vector X,
Vector sigma 
)

Definition at line 580 of file convection-diffusion.cpp.

◆ exact_u()

double exact_u ( const Vector X)

Definition at line 467 of file convection-diffusion.cpp.

◆ f_exact()

double f_exact ( const Vector X)

Definition at line 604 of file convection-diffusion.cpp.

◆ main()

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

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

◆ setup_test_norm_coeffs()

void setup_test_norm_coeffs ( GridFunction c1_gf,
GridFunction c2_gf 
)

Definition at line 619 of file convection-diffusion.cpp.

Variable Documentation

◆ beta

Vector beta

Definition at line 82 of file convection-diffusion.cpp.

◆ epsilon

double epsilon

Definition at line 83 of file convection-diffusion.cpp.

◆ prob

prob_type prob

Definition at line 81 of file convection-diffusion.cpp.