asl::TimeContinPLagrange Class Reference
Numerics » Numerical Methods

Numerical method that generates temporal extrapolation of the data with Lagrangian polynoms. More...

`#include <aslTimeContinuations.h>`

Inheritance diagram for asl::TimeContinPLagrange:
[legend]
Collaboration diagram for asl::TimeContinPLagrange:
[legend]

## Public Member Functions

| TimeContinPLagrange (Data inD, double f, unsigned int order)
| TimeContinPLagrange (acl::VectorOfElementsData &inD, double f, unsigned int order)
virtual void | execute ()
| Executes the numerical procedure. More...
virtual void | init ()
| Builds the necesery internal data and kernels. More...
| TimeContinPLagrange (Data inD, double f, unsigned int order)
| TimeContinPLagrange (acl::VectorOfElementsData &inD, double f, unsigned int order)
virtual void | execute ()
| Executes the numerical procedure. More...
virtual void | init ()
| Builds the necesery internal data and kernels. More...
Public Member Functions inherited from asl::TimeContinuations
void | addData (Data inD)
void | addData (acl::VectorOfElementsData &inD)
void | reset ()
| makes reset of the contiuation (storage) cicle More...
void | addData (Data inD)
void | addData (acl::VectorOfElementsData &inD)
void | reset ()
| makes reset of the contiuation (storage) cicle More...
Public Member Functions inherited from asl::NumMethod
virtual | ~NumMethod ()
virtual | ~NumMethod ()

## Additional Inherited Members

Public Types inherited from asl::TimeContinuations
typedef SPDataWithGhostNodesACLData | Data
typedef SPDataWithGhostNodesACLData | Data
Protected Member Functions inherited from asl::TimeContinuations
| TimeContinuations (Data inD, double factor)
| TimeContinuations (acl::VectorOfElementsData &inD, double factor)
| TimeContinuations (Data inD, double factor)
| TimeContinuations (acl::VectorOfElementsData &inD, double factor)
Protected Attributes inherited from asl::TimeContinuations
acl::VectorOfElementsData | inData
double | factor
unsigned int | nStorages

## Detailed Description

Numerical method that generates temporal extrapolation of the data with Lagrangian polynoms.

The method computes Lagrange polinomial extrapolation of order \(k\) in time. `factor` defines extrapolation length:

\[ 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 80 of file aslTimeContinuations.h.

## Constructor & Destructor Documentation

## TimeContinPLagrange() [1/4]

asl::TimeContinPLagrange::TimeContinPLagrange | ( | Data | inD,
|  | double | f,
|  | unsigned int | order
| ) |  |

## TimeContinPLagrange() [2/4]

asl::TimeContinPLagrange::TimeContinPLagrange | ( | acl::VectorOfElementsData & | inD,
|  | double | f,
|  | unsigned int | order
| ) |  |

## TimeContinPLagrange() [3/4]

asl::TimeContinPLagrange::TimeContinPLagrange | ( | Data | inD,
|  | double | f,
|  | unsigned int | order
| ) |  |

## TimeContinPLagrange() [4/4]

asl::TimeContinPLagrange::TimeContinPLagrange | ( | acl::VectorOfElementsData & | inD,
|  | double | f,
|  | unsigned int | order
| ) |  |

## Member Function Documentation

## execute() [1/2]

virtual void asl::TimeContinPLagrange::execute | ( |  | ) |

virtual

Executes the numerical procedure.

Implements asl::TimeContinuations.

## execute() [2/2]

virtual void asl::TimeContinPLagrange::execute | ( |  | ) |

virtual

Executes the numerical procedure.

Implements asl::TimeContinuations.

## init() [1/2]

virtual void asl::TimeContinPLagrange::init | ( |  | ) |

virtual

Builds the necesery internal data and kernels.

Implements asl::TimeContinuations.

## init() [2/2]

virtual void asl::TimeContinPLagrange::init | ( |  | ) |

virtual

Builds the necesery internal data and kernels.

Implements asl::TimeContinuations.

The documentation for this class was generated from the following file:

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/num/aslTimeContinuations.h