MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
ex15p.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 UpdateAndRebalance (ParMesh &pmesh, ParFiniteElementSpace &fespace, ParGridFunction &x, ParBilinearForm &a, ParLinearForm &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 449 of file ex15p.cpp.

◆ ball_laplace()

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

Definition at line 455 of file ex15p.cpp.

◆ bdr_func()

real_t bdr_func ( const Vector & pt,
real_t t )

Definition at line 505 of file ex15p.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 467 of file ex15p.cpp.

◆ front()

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

Definition at line 433 of file ex15p.cpp.

◆ front_laplace()

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

Definition at line 439 of file ex15p.cpp.

◆ main()

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

Definition at line 81 of file ex15p.cpp.

◆ rhs_func()

real_t rhs_func ( const Vector & pt,
real_t t )

Definition at line 511 of file ex15p.cpp.

◆ UpdateAndRebalance()

void UpdateAndRebalance ( ParMesh & pmesh,
ParFiniteElementSpace & fespace,
ParGridFunction & x,
ParBilinearForm & a,
ParLinearForm & b )

Definition at line 397 of file ex15p.cpp.

Variable Documentation

◆ alpha

const real_t alpha = 0.02

Definition at line 430 of file ex15p.cpp.

◆ nfeatures

int nfeatures

Definition at line 68 of file ex15p.cpp.

◆ problem

int problem

Definition at line 67 of file ex15p.cpp.