KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
#include <cmath>
#include "polynomial_utilities.h"
#include "includes/define.h"
#include "utilities/brent_iteration.h"
Namespaces | |
Kratos | |
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES. | |
Kratos::PolynomialUtilities | |
Functions | |
std::size_t | Kratos::PolynomialUtilities::Degree (const PolynomialType &rPolynomial) |
double | Kratos::PolynomialUtilities::Evaluate (const PolynomialType &rPolynomial, double x) |
PolynomialType | Kratos::PolynomialUtilities::Differentiate (const PolynomialType &rPolynomial) |
PolynomialType | Kratos::PolynomialUtilities::Multiply (const PolynomialType &rA, const PolynomialType &rB) |
void | Kratos::PolynomialUtilities::Divide (PolynomialType &rQuotient, PolynomialType &rRemainder, const PolynomialType &rA, const PolynomialType &rB) |
void | Kratos::PolynomialUtilities::IsolateRoots (std::vector< IntervalType > &rRootIntervals, const PolynomialType &rPolynomial, const IntervalType &rRange) |
Define disjoint subintervals of rRange, each containing a single root of rPolynomial. More... | |
double | Kratos::PolynomialUtilities::FindRoot (const PolynomialType &rPolynomial, const IntervalType &rRange) |
Find a root of rPolynomial within the interval defined by rRange. More... | |