NAMD
|
#include "charm++.h"
#include "NamdTypes.h"
#include "Patch.h"
#include "PatchMap.h"
#include "MigrateAtomsMsg.h"
#include "main.h"
#include "common.h"
#include "Migration.h"
#include "Settle.h"
#include <string>
#include <map>
Go to the source code of this file.
Classes | |
class | HomePatch |
struct | HomePatch::RattleList |
struct | HomePatch::checkpoint_t |
Macros | |
#define | TIMER_INIT(T, TYPE) do { } while(0) |
#define | TIMER_INIT_WIDTH(T, TYPE, WIDTH) do{ } while(0) |
#define | TIMER_START(T, TYPE) do { } while(0) |
#define | TIMER_STOP(T, TYPE) do { } while(0) |
#define | TIMER_DONE(T) do { } while(0) |
#define | TIMER_REPORT(T) do { } while(0) |
Enumerations | |
enum | { MAXFACTOR = 32 } |
Functions | |
void | PatchDataSOA_initialize (PatchDataSOA *p) |
size_t | PatchDataSOA_set_size (PatchDataSOA *p, int natoms, int pad=MAXFACTOR) |
void | PatchDataSOA_set_buffer (PatchDataSOA *p, void *mybuffer) |
#define TIMER_DONE | ( | T | ) | do { } while(0) |
Definition at line 266 of file HomePatch.h.
Referenced by Sequencer::integrate(), and Sequencer::integrate_SOA().
#define TIMER_INIT | ( | T, | |
TYPE | |||
) | do { } while(0) |
Definition at line 262 of file HomePatch.h.
#define TIMER_INIT_WIDTH | ( | T, | |
TYPE, | |||
WIDTH | |||
) | do{ } while(0) |
Definition at line 263 of file HomePatch.h.
Referenced by Sequencer::integrate(), and Sequencer::integrate_SOA().
#define TIMER_REPORT | ( | T | ) | do { } while(0) |
Definition at line 267 of file HomePatch.h.
Referenced by Sequencer::integrate(), and Sequencer::integrate_SOA().
#define TIMER_START | ( | T, | |
TYPE | |||
) | do { } while(0) |
Definition at line 264 of file HomePatch.h.
Referenced by Sequencer::integrate(), Sequencer::integrate_SOA(), Sequencer::langevinPiston(), Sequencer::langevinPiston_SOA(), Sequencer::langevinVelocitiesBBK2(), and Sequencer::langevinVelocitiesBBK2_SOA().
#define TIMER_STOP | ( | T, | |
TYPE | |||
) | do { } while(0) |
Definition at line 265 of file HomePatch.h.
Referenced by Sequencer::integrate(), Sequencer::integrate_SOA(), Sequencer::langevinPiston(), Sequencer::langevinPiston_SOA(), Sequencer::langevinVelocitiesBBK2(), and Sequencer::langevinVelocitiesBBK2_SOA().
anonymous enum |
Enumerator | |
---|---|
MAXFACTOR | pad length of arrays up to this next multiple |
Definition at line 295 of file HomePatch.h.
void PatchDataSOA_initialize | ( | PatchDataSOA * | p | ) |
Initialize fundamental parts of PatchDataSOA.
Definition at line 2366 of file HomePatch.C.
References PatchDataSOA::buffer, PatchDataSOA::maxAtoms, PatchDataSOA::numAtoms, and PatchDataSOA::numBytes.
void PatchDataSOA_set_buffer | ( | PatchDataSOA * | p, |
void * | mybuffer | ||
) |
Caller provides the buffer space to be used. Set all pointers relative to this provided address, pointing into the buffer space.
Definition at line 2393 of file HomePatch.C.
References PatchDataSOA::atomFixed, PatchDataSOA::buffer, PatchDataSOA::charge, PatchDataSOA::exclId, PatchDataSOA::f_global_x, PatchDataSOA::f_global_y, PatchDataSOA::f_global_z, PatchDataSOA::f_nbond_x, PatchDataSOA::f_nbond_y, PatchDataSOA::f_nbond_z, PatchDataSOA::f_normal_x, PatchDataSOA::f_normal_y, PatchDataSOA::f_normal_z, PatchDataSOA::f_saved_nbond_x, PatchDataSOA::f_saved_nbond_y, PatchDataSOA::f_saved_nbond_z, PatchDataSOA::f_saved_slow_x, PatchDataSOA::f_saved_slow_y, PatchDataSOA::f_saved_slow_z, PatchDataSOA::f_slow_x, PatchDataSOA::f_slow_y, PatchDataSOA::f_slow_z, PatchDataSOA::fixedPosition_x, PatchDataSOA::fixedPosition_y, PatchDataSOA::fixedPosition_z, PatchDataSOA::gaussrand_x, PatchDataSOA::gaussrand_y, PatchDataSOA::gaussrand_z, PatchDataSOA::groupFixed, PatchDataSOA::hydrogenGroupSize, PatchDataSOA::id, PatchDataSOA::isWater, PatchDataSOA::langevinParam, PatchDataSOA::langScalRandBBK2, PatchDataSOA::langScalVelBBK2, PatchDataSOA::mass, PatchDataSOA::maxAtoms, PatchDataSOA::migrationGroupSize, PatchDataSOA::nonbondedGroupSize, Node::Object(), PatchDataSOA::partition, PatchDataSOA::pos_x, PatchDataSOA::pos_y, PatchDataSOA::pos_z, PatchDataSOA::posNew_x, PatchDataSOA::posNew_y, PatchDataSOA::posNew_z, PatchDataSOA::recipMass, PatchDataSOA::rigidBondLength, PatchDataSOA::sigId, Node::simParameters, simParams, PatchDataSOA::sortOrder, PatchDataSOA::status, PatchDataSOA::transform_i, PatchDataSOA::transform_j, PatchDataSOA::transform_k, PatchDataSOA::unsortOrder, PatchDataSOA::vdwType, PatchDataSOA::vel_x, PatchDataSOA::vel_y, PatchDataSOA::vel_z, PatchDataSOA::velNew_x, PatchDataSOA::velNew_y, and PatchDataSOA::velNew_z.
size_t PatchDataSOA_set_size | ( | PatchDataSOA * | p, |
int | natoms, | ||
int | pad = MAXFACTOR |
||
) |
Set sizes based on number of atoms and padding factor. Sets internally numAtoms, maxAtoms, and numBytes. Returns numBytes.
Definition at line 2373 of file HomePatch.C.
References PatchDataSOA::maxAtoms, PatchDataSOA::numAtoms, PatchDataSOA::numBytes, Node::Object(), Node::simParameters, and simParams.