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

void maxwell_solution (const Vector &x, vector< complex< double >> &Eval)
 
void E_bdr_data_Re (const Vector &x, Vector &E)
 
void E_bdr_data_Im (const Vector &x, Vector &E)
 
void E_exact_Re (const Vector &x, Vector &E)
 
void E_exact_Im (const Vector &x, Vector &E)
 
void source (const Vector &x, Vector &f)
 
void detJ_JT_J_inv_Re (const Vector &x, PML *pml, Vector &D)
 
void detJ_JT_J_inv_Im (const Vector &x, PML *pml, Vector &D)
 
void detJ_JT_J_inv_abs (const Vector &x, PML *pml, Vector &D)
 
void detJ_inv_JT_J_Re (const Vector &x, PML *pml, Vector &D)
 
void detJ_inv_JT_J_Im (const Vector &x, PML *pml, Vector &D)
 
void detJ_inv_JT_J_abs (const Vector &x, PML *pml, Vector &D)
 
int main (int argc, char *argv[])
 

Variables

Array2D< double > comp_domain_bdr
 
Array2D< double > domain_bdr
 
double mu = 1.0
 
double epsilon = 1.0
 
double omega
 
int dim
 
bool exact_known = false
 
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 146 of file ex25.cpp.

Function Documentation

◆ detJ_inv_JT_J_abs()

void detJ_inv_JT_J_abs ( const Vector x,
PML *  pml,
Vector D 
)

Definition at line 907 of file ex25.cpp.

◆ detJ_inv_JT_J_Im()

void detJ_inv_JT_J_Im ( const Vector x,
PML *  pml,
Vector D 
)

Definition at line 883 of file ex25.cpp.

◆ detJ_inv_JT_J_Re()

void detJ_inv_JT_J_Re ( const Vector x,
PML *  pml,
Vector D 
)

Definition at line 858 of file ex25.cpp.

◆ detJ_JT_J_inv_abs()

void detJ_JT_J_inv_abs ( const Vector x,
PML *  pml,
Vector D 
)

Definition at line 841 of file ex25.cpp.

◆ detJ_JT_J_inv_Im()

void detJ_JT_J_inv_Im ( const Vector x,
PML *  pml,
Vector D 
)

Definition at line 824 of file ex25.cpp.

◆ detJ_JT_J_inv_Re()

void detJ_JT_J_inv_Re ( const Vector x,
PML *  pml,
Vector D 
)

Definition at line 807 of file ex25.cpp.

◆ E_bdr_data_Im()

void E_bdr_data_Im ( const Vector x,
Vector E 
)

Definition at line 781 of file ex25.cpp.

◆ E_bdr_data_Re()

void E_bdr_data_Re ( const Vector x,
Vector E 
)

Definition at line 754 of file ex25.cpp.

◆ E_exact_Im()

void E_exact_Im ( const Vector x,
Vector E 
)

Definition at line 744 of file ex25.cpp.

◆ E_exact_Re()

void E_exact_Re ( const Vector x,
Vector E 
)

Definition at line 734 of file ex25.cpp.

◆ main()

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

Definition at line 156 of file ex25.cpp.

◆ maxwell_solution()

void maxwell_solution ( const Vector x,
std::vector< complex< double >> &  E 
)

Definition at line 633 of file ex25.cpp.

◆ source()

void source ( const Vector x,
Vector f 
)

Definition at line 617 of file ex25.cpp.

Variable Documentation

◆ comp_domain_bdr

Array2D<double> comp_domain_bdr

Definition at line 137 of file ex25.cpp.

◆ dim

int dim

Definition at line 143 of file ex25.cpp.

◆ domain_bdr

Array2D<double> domain_bdr

Definition at line 138 of file ex25.cpp.

◆ epsilon

double epsilon = 1.0

Definition at line 141 of file ex25.cpp.

◆ exact_known

bool exact_known = false

Definition at line 144 of file ex25.cpp.

◆ mu

double mu = 1.0

Definition at line 140 of file ex25.cpp.

◆ omega

double omega

Definition at line 142 of file ex25.cpp.

◆ prob

prob_type prob

Definition at line 154 of file ex25.cpp.