MFEM  v4.6.0
Finite element discretization library
Enumerations | Functions | Variables
acoustics.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

complex< double > acoustics_solution (const Vector &X)
 
void acoustics_solution_grad (const Vector &X, vector< complex< double >> &dp)
 
complex< double > acoustics_solution_laplacian (const Vector &X)
 
double p_exact_r (const Vector &x)
 
double p_exact_i (const Vector &x)
 
void u_exact_r (const Vector &x, Vector &u)
 
void u_exact_i (const Vector &x, Vector &u)
 
double rhs_func_r (const Vector &x)
 
double rhs_func_i (const Vector &x)
 
void gradp_exact_r (const Vector &x, Vector &gradu)
 
void gradp_exact_i (const Vector &x, Vector &gradu)
 
double divu_exact_r (const Vector &x)
 
double divu_exact_i (const Vector &x)
 
double d2_exact_r (const Vector &x)
 
double d2_exact_i (const Vector &x)
 
double hatp_exact_r (const Vector &X)
 
double hatp_exact_i (const Vector &X)
 
void hatu_exact_r (const Vector &X, Vector &hatu)
 
void hatu_exact_i (const Vector &X, Vector &hatu)
 
int main (int argc, char *argv[])
 

Variables

int dim
 
double omega
 
prob_type prob
 

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 103 of file acoustics.cpp.

Function Documentation

◆ acoustics_solution()

complex< double > acoustics_solution ( const Vector X)

Definition at line 575 of file acoustics.cpp.

◆ acoustics_solution_grad()

void acoustics_solution_grad ( const Vector X,
vector< complex< double >> &  dp 
)

Definition at line 622 of file acoustics.cpp.

◆ acoustics_solution_laplacian()

complex< double > acoustics_solution_laplacian ( const Vector X)

Definition at line 696 of file acoustics.cpp.

◆ d2_exact_i()

double d2_exact_i ( const Vector x)

Definition at line 516 of file acoustics.cpp.

◆ d2_exact_r()

double d2_exact_r ( const Vector x)

Definition at line 510 of file acoustics.cpp.

◆ divu_exact_i()

double divu_exact_i ( const Vector x)

Definition at line 553 of file acoustics.cpp.

◆ divu_exact_r()

double divu_exact_r ( const Vector x)

Definition at line 548 of file acoustics.cpp.

◆ gradp_exact_i()

void gradp_exact_i ( const Vector x,
Vector gradu 
)

Definition at line 499 of file acoustics.cpp.

◆ gradp_exact_r()

void gradp_exact_r ( const Vector x,
Vector gradu 
)

Definition at line 488 of file acoustics.cpp.

◆ hatp_exact_i()

double hatp_exact_i ( const Vector X)

Definition at line 483 of file acoustics.cpp.

◆ hatp_exact_r()

double hatp_exact_r ( const Vector X)

Definition at line 478 of file acoustics.cpp.

◆ hatu_exact_i()

void hatu_exact_i ( const Vector X,
Vector hatu 
)

Definition at line 540 of file acoustics.cpp.

◆ hatu_exact_r()

void hatu_exact_r ( const Vector X,
Vector hatu 
)

Definition at line 536 of file acoustics.cpp.

◆ main()

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

Definition at line 111 of file acoustics.cpp.

◆ p_exact_i()

double p_exact_i ( const Vector x)

Definition at line 473 of file acoustics.cpp.

◆ p_exact_r()

double p_exact_r ( const Vector x)

Definition at line 468 of file acoustics.cpp.

◆ rhs_func_i()

double rhs_func_i ( const Vector x)

Definition at line 568 of file acoustics.cpp.

◆ rhs_func_r()

double rhs_func_r ( const Vector x)

Definition at line 560 of file acoustics.cpp.

◆ u_exact_i()

void u_exact_i ( const Vector x,
Vector u 
)

Definition at line 530 of file acoustics.cpp.

◆ u_exact_r()

void u_exact_r ( const Vector x,
Vector u 
)

Definition at line 524 of file acoustics.cpp.

Variable Documentation

◆ dim

int dim

Definition at line 100 of file acoustics.cpp.

◆ omega

double omega

Definition at line 101 of file acoustics.cpp.

◆ prob

prob_type prob

Definition at line 109 of file acoustics.cpp.