MFEM  v4.6.0
Finite element discretization library
Classes | Enumerations | Functions
mfem::spde Namespace Reference

Classes

struct  Boundary
 
class  GFTransformer
 Base class to transform a grid function. More...
 
class  LevelSetTransformer
 Level Set Transformer, 1 for u(x) >= threshold, 0 otherwise. More...
 
class  OffsetTransformer
 Adds an constant offset to a grid function, i.e. u(x) = u(x) + offset. More...
 
class  ScaleTransformer
 Transforms a grid function by scaling it by a constant factor. More...
 
class  SPDESolver
 
class  UniformGRFTransformer
 
class  Visualizer
 

Enumerations

enum  BoundaryType {
  BoundaryType::kNeumann, BoundaryType::kDirichlet, BoundaryType::kRobin, BoundaryType::kPeriodic,
  BoundaryType::kUndefined
}
 

Functions

bool PrintOutput (const ParFiniteElementSpace *fespace_ptr, int print_level)
 
double IntegrateBC (const ParGridFunction &x, const Array< int > &bdr, double alpha, double beta, double gamma, double &glb_err)
 
double TransformToUniform (double x)
 
double ApplyLevelSetAtZero (double x)
 

Enumeration Type Documentation

◆ BoundaryType

Enumerator
kNeumann 
kDirichlet 
kRobin 
kPeriodic 
kUndefined 

Definition at line 24 of file spde_solver.hpp.

Function Documentation

◆ ApplyLevelSetAtZero()

double mfem::spde::ApplyLevelSetAtZero ( double  x)

Definition at line 29 of file transformation.cpp.

◆ IntegrateBC()

double mfem::spde::IntegrateBC ( const ParGridFunction x,
const Array< int > &  bdr,
double  alpha,
double  beta,
double  gamma,
double &  glb_err 
)

IntegrateBC function from ex27p.cpp. For boundary verification. Compute the average value of alpha*n.Grad(sol) + beta*sol over the boundary attributes marked in bdr_marker. Also computes the L2 norm of alpha*n.Grad(sol) + beta*sol - gamma over the same boundary.

Definition at line 242 of file spde_solver.cpp.

◆ PrintOutput()

bool mfem::spde::PrintOutput ( const ParFiniteElementSpace fespace_ptr,
int  print_level 
)

Definition at line 26 of file spde_solver.cpp.

◆ TransformToUniform()

double mfem::spde::TransformToUniform ( double  x)

This function effectively implements equation 19 of the paper (see header). \Phi [y(x)]

Definition at line 27 of file transformation.cpp.