Compadre 1.5.5
Loading...
Searching...
No Matches
Macros | Functions
GMLS_Manifold.hpp File Reference
#include <Kokkos_Core.hpp>
#include <cmath>

Go to the source code of this file.

Macros

#define PI   3.14159265358979323846
 

Functions

KOKKOS_INLINE_FUNCTION double device_max (double d1, double d2)
 
KOKKOS_INLINE_FUNCTION double atan4 (const double y, const double x)
 
KOKKOS_INLINE_FUNCTION double latitude (double x, double y, double z)
 
KOKKOS_INLINE_FUNCTION double longitude (double x, double y, double z)
 
KOKKOS_INLINE_FUNCTION double legendre54 (double z)
 
KOKKOS_INLINE_FUNCTION double sphere_harmonic54 (double x, double y, double z)
 
KOKKOS_INLINE_FUNCTION void curl_sphere_harmonic54 (double *curl, double x, double y, double z)
 
KOKKOS_INLINE_FUNCTION double laplace_beltrami_sphere_harmonic54 (double x, double y, double z)
 
KOKKOS_INLINE_FUNCTION void gradient_sphereHarmonic54_local (double *gradient, double x, double y, double z)
 
KOKKOS_INLINE_FUNCTION void gradient_sphereHarmonic54_ambient (double *gradient, double x, double y, double z)
 
KOKKOS_INLINE_FUNCTION void velocity_sphereHarmonic54_ambient (double *velocity, double x, double y, double z)
 
int main (int argc, char *args[])
 Manifold GMLS Example.
 

Macro Definition Documentation

◆ PI

#define PI   3.14159265358979323846

Definition at line 7 of file GMLS_Manifold.hpp.

Function Documentation

◆ atan4()

KOKKOS_INLINE_FUNCTION double atan4 ( const double y,
const double x )

Definition at line 15 of file GMLS_Manifold.hpp.

◆ curl_sphere_harmonic54()

KOKKOS_INLINE_FUNCTION void curl_sphere_harmonic54 ( double * curl,
double x,
double y,
double z )

Definition at line 70 of file GMLS_Manifold.hpp.

◆ device_max()

KOKKOS_INLINE_FUNCTION double device_max ( double d1,
double d2 )

Definition at line 10 of file GMLS_Manifold.hpp.

◆ gradient_sphereHarmonic54_ambient()

KOKKOS_INLINE_FUNCTION void gradient_sphereHarmonic54_ambient ( double * gradient,
double x,
double y,
double z )

Definition at line 101 of file GMLS_Manifold.hpp.

◆ gradient_sphereHarmonic54_local()

KOKKOS_INLINE_FUNCTION void gradient_sphereHarmonic54_local ( double * gradient,
double x,
double y,
double z )

Definition at line 89 of file GMLS_Manifold.hpp.

◆ laplace_beltrami_sphere_harmonic54()

KOKKOS_INLINE_FUNCTION double laplace_beltrami_sphere_harmonic54 ( double x,
double y,
double z )

Definition at line 83 of file GMLS_Manifold.hpp.

◆ latitude()

KOKKOS_INLINE_FUNCTION double latitude ( double x,
double y,
double z )

Definition at line 49 of file GMLS_Manifold.hpp.

◆ legendre54()

KOKKOS_INLINE_FUNCTION double legendre54 ( double z)

Definition at line 59 of file GMLS_Manifold.hpp.

◆ longitude()

KOKKOS_INLINE_FUNCTION double longitude ( double x,
double y,
double z )

Definition at line 54 of file GMLS_Manifold.hpp.

◆ main()

int main ( int argc,
char * args[] )

Manifold GMLS Example.

Exercises GMLS operator evaluation with data over various orders and numbers of targets for targets including point evaluation, Laplace-Beltrami, gradient and gradient on a manifold.

Manifold GMLS Example.

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Setting Up The GMLS Object]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up The Point Cloud]

[Setting Up The Point Cloud]

[Creating The Data]

[Creating The Data]

[Performing Neighbor Search]

[Performing Neighbor Search]

[Setting Up The GMLS Object]

[Setting Up The GMLS Object]

[Apply GMLS Alphas To Data]

[Apply GMLS Alphas To Data]

[Check That Solutions Are Correct]

[Check That Solutions Are Correct]

[Finalize Program]

[Parse Command Line Arguments]

[Setting Up Data]

[Setting Up Data]

[Filtering And Extracting Data]

[Filtering Data]

[Checking Filtered And Extracted Data]

[Checking Filtered And Extracted Data]

[Finalize Program]

Definition at line 29 of file GMLS_Device.cpp.

◆ sphere_harmonic54()

KOKKOS_INLINE_FUNCTION double sphere_harmonic54 ( double x,
double y,
double z )

Definition at line 64 of file GMLS_Manifold.hpp.

◆ velocity_sphereHarmonic54_ambient()

KOKKOS_INLINE_FUNCTION void velocity_sphereHarmonic54_ambient ( double * velocity,
double x,
double y,
double z )

Definition at line 114 of file GMLS_Manifold.hpp.