IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
Newton1D< T > Struct Template Reference
Collaboration diagram for Newton1D< T >:

Public Member Functions

KOKKOS_INLINE_FUNCTION Newton1D ()
KOKKOS_INLINE_FUNCTION Newton1D (const T &k_, const T &alpha_, const T &u_)
KOKKOS_INLINE_FUNCTION ~Newton1D ()
KOKKOS_INLINE_FUNCTION T f (T &x)
KOKKOS_INLINE_FUNCTION T fprime (T &x)
KOKKOS_FUNCTION void solve (T &x)
KOKKOS_INLINE_FUNCTION Newton1D ()
KOKKOS_INLINE_FUNCTION Newton1D (const T &k_, const T &alpha_, const T &u_)
KOKKOS_INLINE_FUNCTION ~Newton1D ()
KOKKOS_INLINE_FUNCTION T f (T &x)
KOKKOS_INLINE_FUNCTION T fprime (T &x)
KOKKOS_FUNCTION void solve (T &x)
KOKKOS_INLINE_FUNCTION Newton1D ()
KOKKOS_INLINE_FUNCTION Newton1D (const T &k_, const T &alpha_, const T &u_)
KOKKOS_INLINE_FUNCTION ~Newton1D ()
KOKKOS_INLINE_FUNCTION T f (T &x)
KOKKOS_INLINE_FUNCTION T fprime (T &x)
KOKKOS_FUNCTION void solve (T &x)

Public Attributes

double tol = 1e-12
int max_iter = 20
double pi = Kokkos::numbers::pi_v<double>
T k
T alpha
T u
T pi = Kokkos::numbers::pi_v<T>

Detailed Description

template<typename T>
struct Newton1D< T >

Definition at line 40 of file LandauDampingMixedExec.cpp.

Constructor & Destructor Documentation

◆ Newton1D() [1/6]

template<typename T>
KOKKOS_INLINE_FUNCTION Newton1D< T >::Newton1D ( )
inline

Definition at line 47 of file LandauDampingMixedExec.cpp.

◆ Newton1D() [2/6]

template<typename T>
KOKKOS_INLINE_FUNCTION Newton1D< T >::Newton1D ( const T & k_,
const T & alpha_,
const T & u_ )
inline

Definition at line 49 of file LandauDampingMixedExec.cpp.

References alpha, k, and u.

◆ ~Newton1D() [1/3]

template<typename T>
KOKKOS_INLINE_FUNCTION Newton1D< T >::~Newton1D ( )
inline

Definition at line 54 of file LandauDampingMixedExec.cpp.

◆ Newton1D() [3/6]

template<typename T>
KOKKOS_INLINE_FUNCTION Newton1D< T >::Newton1D ( )
inline

Definition at line 50 of file LandauDampingMixedPrecision.cpp.

◆ Newton1D() [4/6]

template<typename T>
KOKKOS_INLINE_FUNCTION Newton1D< T >::Newton1D ( const T & k_,
const T & alpha_,
const T & u_ )
inline

Definition at line 52 of file LandauDampingMixedPrecision.cpp.

References alpha, k, and u.

◆ ~Newton1D() [2/3]

template<typename T>
KOKKOS_INLINE_FUNCTION Newton1D< T >::~Newton1D ( )
inline

Definition at line 57 of file LandauDampingMixedPrecision.cpp.

◆ Newton1D() [5/6]

template<typename T>
KOKKOS_INLINE_FUNCTION Newton1D< T >::Newton1D ( )
inline

Definition at line 56 of file LandauDampingParameterList.cpp.

◆ Newton1D() [6/6]

template<typename T>
KOKKOS_INLINE_FUNCTION Newton1D< T >::Newton1D ( const T & k_,
const T & alpha_,
const T & u_ )
inline

Definition at line 58 of file LandauDampingParameterList.cpp.

References alpha, k, and u.

◆ ~Newton1D() [3/3]

