CoastalME (Coastal Modelling Environment)
Simulates the long-term behaviour of complex coastlines
Loading...
Searching...
No Matches
hermite_cubic.cpp File Reference

Some routines from the hermite_cubic library. More...

#include <iostream>
#include "cme.h"
#include "hermite_cubic.h"

Go to the source code of this file.

Functions

void r8vec_bracket3 (int const n, double const *t, double const tval, int *left)
 This is part of a C++ library from http://people.sc.fsu.edu/~jburkardt/cpp_src/hermite_cubic/hermite_cubic.html. It demonstrates the use of cubic polynomials in the Hermite form: r8vec_bracket3() finds the interval containing or nearest to a given value.
 
void hermite_cubic_value (double const x1, double const f1, double const d1, double const x2, double const f2, double const d2, int const n, double const *x, double *f, double *d, double *s, double *t)
 This is part of a C++ library from http://people.sc.fsu.edu/~jburkardt/cpp_src/hermite_cubic/hermite_cubic.html. It demonstrates the use of cubic polynomials in the Hermite form: hermite_cubic_spline_value() evaluates a Hermite cubic spline//===============================================================================================================================.
 
void hermite_cubic_spline_value (int const nn, double *const xn, double *const fn, double *const dn, int const n, double *const x, double *f, double *d, double *s, double *t)
 This is part of a C++ library from http://people.sc.fsu.edu/~jburkardt/cpp_src/hermite_cubic/hermite_cubic.html. It demonstrates the use of cubic polynomials in the Hermite form: hermite_cubic_value() evaluates a Hermite cubic polynomial. Here, it is used in the calculation of erosion potetial for shore platform erosion.
 

Detailed Description

Some routines from the hermite_cubic library.

TODO 001 A more detailed description of these routines.

Author
John Burkardt
Modified by David Favis-Mortlock and Andres Payo
Date
2025

Definition in file hermite_cubic.cpp.

Function Documentation

◆ hermite_cubic_spline_value()

void hermite_cubic_spline_value ( int const nn,
double *const xn,
double *const fn,
double *const dn,
int const n,
double *const x,
double * f,
double * d,
double * s,
double * t )

This is part of a C++ library from http://people.sc.fsu.edu/~jburkardt/cpp_src/hermite_cubic/hermite_cubic.html. It demonstrates the use of cubic polynomials in the Hermite form: hermite_cubic_value() evaluates a Hermite cubic polynomial. Here, it is used in the calculation of erosion potetial for shore platform erosion.

Definition at line 343 of file hermite_cubic.cpp.

Referenced by CSimulation::bCreateErosionPotentialLookUp().

◆ hermite_cubic_value()

void hermite_cubic_value ( double const x1,
double const f1,
double const d1,
double const x2,
double const f2,
double const d2,
int const n,
double const * x,
double * f,
double * d,
double * s,
double * t )

This is part of a C++ library from http://people.sc.fsu.edu/~jburkardt/cpp_src/hermite_cubic/hermite_cubic.html. It demonstrates the use of cubic polynomials in the Hermite form: hermite_cubic_spline_value() evaluates a Hermite cubic spline//===============================================================================================================================.

Definition at line 263 of file hermite_cubic.cpp.

Referenced by hermite_cubic_spline_value().

◆ r8vec_bracket3()

void r8vec_bracket3 ( int const n,
double const * t,
double const tval,
int * left )

This is part of a C++ library from http://people.sc.fsu.edu/~jburkardt/cpp_src/hermite_cubic/hermite_cubic.html. It demonstrates the use of cubic polynomials in the Hermite form: r8vec_bracket3() finds the interval containing or nearest to a given value.

Definition at line 90 of file hermite_cubic.cpp.

Referenced by hermite_cubic_spline_value().