Classes | Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
MathFunctions::PowX Class Reference

Power of X \(f(x)=x^X\). More...

#include <PowX.hpp>

Classes

struct  Power
 

Public Types

using options = tmpl::list< Power >
 
- Public Types inherited from MathFunction< 1 >
using creatable_classes = tmpl::list< MathFunctions::Gaussian, MathFunctions::PowX, MathFunctions::Sinusoid >
 

Public Member Functions

 PowX (const PowX &)=delete
 
PowXoperator= (const PowX &)=delete
 
 PowX (PowX &&) noexcept=default
 
PowXoperator= (PowX &&) noexcept=default
 
 WRAPPED_PUPable_decl_template (PowX)
 
 PowX (int power) noexcept
 
 PowX (CkMigrateMessage *) noexcept
 
double operator() (const double &x) const noexcept override
 Returns the function value at the coordinate 'x'.
 
DataVector operator() (const DataVector &x) const noexcept override
 Returns the function value at the coordinate 'x'.
 
double first_deriv (const double &x) const noexcept override
 Returns the first derivative at 'x'.
 
DataVector first_deriv (const DataVector &x) const noexcept override
 Returns the first derivative at 'x'.
 
double second_deriv (const double &x) const noexcept override
 Returns the second derivative at 'x'.
 
DataVector second_deriv (const DataVector &x) const noexcept override
 Returns the second derivative at 'x'.
 
double third_deriv (const double &x) const noexcept override
 Returns the third derivative at 'x'.
 
DataVector third_deriv (const DataVector &x) const noexcept override
 Returns the third derivative at 'x'.
 
void pup (PUP::er &p) override
 
- Public Member Functions inherited from MathFunction< 1 >
 WRAPPED_PUPable_abstract (MathFunction)
 
 MathFunction (const MathFunction &)=delete
 
MathFunctionoperator= (const MathFunction &)=delete
 
 MathFunction (MathFunction &&) noexcept=default
 
MathFunctionoperator= (MathFunction &&) noexcept=default
 

Static Public Attributes

static constexpr OptionString help
 

Friends

bool operator== (const PowX &lhs, const PowX &rhs) noexcept
 

Detailed Description

Power of X \(f(x)=x^X\).

Member Data Documentation

◆ help

constexpr OptionString MathFunctions::PowX::help
static
Initial value:
= {
"Raises the input value to a given power"}

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