Molecular Dynamics Simulation  1.0
Public Member Functions | Public Attributes | List of all members
SimulationParams::LinkedCellsType Struct Reference

Struct to specify the type of the particle container as LinkedCellsType (needs domain_size and cutoff_radius) More...

#include <SimulationParams.h>

Collaboration diagram for SimulationParams::LinkedCellsType:
Collaboration graph

Public Member Functions

 LinkedCellsType ()=delete
 
 LinkedCellsType (const std::array< double, 3 > &domain_size, double cutoff_radius, const std::array< LinkedCellsContainer::BoundaryCondition, 6 > &boundary_conditions)
 
 operator std::string () const
 

Public Attributes

std::array< double, 3 > domain_size
 
double cutoff_radius
 
std::array< LinkedCellsContainer::BoundaryCondition, 6 > boundary_conditions
 

Detailed Description

Struct to specify the type of the particle container as LinkedCellsType (needs domain_size and cutoff_radius)

Definition at line 34 of file SimulationParams.h.

Constructor & Destructor Documentation

◆ LinkedCellsType() [1/2]

SimulationParams::LinkedCellsType::LinkedCellsType ( )
delete

◆ LinkedCellsType() [2/2]

SimulationParams::LinkedCellsType::LinkedCellsType ( const std::array< double, 3 > &  domain_size,
double  cutoff_radius,
const std::array< LinkedCellsContainer::BoundaryCondition, 6 > &  boundary_conditions 
)
inline

Definition at line 40 of file SimulationParams.h.

Member Function Documentation

◆ operator std::string()

SimulationParams::LinkedCellsType::operator std::string ( ) const
inlineexplicit

Definition at line 44 of file SimulationParams.h.

44  {
45  return "LinkedCells ([" + std::to_string(domain_size[0]) + "x" + std::to_string(domain_size[1]) + "x" +
53  }
static std::string boundaryConditionToString(const BoundaryCondition &bc)
Returns a string description of a boundary condition.
std::string to_string(const Container &container, const std::string &delimiter=", ", const std::array< std::string, 2 > &surround={"[", "]"})
Definition: ArrayUtils.h:97

Member Data Documentation

◆ boundary_conditions

std::array<LinkedCellsContainer::BoundaryCondition, 6> SimulationParams::LinkedCellsType::boundary_conditions

Definition at line 37 of file SimulationParams.h.

◆ cutoff_radius

double SimulationParams::LinkedCellsType::cutoff_radius

Definition at line 36 of file SimulationParams.h.

◆ domain_size

std::array<double, 3> SimulationParams::LinkedCellsType::domain_size

Definition at line 35 of file SimulationParams.h.


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