Loading...
Searching...
No Matches
PLMD::switchContainers::Data Struct Reference

#include <SwitchingFunction.h>

Public Member Functions

void removeFromACCDevice () const
 
void toACCDevice () const
 

Static Public Member Functions

static Data init (double D0, double DMAX, double R0)
 

Public Attributes

int a =0
 
int b =0
 
double beta = 50.0
 
double c =0.0
 
double d =0.0
 
double d0 =0.0
 Minimum distance (before this, function is one)
 
double dmax =0.0
 Maximum distance (after this, function is zero)
 
double dmax_2 =0.0
 Square of dmax, useful in calculateSqr()
 
double invr0 =0.0
 We store the inverse to avoid a division.
 
double invr0_2 =0.0
 Square of invr0, useful in calculateSqr()
 
double lambda = 1.8
 
int mm =12
 
int mmf =6
 
int nn =6
 
int nnf =3
 
double preDfunc =0.0
 
double preDfuncF =0.0
 
double preRes =0.0
 
double preSecDev =0.0
 
double preSecDevF =0.0
 
double ref =0.0
 
double shift =0.0
 
double stretch =1.0
 Parameters for stretching the function to zero at d_max.
 

Member Function Documentation

◆ init()

Data PLMD::switchContainers::Data::init ( double D0,
double DMAX,
double R0 )
static

◆ removeFromACCDevice()

void PLMD::switchContainers::Data::removeFromACCDevice ( ) const

◆ toACCDevice()

void PLMD::switchContainers::Data::toACCDevice ( ) const

Member Data Documentation

◆ a

int PLMD::switchContainers::Data::a =0

◆ b

int PLMD::switchContainers::Data::b =0

◆ beta

double PLMD::switchContainers::Data::beta = 50.0

◆ c

double PLMD::switchContainers::Data::c =0.0

◆ d

double PLMD::switchContainers::Data::d =0.0

◆ d0

double PLMD::switchContainers::Data::d0 =0.0

Minimum distance (before this, function is one)

◆ dmax

double PLMD::switchContainers::Data::dmax =0.0

Maximum distance (after this, function is zero)

◆ dmax_2

double PLMD::switchContainers::Data::dmax_2 =0.0

Square of dmax, useful in calculateSqr()

◆ invr0

double PLMD::switchContainers::Data::invr0 =0.0

We store the inverse to avoid a division.

◆ invr0_2

double PLMD::switchContainers::Data::invr0_2 =0.0

Square of invr0, useful in calculateSqr()

◆ lambda

double PLMD::switchContainers::Data::lambda = 1.8

◆ mm

int PLMD::switchContainers::Data::mm =12

◆ mmf

int PLMD::switchContainers::Data::mmf =6

◆ nn

int PLMD::switchContainers::Data::nn =6

◆ nnf

int PLMD::switchContainers::Data::nnf =3

◆ preDfunc

double PLMD::switchContainers::Data::preDfunc =0.0

◆ preDfuncF

double PLMD::switchContainers::Data::preDfuncF =0.0

◆ preRes

double PLMD::switchContainers::Data::preRes =0.0

◆ preSecDev

double PLMD::switchContainers::Data::preSecDev =0.0

◆ preSecDevF

double PLMD::switchContainers::Data::preSecDevF =0.0

◆ ref

double PLMD::switchContainers::Data::ref =0.0

◆ shift

double PLMD::switchContainers::Data::shift =0.0

◆ stretch

double PLMD::switchContainers::Data::stretch =1.0

Parameters for stretching the function to zero at d_max.


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