Loading...
Searching...
No Matches
PLMD::ParActionsInput< precision > Struct Template Reference

#include <ParallelTaskManager.h>

Public Member Functions

void removeFromACCDevice () const
 
void setupArguments (const ArgumentsBookkeeping &ab)
 Setup the arguments.
 
unsigned sizeOfFakeVals () const
 
void toACCDevice () const
 

Static Public Member Functions

static ParActionsInput create (const Pbc &box)
 

Public Attributes

const std::size_t * argstarts {nullptr}
 
std::size_t argstarts_size {0}
 
const std::size_t * bookeeping {nullptr}
 
std::size_t bookeeping_size {0}
 
const std::size_t * booksizes {nullptr}
 
std::size_t booksizes_size {0}
 
const std::size_t * bookstarts {nullptr}
 
std::size_t bookstarts_size {0}
 
unsigned dataSize {0}
 This holds all the input data that is required to calculate all values for all tasks.
 
precision * inputdata {nullptr}
 
std::size_t nargs {0}
 Bookeeping stuff for arguments.
 
const std::size_t * ncols {nullptr}
 
std::size_t ncols_size {0}
 
std::size_t ncomponents {0}
 The number of components the underlying action is computing.
 
std::size_t nderivatives_per_scalar {0}
 Number of derivatives for each scalar being calculated.
 
unsigned nforcescalars {0}
 The number of force scalars for each task.
 
bool noderiv {false}
 Do we need to calculate the derivatives.
 
unsigned nscalars {0}
 The number of scalars we are calculating for each task.
 
const Pbcpbc
 Periodic boundary conditions.
 
const std::size_t * ranks {nullptr}
 
std::size_t ranks_size {0}
 
const std::size_t * shapedata {nullptr}
 
std::size_t shapedata_size {0}
 
const std::size_t * shapestarts {nullptr}
 
std::size_t shapestarts_size {0}
 
unsigned threadunsafe_forces_start {0}
 The start of the thread unsafe forces.
 

Member Function Documentation

◆ create()

template<typename precision>
static ParActionsInput PLMD::ParActionsInput< precision >::create ( const Pbc & box)
inlinestatic

◆ removeFromACCDevice()

template<typename precision>
void PLMD::ParActionsInput< precision >::removeFromACCDevice ( ) const
inline

◆ setupArguments()

template<typename precision>
void PLMD::ParActionsInput< precision >::setupArguments ( const ArgumentsBookkeeping & ab)
inline

Setup the arguments.

◆ sizeOfFakeVals()

template<typename precision>
unsigned PLMD::ParActionsInput< precision >::sizeOfFakeVals ( ) const
inline

◆ toACCDevice()

template<typename precision>
void PLMD::ParActionsInput< precision >::toACCDevice ( ) const
inline

Member Data Documentation

◆ argstarts

template<typename precision>
const std::size_t* PLMD::ParActionsInput< precision >::argstarts {nullptr}

◆ argstarts_size

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::argstarts_size {0}

◆ bookeeping

template<typename precision>
const std::size_t* PLMD::ParActionsInput< precision >::bookeeping {nullptr}

◆ bookeeping_size

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::bookeeping_size {0}

◆ booksizes

template<typename precision>
const std::size_t* PLMD::ParActionsInput< precision >::booksizes {nullptr}

◆ booksizes_size

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::booksizes_size {0}

◆ bookstarts

template<typename precision>
const std::size_t* PLMD::ParActionsInput< precision >::bookstarts {nullptr}

◆ bookstarts_size

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::bookstarts_size {0}

◆ dataSize

template<typename precision>
unsigned PLMD::ParActionsInput< precision >::dataSize {0}

This holds all the input data that is required to calculate all values for all tasks.

◆ inputdata

template<typename precision>
precision* PLMD::ParActionsInput< precision >::inputdata {nullptr}

◆ nargs

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::nargs {0}

Bookeeping stuff for arguments.

◆ ncols

template<typename precision>
const std::size_t* PLMD::ParActionsInput< precision >::ncols {nullptr}

◆ ncols_size

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::ncols_size {0}

◆ ncomponents

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::ncomponents {0}

The number of components the underlying action is computing.

◆ nderivatives_per_scalar

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::nderivatives_per_scalar {0}

Number of derivatives for each scalar being calculated.

◆ nforcescalars

template<typename precision>
unsigned PLMD::ParActionsInput< precision >::nforcescalars {0}

The number of force scalars for each task.

◆ noderiv

template<typename precision>
bool PLMD::ParActionsInput< precision >::noderiv {false}

Do we need to calculate the derivatives.

◆ nscalars

template<typename precision>
unsigned PLMD::ParActionsInput< precision >::nscalars {0}

The number of scalars we are calculating for each task.

◆ pbc

template<typename precision>
const Pbc* PLMD::ParActionsInput< precision >::pbc

Periodic boundary conditions.

◆ ranks

template<typename precision>
const std::size_t* PLMD::ParActionsInput< precision >::ranks {nullptr}

◆ ranks_size

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::ranks_size {0}

◆ shapedata

template<typename precision>
const std::size_t* PLMD::ParActionsInput< precision >::shapedata {nullptr}

◆ shapedata_size

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::shapedata_size {0}

◆ shapestarts

template<typename precision>
const std::size_t* PLMD::ParActionsInput< precision >::shapestarts {nullptr}

◆ shapestarts_size

template<typename precision>
std::size_t PLMD::ParActionsInput< precision >::shapestarts_size {0}

◆ threadunsafe_forces_start

template<typename precision>
unsigned PLMD::ParActionsInput< precision >::threadunsafe_forces_start {0}

The start of the thread unsafe forces.


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