NAMD
Public Member Functions | Public Attributes | List of all members
msm::FoldFactor Struct Reference

#include <MsmMap.h>

Public Member Functions

 FoldFactor ()
 
 FoldFactor (int i, int j, int k)
 
void set (int i, int j, int k)
 

Public Attributes

int active
 
Ivec numrep
 

Detailed Description

Definition at line 851 of file MsmMap.h.

Constructor & Destructor Documentation

◆ FoldFactor() [1/2]

msm::FoldFactor::FoldFactor ( )
inline

Definition at line 854 of file MsmMap.h.

854 : active(0), numrep(1) { }

◆ FoldFactor() [2/2]

msm::FoldFactor::FoldFactor ( int  i,
int  j,
int  k 
)
inline

Definition at line 855 of file MsmMap.h.

855 { set(i,j,k); }

Member Function Documentation

◆ set()

void msm::FoldFactor::set ( int  i,
int  j,
int  k 
)
inline

Definition at line 856 of file MsmMap.h.

References active, and numrep.

856  {
857  if (i <= 0) i = 1;
858  if (j <= 0) j = 1;
859  if (k <= 0) k = 1;
860  if (i > 1 || j > 1 || k > 1) active = 1;
861  numrep = Ivec(i, j, k);
862  }

Member Data Documentation

◆ active

int msm::FoldFactor::active

Definition at line 852 of file MsmMap.h.

Referenced by set().

◆ numrep

Ivec msm::FoldFactor::numrep

Definition at line 853 of file MsmMap.h.

Referenced by set().


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