ASL
0.1.7
Advanced Simulation Library
|
Numerical method that generates temporal extrapolation of the data with Lagrangian polynoms of fractional argument. More...
#include <aslTimeContinuations.h>
Public Types | |
typedef SPDataWithGhostNodesACLData | Data |
typedef SPAbstractDataWithGhostNodes | Field |
![]() | |
typedef SPDataWithGhostNodesACLData | Data |
Public Member Functions | |
TimeContinPLagrangeFraction (Data inD, double f, unsigned int order) | |
TimeContinPLagrangeFraction (acl::VectorOfElementsData &inD, double f, unsigned int order) | |
void | execute () |
Executes the numerical procedure. More... | |
virtual void | init () |
Builds the necesery internal data and kernels. More... | |
![]() | |
void | addData (Data inD) |
void | addData (acl::VectorOfElementsData &inD) |
void | reset () |
makes reset of the contiuation (storage) cicle More... | |
![]() | |
virtual | ~NumMethod () |
Additional Inherited Members | |
![]() | |
TimeContinuations (Data inD, double factor) | |
TimeContinuations (acl::VectorOfElementsData &inD, double factor) | |
![]() | |
acl::VectorOfElementsData | inData |
double | factor |
unsigned int | nStorages |
Numerical method that generates temporal extrapolation of the data with Lagrangian polynoms of fractional argument.
The method computes Lagrange polinomial extrapolation of order \(k\) in time. The time is taken in the form \( (t+t_s)^{-1}\). factor
defines extrapolation length. \( t_s\) is defined as:
\[ t_s = 2 k+ factor \]
The interpolation polinoms are nothing else but the Lagrange one with \( x \) defined as \( x=(t+t_s)^{-1} \)
\[ u(t+dt*factor) = \sum_{i=0}^n y_i l_i \]
where
\[ l_i(x) = \prod_{j=0, j\neq i}^k \frac{x-x_j}{x_i-x_j}\]
The first avalible point has \( t_0 = -k$. The last avalible point has \) t_k = 0$.
Definition at line 114 of file aslTimeContinuations.h.
Definition at line 117 of file aslTimeContinuations.h.
Definition at line 118 of file aslTimeContinuations.h.
asl::TimeContinPLagrangeFraction::TimeContinPLagrangeFraction | ( | Data | inD, |
double | f, | ||
unsigned int | order | ||
) |
asl::TimeContinPLagrangeFraction::TimeContinPLagrangeFraction | ( | acl::VectorOfElementsData & | inD, |
double | f, | ||
unsigned int | order | ||
) |
|
virtual |
Executes the numerical procedure.
Implements asl::TimeContinuations.
|
virtual |
Builds the necesery internal data and kernels.
Implements asl::TimeContinuations.