Skip to content

C0PEP0D/p0l

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

p0l : C++ interpolation

standard-readme compliant

A simple C++ library that helps interpoling points.

This simple C++ library provides functors that are able to interpolate values between other values using Lagrange polynomes. Simple examples are provided and should be enough to explain how to use this library.

This repository contains:

  1. The software itself provided as a header only library in the directory include/p0l
  2. A few examples.

Table of Contents

Background

This library has been produced during my PhD thesis and as part as the European Research Council project: C0PEP0D This library is used as part of SHELD0N, a lagrangian particle advection software.

Install

Dependencies

  • CMake v? or higher must be installed
  • a c++14 compliant compiler, such as gcc v9 or higher must be installed. For Ubuntu users: ppa.

Examples:

  • Eigen must be installed
  • m0sh must be installed

v0l example (interpolation within a legacy vtk file):

  • v0l must be installed

The examples assume the following directory tree structure:

..
 ├── .
 │   │── p0l
 │   │── m0sh
 │   └── (v0l)
 └── thirdparty
     └── eigen

One should either install this dependencies accordingly, or adapt their path in the CMakeList.txt file of the examples.

Installing

Start by cloning this repository.

$ git clone https://github.com/C0PEP0D/p0l.git

Examples

Running an example:

$ cd examples/mesh
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./mesh

Updating

A simple pull should be enough.

$ git pull

Maintainers

Rémi Monthiller - @rmonthil - remi.monthiller@gmail.com

Contributing

Feel free to dive in! Open an issue or submit PRs.

License

MIT © Centrale Marseille, Rémi MONTHILLER.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published