template<typename T>
KOKKOS_INLINE_FUNCTION Newton1D< T >::~Newton1D ( )
inline

Definition at line 63 of file LandauDampingParameterList.cpp.

Member Function Documentation

◆ f() [1/3]

template<typename T>
KOKKOS_INLINE_FUNCTION T Newton1D< T >::f ( T & x)
inline

Definition at line 56 of file LandauDampingMixedExec.cpp.

References alpha, k, and u.

Referenced by solve().

Here is the caller graph for this function:

◆ f() [2/3]

template<typename T>
KOKKOS_INLINE_FUNCTION T Newton1D< T >::f ( T & x)
inline

Definition at line 59 of file LandauDampingMixedPrecision.cpp.

References alpha, k, and u.

◆ f() [3/3]

template<typename T>
KOKKOS_INLINE_FUNCTION T Newton1D< T >::f ( T & x)
inline

Definition at line 65 of file LandauDampingParameterList.cpp.

References alpha, k, and u.

◆ fprime() [1/3]

template<typename T>
KOKKOS_INLINE_FUNCTION T Newton1D< T >::fprime ( T & x)
inline

Definition at line 62 of file LandauDampingMixedExec.cpp.

References alpha, and k.

Referenced by solve().

Here is the caller graph for this function:

◆ fprime() [2/3]

template<typename T>
KOKKOS_INLINE_FUNCTION T Newton1D< T >::fprime ( T & x)
inline

Definition at line 65 of file LandauDampingMixedPrecision.cpp.

References alpha, and k.

◆ fprime() [3/3]

template<typename T>
KOKKOS_INLINE_FUNCTION T Newton1D< T >::fprime ( T & x)
inline

Definition at line 71 of file LandauDampingParameterList.cpp.

References alpha, and k.

◆ solve() [1/3]

template<typename T>
KOKKOS_FUNCTION void Newton1D< T >::solve ( T & x)
inline

Definition at line 69 of file LandauDampingMixedExec.cpp.

References f(), fprime(), max_iter, and tol.

Referenced by generate_random< T, GeneratorPool, Dim >::operator()().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ solve() [2/3]

template<typename T>
KOKKOS_FUNCTION void Newton1D< T >::solve ( T & x)
inline

Definition at line 72 of file LandauDampingMixedPrecision.cpp.

References f(), fprime(), max_iter, and tol.

Here is the call graph for this function:

◆ solve() [3/3]

template<typename T>
KOKKOS_FUNCTION void Newton1D< T >::solve ( T & x)
inline

Definition at line 78 of file LandauDampingParameterList.cpp.

References f(), fprime(), max_iter, and tol.

Here is the call graph for this function:

Member Data Documentation

◆ alpha

template<typename T>
T Newton1D< T >::alpha

Definition at line 45 of file LandauDampingMixedExec.cpp.

Referenced by f(), fprime(), and Newton1D().

◆ k

template<typename T>
T Newton1D< T >::k

Definition at line 45 of file LandauDampingMixedExec.cpp.

Referenced by f(), fprime(), and Newton1D().

◆ max_iter

template<typename T>
int Newton1D< T >::max_iter = 20

Definition at line 42 of file LandauDampingMixedExec.cpp.

Referenced by solve().

◆ pi [1/2]

template<typename T>
double Newton1D< T >::pi = Kokkos::numbers::pi_v<double>

Definition at line 43 of file LandauDampingMixedExec.cpp.

◆ pi [2/2]

template<typename T>
T Newton1D< T >::pi = Kokkos::numbers::pi_v<T>

Definition at line 46 of file LandauDampingMixedPrecision.cpp.

◆ tol

template<typename T>
double Newton1D< T >::tol = 1e-12

Definition at line 41 of file LandauDampingMixedExec.cpp.

Referenced by solve().

◆ u

template<typename T>
T Newton1D< T >::u

Definition at line 45 of file LandauDampingMixedExec.cpp.

Referenced by f(), and Newton1D().


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