The Conley-Morse Graphs Software
Classes | Functions
spacewrap.h File Reference

Helper functions and an auxiliary class for space wrapping. More...

#include "chomp/system/config.h"
#include "config.h"
#include "typedefs.h"

Go to the source code of this file.

Classes

class  localSpaceWrapping
 Sets space wrapping locally. More...
 

Functions

bool setSpaceWrapping (int width)
 Sets the appropriate space wrapping and returns true iff there is some non-trivial wrapping in any direction. More...
 
void unsetSpaceWrapping ()
 Unsets any space wrapping in the phase space. More...
 

Detailed Description

Helper functions and an auxiliary class for space wrapping.

Author
Pawel Pilarczyk

Definition in file spacewrap.h.

Function Documentation

◆ setSpaceWrapping()

bool setSpaceWrapping ( int  width)
inline

Sets the appropriate space wrapping and returns true iff there is some non-trivial wrapping in any direction.

Definition at line 48 of file spacewrap.h.

References custom::difference::spaceDim, and custom::difference::spaceWrapping.

◆ unsetSpaceWrapping()

void unsetSpaceWrapping ( )
inline

Unsets any space wrapping in the phase space.

Definition at line 71 of file spacewrap.h.

Referenced by localSpaceWrapping::~localSpaceWrapping().