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

Go to the source code of this file.

Enumerations

enum  prob_type {
  plane_wave , gaussian_beam , pml_general , pml_beam_scatter ,
  pml_plane_wave_scatter , pml_pointsource
}
 

Functions

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

Variables

int dim
 
real_t omega
 
prob_type prob
 

Enumeration Type Documentation

◆ prob_type

enum prob_type
Enumerator
plane_wave 
gaussian_beam 
pml_general 
pml_beam_scatter 
pml_plane_wave_scatter 
pml_pointsource 

Definition at line 157 of file pacoustics.cpp.

Function Documentation

◆ acoustics_solution()

complex< real_t > acoustics_solution ( const Vector & X)

Definition at line 967 of file pacoustics.cpp.

◆ acoustics_solution_grad()

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

Definition at line 1036 of file pacoustics.cpp.

◆ acoustics_solution_laplacian()

complex< real_t > acoustics_solution_laplacian ( const Vector & X)

Definition at line 1120 of file pacoustics.cpp.

◆ d2_exact_i()

real_t d2_exact_i ( const Vector & x)

Definition at line 907 of file pacoustics.cpp.

◆ d2_exact_r()

real_t d2_exact_r ( const Vector & x)

Definition at line 902 of file pacoustics.cpp.

◆ divu_exact_i()

real_t divu_exact_i ( const Vector & x)

Definition at line 945 of file pacoustics.cpp.

◆ divu_exact_r()

real_t divu_exact_r ( const Vector & x)

Definition at line 940 of file pacoustics.cpp.

◆ gradp_exact_i()

void gradp_exact_i ( const Vector & x,
Vector & gradu )

Definition at line 891 of file pacoustics.cpp.

◆ gradp_exact_r()

void gradp_exact_r ( const Vector & x,
Vector & gradu )

Definition at line 880 of file pacoustics.cpp.

◆ hatp_exact_i()

real_t hatp_exact_i ( const Vector & X)

Definition at line 875 of file pacoustics.cpp.

◆ hatp_exact_r()

real_t hatp_exact_r ( const Vector & X)

Definition at line 870 of file pacoustics.cpp.

◆ hatu_exact_i()

void hatu_exact_i ( const Vector & X,
Vector & hatu )

Definition at line 931 of file pacoustics.cpp.

◆ hatu_exact_r()

void hatu_exact_r ( const Vector & X,
Vector & hatu )

Definition at line 927 of file pacoustics.cpp.

◆ main()

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

Definition at line 179 of file pacoustics.cpp.

◆ p_exact_i()

real_t p_exact_i ( const Vector & x)

Definition at line 865 of file pacoustics.cpp.

◆ p_exact_r()

real_t p_exact_r ( const Vector & x)

Definition at line 860 of file pacoustics.cpp.

◆ rhs_func_i()

real_t rhs_func_i ( const Vector & x)

Definition at line 960 of file pacoustics.cpp.

◆ rhs_func_r()

real_t rhs_func_r ( const Vector & x)

Definition at line 952 of file pacoustics.cpp.

◆ source_function()

real_t source_function ( const Vector & x)

Definition at line 1220 of file pacoustics.cpp.

◆ u_exact_i()

void u_exact_i ( const Vector & x,
Vector & u )

Definition at line 921 of file pacoustics.cpp.

◆ u_exact_r()

void u_exact_r ( const Vector & x,
Vector & u )

Definition at line 915 of file pacoustics.cpp.

Variable Documentation

◆ dim

int dim

Definition at line 154 of file pacoustics.cpp.

◆ omega

real_t omega

Definition at line 155 of file pacoustics.cpp.

◆ prob

prob_type prob

Definition at line 177 of file pacoustics.cpp.