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

Go to the source code of this file.

Functions

real_t bdr_func (const Vector &pt, real_t t)
 
real_t rhs_func (const Vector &pt, real_t t)
 
void UpdateProblem (Mesh &mesh, FiniteElementSpace &fespace, GridFunction &x, BilinearForm &a, LinearForm &b)
 
int main (int argc, char *argv[])
 
real_t front (real_t x, real_t y, real_t z, real_t t, int)
 
real_t front_laplace (real_t x, real_t y, real_t z, real_t t, int dim)
 
real_t ball (real_t x, real_t y, real_t z, real_t t, int)
 
real_t ball_laplace (real_t x, real_t y, real_t z, real_t t, int dim)
 
template<typename F0 , typename F1 >
real_t composite_func (const Vector &pt, real_t t, F0 f0, F1 f1)
 

Variables

int problem
 
int nfeatures
 
const real_t alpha = 0.02
 

Function Documentation

◆ ball()

real_t ball ( real_t x,
real_t y,
real_t z,
real_t t,
int  )

Definition at line 388 of file ex15.cpp.

◆ ball_laplace()

real_t ball_laplace ( real_t x,
real_t y,
real_t z,
real_t t,
int dim )

Definition at line 394 of file ex15.cpp.

◆ bdr_func()

real_t bdr_func ( const Vector & pt,
real_t t )

Definition at line 444 of file ex15.cpp.

◆ composite_func()

template<typename F0 , typename F1 >
real_t composite_func ( const Vector & pt,
real_t t,
F0 f0,
F1 f1 )

Definition at line 406 of file ex15.cpp.

◆ front()

real_t front ( real_t x,
real_t y,
real_t z,
real_t t,
int  )

Definition at line 372 of file ex15.cpp.

◆ front_laplace()

real_t front_laplace ( real_t x,
real_t y,
real_t z,
real_t t,
int dim )

Definition at line 378 of file ex15.cpp.

◆ main()

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

Definition at line 75 of file ex15.cpp.

◆ rhs_func()

real_t rhs_func ( const Vector & pt,
real_t t )

Definition at line 450 of file ex15.cpp.

◆ UpdateProblem()

void UpdateProblem ( Mesh & mesh,
FiniteElementSpace & fespace,
GridFunction & x,
BilinearForm & a,
LinearForm & b )

Definition at line 348 of file ex15.cpp.

Variable Documentation

◆ alpha

const real_t alpha = 0.02

Definition at line 369 of file ex15.cpp.

◆ nfeatures

int nfeatures

Definition at line 63 of file ex15.cpp.

◆ problem

int problem

Definition at line 62 of file ex15.cpp.