The ChainCon Software (Release 0.03)
Classes | Functions
wrapping.h File Reference

Tools for coordinate wrapping, a.k.a. More...

#include <vector>
#include <string>
#include <istream>
#include <sstream>

Go to the source code of this file.

Classes

class  NoWrapping< CoordT >
 A simple class for wrapping cubical cell coordinstes, which does not wrap anything. More...
 
class  SettableWrapping< CoordT >
 A simple class for wrapping cubical cell coordinstes, using the one defined in the CHomP package. More...
 

Functions

template<class WrapT >
void setWrapping (const std::string &s)
 Sets wrapping based on a text with comma-separated numbers. More...
 

Detailed Description

Tools for coordinate wrapping, a.k.a.

periodic boundary conditions.

Definition in file wrapping.h.

Function Documentation

◆ setWrapping()

template<class WrapT >
void setWrapping ( const std::string &  s)
inline

Sets wrapping based on a text with comma-separated numbers.

The dimension in which the wrapping is set is determined automatically as the number of the provided numbers. All the numbers must be non-negative.

Definition at line 194 of file wrapping.h.