MFEM v4.10.0
Finite element discretization library
Loading...
Searching...
No Matches
ds_common Namespace Reference

Classes

class  AbsL1GeometricMultigrid
 Abs-L(1)-Jacobi custom general geometric multigrid method. More...
 
class  DataMonitor
 Custom monitor that prints a csv-formatted file. More...
 

Enumerations

enum  SolverType { sli , cg , num_solvers }
 
enum  IntegratorType { mass , diffusion , maxwell , num_integrators }
 
enum  PCType { none , abs_global , pq_element , num_pc }
 

Functions

void AssembleElementLpqJacobiDiag (ParBilinearForm &form, real_t p, real_t q, Vector &diag)
 
real_t diffusion_solution (const Vector &x)
 
real_t diffusion_source (const Vector &x)
 
void maxwell_solution (const Vector &x, Vector &u)
 
void maxwell_source (const Vector &x, Vector &f)
 

Variables

int MONITOR_DIGITS = 20
 
int MG_MAX_ITER = 10
 
real_t MG_REL_TOL = std::sqrt(1e-10)
 
int dim = 0
 
int space_dim = 0
 
real_t freq = 1.0
 
real_t kappa = 1.0
 

Enumeration Type Documentation

◆ IntegratorType

Enumerator
mass 
diffusion 
maxwell 
num_integrators 

Definition at line 44 of file ds-common.hpp.

◆ PCType

Enumerator
none 
abs_global 
pq_element 
num_pc 

Definition at line 53 of file ds-common.hpp.

◆ SolverType

Enumerator
sli 
cg 
num_solvers 

Definition at line 36 of file ds-common.hpp.

Function Documentation

◆ AssembleElementLpqJacobiDiag()

void ds_common::AssembleElementLpqJacobiDiag ( ParBilinearForm & form,
real_t p,
real_t q,
Vector & diag )

Definition at line 173 of file ds-common.cpp.

◆ diffusion_solution()

real_t ds_common::diffusion_solution ( const Vector & x)

Definition at line 230 of file ds-common.cpp.

◆ diffusion_source()

real_t ds_common::diffusion_source ( const Vector & x)

Definition at line 242 of file ds-common.cpp.

◆ maxwell_solution()

void ds_common::maxwell_solution ( const Vector & x,
Vector & u )

Definition at line 255 of file ds-common.cpp.

◆ maxwell_source()

void ds_common::maxwell_source ( const Vector & x,
Vector & f )

Definition at line 271 of file ds-common.cpp.

Variable Documentation

◆ dim

int ds_common::dim = 0

Definition at line 24 of file ds-common.cpp.

◆ freq

real_t ds_common::freq = 1.0

Definition at line 26 of file ds-common.cpp.

◆ kappa

real_t ds_common::kappa = 1.0

Definition at line 27 of file ds-common.cpp.

◆ MG_MAX_ITER

int ds_common::MG_MAX_ITER = 10

Definition at line 21 of file ds-common.cpp.

◆ MG_REL_TOL

real_t ds_common::MG_REL_TOL = std::sqrt(1e-10)

Definition at line 22 of file ds-common.cpp.

◆ MONITOR_DIGITS

int ds_common::MONITOR_DIGITS = 20

Definition at line 20 of file ds-common.cpp.

◆ space_dim

int ds_common::space_dim = 0

Definition at line 25 of file ds-common.cpp.