Evolving surface finite element method  v0.3.0-14-g3598512
Numerical experiments for my papers
Classes | Typedefs | Functions
grid_deformation.cpp File Reference

Implementation of Deformation class. More...

#include <cmath>
#include <numeric>
#include "grid.h"
#include "grid_GridAndTime_impl.h"
Include dependency graph for grid_deformation.cpp:

Go to the source code of this file.

Classes

struct  Esfem::Grid::Deformation::Data
 

Typedefs

using Domain = Esfem::Grid::Deformation::Domain
 $\R^3$
 
using Range = Esfem::Grid::Deformation::Range
 $\R^3$
 

Functions

static void identity (const Domain &x, Range &y) noexcept
 $id\colon \R^3 \to \R^3$
 
static void logistic_growth (const double t, const Domain &x, Range &y) noexcept
 $r(t) = \frac{r_{end} r_0}{r_{end} e^{-kt} + r_0 (1 - e^{-kt})}$ More...
 
static void dalquist (const double t, const Domain &x, Range &y)
 Dalquist test equation with $\lambda=1$.
 
static void mcf_sphere (const double t, const Domain &x, Range &y)
 $ R(t) = \sqrt{ R_0^2 - 2nt}$
 

Detailed Description

Implementation of Deformation class.

Revision history

 Revised by Christian Power April 2016
 Originally written by Christian Power
      (power22c@gmail.com) Januar 2016

Idea

Explicit flow functions are coded as inline functions.

Author
Christian Power
Date
23. April 2016

Definition in file grid_deformation.cpp.

Function Documentation

static void logistic_growth ( const double  t,
const Domain x,
Range y 
)
inlinestaticnoexcept

$r(t) = \frac{r_{end} r_0}{r_{end} e^{-kt} + r_0 (1 - e^{-kt})}$

Parameters
tCurrent time
xPoint from the initial surface
Return values
y$ y = r(t) x$
Precondition
Initial surface is a sphere.

Definition at line 52 of file grid_deformation.cpp.