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

Go to the source code of this file.

Enumerations

enum class  IntegrationType {
  Volumetric1D , Surface2D , Volumetric2D , Surface3D ,
  Volumetric3D
}
 Integration rule the example should demonstrate. More...
 

Functions

real_t lvlset (const Vector &X)
 Level-set function defining the implicit interface.
 
real_t integrand (const Vector &X)
 Function that should be integrated.
 
real_t Surface ()
 Analytic surface integral.
 
real_t Volume ()
 Analytic volume integral over subdomain with positive level-set.
 
int main (int argc, char *argv[])
 

Variables

IntegrationType itype
 

Enumeration Type Documentation

◆ IntegrationType

enum class IntegrationType
strong

Integration rule the example should demonstrate.

Enumerator
Volumetric1D 
Surface2D 
Volumetric2D 
Surface3D 
Volumetric3D 

Definition at line 43 of file ex38.cpp.

Function Documentation

◆ integrand()

real_t integrand ( const Vector & X)

Function that should be integrated.

Definition at line 69 of file ex38.cpp.

◆ lvlset()

real_t lvlset ( const Vector & X)

Level-set function defining the implicit interface.

Definition at line 49 of file ex38.cpp.

◆ main()

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

Definition at line 503 of file ex38.cpp.

◆ Surface()

real_t Surface ( )

Analytic surface integral.

Definition at line 89 of file ex38.cpp.

◆ Volume()

real_t Volume ( )

Analytic volume integral over subdomain with positive level-set.

Definition at line 109 of file ex38.cpp.

Variable Documentation

◆ itype

Definition at line 46 of file ex38.cpp.