MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
spacing.hpp File Reference

Go to the source code of this file.

Classes

class  mfem::SpacingFunction
 
class  mfem::UniformSpacingFunction
 Uniform spacing function, dividing the unit interval into Size() equally spaced intervals (elements). More...
 
class  mfem::LinearSpacingFunction
 Linear spacing function, defining the width of interval i as s + i * d. More...
 
class  mfem::GeometricSpacingFunction
 Geometric spacing function. More...
 
class  mfem::BellSpacingFunction
 Bell spacing function, which produces spacing resembling a Bell curve. More...
 
class  mfem::GaussianSpacingFunction
 Gaussian spacing function of the general form g(x) = a exp(-(x-m)^2 / c^2) for some scalar parameters a, m, c. More...
 
class  mfem::LogarithmicSpacingFunction
 Logarithmic spacing function, uniform in log base 10 by default. More...
 
class  mfem::PiecewiseSpacingFunction
 Piecewise spacing function, with spacing functions defining spacing within arbitarily many fixed subintervals of the unit interval. More...
 

Namespaces

namespace  mfem
 

Enumerations

enum class  mfem::SpacingType {
  mfem::UNIFORM_SPACING , mfem::LINEAR , mfem::GEOMETRIC , mfem::BELL ,
  mfem::GAUSSIAN , mfem::LOGARITHMIC , mfem::PIECEWISE
}
 

Functions

std::unique_ptr< SpacingFunctionmfem::GetSpacingFunction (const SpacingType type, Array< int > const &ipar, Vector const &dpar)
 Returns a new SpacingFunction instance defined by the type and parameters.