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

Go to the source code of this file.

Enumerations

enum  prob_type {
  beam , disc , lshape , fichera ,
  load_src
}
 

Functions

void maxwell_solution (const Vector &x, vector< complex< real_t > > &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)
 
template<typename T >
pow2 (const T &x)
 
int main (int argc, char *argv[])
 

Variables

Array2D< real_tcomp_domain_bdr
 
Array2D< real_tdomain_bdr
 
real_t mu = 1.0
 
real_t epsilon = 1.0
 
real_t 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 

Definition at line 148 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 911 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 887 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 862 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 845 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 828 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 811 of file ex25.cpp.

◆ E_bdr_data_Im()

void E_bdr_data_Im ( const Vector & x,
Vector & E )

Definition at line 785 of file ex25.cpp.

◆ E_bdr_data_Re()

void E_bdr_data_Re ( const Vector & x,
Vector & E )

Definition at line 758 of file ex25.cpp.

◆ E_exact_Im()

void E_exact_Im ( const Vector & x,
Vector & E )

Definition at line 748 of file ex25.cpp.

◆ E_exact_Re()

void E_exact_Re ( const Vector & x,
Vector & E )

Definition at line 738 of file ex25.cpp.

◆ main()

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

Definition at line 158 of file ex25.cpp.

◆ maxwell_solution()

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

Definition at line 636 of file ex25.cpp.

◆ pow2()

template<typename T >
T pow2 ( const T & x)

Definition at line 146 of file ex25.cpp.

◆ source()

void source ( const Vector & x,
Vector & f )

Definition at line 620 of file ex25.cpp.

Variable Documentation

◆ comp_domain_bdr

Array2D<real_t> 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<real_t> domain_bdr

Definition at line 138 of file ex25.cpp.

◆ epsilon

real_t 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

real_t mu = 1.0

Definition at line 140 of file ex25.cpp.

◆ omega

real_t omega

Definition at line 142 of file ex25.cpp.

◆ prob

prob_type prob

Definition at line 156 of file ex25.cpp.