ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Member Functions | List of all members
Midpoint Class Reference

#include <Midpoint.h>

Inheritance diagram for Midpoint:
ZonalMethod

Public Member Functions

virtual std::vector< HaloRegiongetHaloImportForceExportRegions (HaloRegion &initialRegion, double cutoffRadius, bool coversWholeDomain[3], double cellLength[3]) override
 
virtual std::vector< HaloRegiongetHaloExportForceImportRegions (HaloRegion &initialRegion, double cutoffRadius, bool coversWholeDomain[3], double cellLength[3]) override
 
- Public Member Functions inherited from ZonalMethod
virtual std::vector< HaloRegiongetLeavingExportRegions (HaloRegion &initialRegion, double cutoffRadius, bool coversWholeDomain[3])
 
virtual std::vector< HaloRegiongetLeavingExportRegions (HaloRegion &initialRegion, double cutoffRadius[3], bool coversWholeDomain[3])
 

Additional Inherited Members

- Protected Member Functions inherited from ZonalMethod
std::vector< HaloRegiongetHaloRegionsConditional (HaloRegion &initialRegion, double cutoffRadius, bool coversWholeDomain[3], const std::function< bool(const int[3])> &condition)
 
std::vector< HaloRegiongetHaloRegionsConditional (HaloRegion &initialRegion, const double cutoffRadius[3], bool coversWholeDomain[3], const std::function< bool(const int[3])> &condition)
 
std::vector< HaloRegiongetHaloRegionsConditionalInside (HaloRegion &initialRegion, double cutoffRadius, bool coversWholeDomain[3], const std::function< bool(const int[3])> &condition)
 
std::vector< HaloRegiongetHaloRegionsConditionalInside (HaloRegion &initialRegion, const double cutoffRadius[3], bool coversWholeDomain[3], const std::function< bool(const int[3])> &condition)
 

Detailed Description

This class implements the Midpoint method. Using the Midpoint method the haloRegion is of size r_c/2. Otherwise the halos are identical to the FullShell method. The Midpoint method requires forces to be exchanged.

Member Function Documentation

◆ getHaloExportForceImportRegions()

virtual std::vector<HaloRegion> Midpoint::getHaloExportForceImportRegions ( HaloRegion initialRegion,
double  cutoffRadius,
bool  coversWholeDomain[3],
double  cellLength[3] 
)
inlineoverridevirtual

Returns up to 26 halo Regions of the process. If a process is spanning a whole dimension, then fewer regions can be returned. The regions indicate, where the processes lie that require halo copies from the current process.

Parameters
initialRegionboundary of the current process
cutoffRadius
Returns
vector of regions

Implements ZonalMethod.

◆ getHaloImportForceExportRegions()

virtual std::vector<HaloRegion> Midpoint::getHaloImportForceExportRegions ( HaloRegion initialRegion,
double  cutoffRadius,
bool  coversWholeDomain[3],
double  cellLength[3] 
)
inlineoverridevirtual

Returns up to 26 halo Regions of the process. If a process is spanning a whole dimension, then fewer regions can be returned. The regions indicate, where the processes lie that require halo copies from the current process.

Parameters
initialRegionboundary of the current process
cutoffRadius
Returns
vector of regions

Implements ZonalMethod.


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