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

Implementation of secOrd_op_initData_impl.h. More...

#include <iostream>
#include <sstream>
#include <fstream>
#include <cmath>
#include <numeric>
#include <config.h>
#include <dune/fem/io/parameter.hh>
#include <dune/fem/operator/lagrangeinterpolation.hh>
#include "secOrd_op_initData_impl.h"
#include "io_parameter.h"
#include "esfem_error.h"
Include dependency graph for secOrd_op_initData_impl.cpp:

Go to the source code of this file.

Typedefs

using Vec_domain = Analytic_velocity::Domain
 $ \R^3 $
 
using Vec_range = Analytic_velocity::Range
 $ \R^3 $
 

Functions

static double r_div_rEnd (const double t)
 Helper for eoc_velocity() More...
 
static void eoc_velocity (const double t, const Vec_domain &d, Vec_range &r)
 Velocity for the solution driven 2016 paper. More...
 

Detailed Description

Implementation of secOrd_op_initData_impl.h.

Revision history

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

Idea

Implementing Explicit_initial_data and Random_initial_data.

Author
Christian Power
Date
15. June 2016

Definition in file secOrd_op_initData_impl.cpp.

Function Documentation

static void eoc_velocity ( const double  t,
const Vec_domain d,
Vec_range r 
)
inlinestatic

Velocity for the solution driven 2016 paper.

Eoc means that this velocity was used to generate the eoc tables.

Parameters
tCurrent time $t$
dPosition $x$ at time $t$
Return values
r$v(x,t) = k \Bigl(1 - \frac{r(t)}{r_{end}}\Bigr) x$
See also
r_div_rEnd

Definition at line 71 of file secOrd_op_initData_impl.cpp.

static double r_div_rEnd ( const double  t)
inlinestatic

Helper for eoc_velocity()

Parameters
tCurrent time $t$
Returns
$r(t)/r_{end} = \frac{r_0}{r_{end} e^{-kt} + r_0 (1-e^{-kt})}$

Definition at line 60 of file secOrd_op_initData_impl.cpp.