Classes | Namespaces | Functions | Variables
oscillating_sphere.cc File Reference

Go to the source code of this file.

Classes

class  oomph::PMLHelmholtzPointSourceElement< ELEMENT >
 Class to impose point source to (wrapped) Helmholtz element. More...
 
class  oomph::FaceGeometry< PMLHelmholtzPointSourceElement< ELEMENT > >
 Face geometry for element is the same as that for the underlying wrapped element. More...
 
class  oomph::FaceGeometry< FaceGeometry< PMLHelmholtzPointSourceElement< ELEMENT > > >
 Face geometry of the Face Geometry for element is the same as that for the underlying wrapped element. More...
 
class  oomph::PMLLayerElement< PMLHelmholtzPointSourceElement< ELEMENT > >
 Policy class defining the elements to be used in the actual PML layers. More...
 
class  oomph::PMLLayerElement< ProjectablePMLFourierDecomposedHelmholtzElement< PMLHelmholtzPointSourceElement< ELEMENT > > >
 Policy class defining the elements to be used in the actual PML layers. More...
 
class  PMLFourierDecomposedHelmholtzProblem< ELEMENT >
 Problem class. More...
 

Namespaces

namespace  ProblemParameters
 Namespace for the Fourier decomposed Helmholtz problem parameters.
 
namespace  oomph
 

Functions

Vector< double > ProblemParameters::Coeff (N_terms, 1.0)
 Coefficients in the exact solution.
 
std::complex< double > ProblemParameters::I (0.0, 1.0)
 Imaginary unit.
 
void ProblemParameters::get_exact_u (const Vector< double > &x, Vector< double > &u)
 Exact solution as a Vector of size 2, containing real and imag parts.
 
void ProblemParameters::exact_minus_dudr (const Vector< double > &x, std::complex< double > &flux)
 Get -du/dr (spherical r) for exact solution. Equal to prescribed flux on inner boundary.
 
std::complex< double > ProblemParameters::Magnitude (100.0, 100.0)
 Point source magnitude (Complex)
 
int main (int argc, char **argv)
 Driver code for Pml Fourier decomposed Helmholtz problem.
 

Variables

string ProblemParameters::Directory ="RESLT"
 Output directory.
 
double ProblemParameters::K_squared = 10.0
 Frequency.
 
double ProblemParameters::PML_thickness =4.0
 Default physical PML thickness.
 
unsigned ProblemParameters::Nel_pml =15
 Default number of elements within PMLs.
 
double ProblemParameters::Element_area = 0.1
 Target area for initial mesh.
 
int ProblemParameters::N_fourier =0
 The default Fourier wave number.
 
unsigned ProblemParameters::N_terms =6
 Number of terms in the exact solution.
 
double ProblemParameters::R_source = 2.0
 Radial position of point source.
 
double ProblemParameters::Z_source = 2.0
 Axial position of point source.
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)