Skip to content

Commit

Permalink
Merge branch 'Release-2.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bondoki committed Jul 2, 2021
2 parents b8a18d8 + 066499f commit 7523a6b
Show file tree
Hide file tree
Showing 32 changed files with 2,667 additions and 397 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* only documentation of principal version changes in CHANGELOG

LeMonADE 1.0
* bare copy of LeMonADE library from ITP (Leibniz-Institute for Polymer Research IPF) with basic functinonalities
* bare copy of LeMonADE library from ITP (Leibniz-Institute of Polymer Research Dresden IPF) with basic functionalities

LeMonADE 2.0
* adding abstract system setup Updater: UpdaterAbstractCreate
Expand All @@ -25,3 +25,7 @@ LeMonADE 2.2
* add analyzers for the calculation of the mean-square displacement
* add various features and moves to enable reactive and reversible bonds

LeMonADE 2.2.2
* HotFix for default R250 values
* ColdFix for implementation of RNG Mersenne Twister
* ColdFix for ResultFormattingTools
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ CMAKE_MINIMUM_REQUIRED (VERSION 2.6.2)
PROJECT (LeMonADE)
SET (APPLICATION_NAME "LeMonADE")
SET (APPLICATION_CODENAME "${PROJECT_NAME}")
SET (APPLICATION_COPYRIGHT_YEARS "2013-2020")
SET (APPLICATION_COPYRIGHT_YEARS "2013-2021")
SET (APPLICATION_VERSION_MAJOR "2")
SET (APPLICATION_VERSION_MINOR "2")
SET (APPLICATION_VERSION_PATCH "1")
SET (APPLICATION_VERSION_PATCH "2")


#
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ Find the information about active developers, former contributors, and people wh
## References

This library has been used in the following publications (without guarantee for completeness)
* *"Multimolecular Structure Formation with Linear Dendritic Copolymers"*; M. Wengenmayr, R. Dockhorn, J.-U. Sommer; [Macromolecules XX, XXXX-XXXX (2021)](https://doi.org/10.1021/acs.macromol.1c00226)
* *"Analysis of the Gel Point of Polymer Model Networks by Computer Simulations"*; M. Lang, T. Müller; [Macromolecules 53, 498-512 (2020)](https://doi.org/10.1021/acs.macromol.9b02217)
* *"Polyolefins Formed by Chain Walking Catalysis—A Matter of Branching Density Only?"*; R. Dockhorn, L. Plüschke, M. Geisler, J. Zessin, P. Lindner, R. Mundil, J. Merna, J.-U. Sommer, A. Lederer; [J. Am. Chem. Soc. 141, 15586–15596 (2019)](https://pubs.acs.org/doi/10.1021/jacs.9b06785)
* *"Tendomers – force sensitive bis-rotaxanes with jump-like deformation behavior"*; T. Müller, J.-U. Sommer, M. Lang; [Soft Matter, 15, 3671-3679 (2019)](https://doi.org/10.1039/C9SM00292H)
* *"Dendrimers in Solution of Linear Polymers: Crowding Effects"*; M. Wengenmayr, R. Dockhorn, J.-U. Sommer; [Macromolecules 52, 2616–2626 (2019)](https://doi.org/10.1021/acs.macromol.9b00010)
Expand Down
6 changes: 3 additions & 3 deletions include/LeMonADE/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ along with LeMonADE. If not, see <http://www.gnu.org/licenses/>.

#define APPLICATION_NAME "LeMonADE"
#define APPLICATION_CODENAME "LeMonADE"
#define APPLICATION_COPYRIGHT_YEARS "2013-2020"
#define APPLICATION_COPYRIGHT_YEARS "2013-2021"
#define APPLICATION_VERSION_MAJOR 2
#define APPLICATION_VERSION_MINOR 2
#define APPLICATION_VERSION_PATCH 1
#define APPLICATION_VERSION_PATCH 2
#define APPLICATION_VERSION_TYPE "Release"
#define APPLICATION_VERSION_STRING "2.2.1-(C)2013-2020-Release"
#define APPLICATION_VERSION_STRING "2.2.2-(C)2013-2021-Release"
#define APPLICATION_ID "LeMonADE.LeMonADE"

#ifndef APPLICATION_VERSION_MAJOR
Expand Down
10 changes: 6 additions & 4 deletions include/LeMonADE/analyzer/AnalyzerAbstractDump.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#include <LeMonADE/analyzer/AbstractAnalyzer.h>
#include <LeMonADE/utility/Vector3D.h>
#include <LeMonADE/utility/ResultFormattingTools.h>
#include <LeMonADE/utility/MonomerGroup.h>
#include <LeMonADE/utility/DistanceCalculation.h>

/*************************************************************************
* definition of AnalyzerAbstractDump class
Expand Down Expand Up @@ -98,8 +96,12 @@ template < class IngredientsType , class T > class AnalyzerAbstractDump : public
uint32_t getNumberOfColumns(){ return NColumns; }
//! set the buffer size for dumping data
void setBufferSize(uint32_t bufferSize_){ bufferSize=bufferSize_;}
//! get the buffer size
uint32_t getBufferSize(){return bufferSize;}
//! get the buffer size
uint32_t getBufferSize(){return bufferSize;}
//! get the variable isFirstFileDump
bool getIsFirstFileDump() const { return isFirstFileDump; }
//! reset the variable isFirstFileDump to false (could be used if the filename changes in between data dumpings)
void resetIsFirstFileDump() {isFirstFileDump=true;}
};

/*************************************************************************
Expand Down
5 changes: 5 additions & 0 deletions include/LeMonADE/analyzer/AnalyzerWriteBfmFile.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ class AnalyzerWriteBfmFile: public AbstractAnalyzer
*
**/
virtual void cleanup(){};
protected:

//! set the name of the file for output which only works for the overwrite case
void setFilename(std::string filename){_filename=filename;}

private:
//! Write Writes that only need to be in the header
void writeHeader();
Expand Down
2 changes: 1 addition & 1 deletion include/LeMonADE/core/Molecules.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ template < class Vertex, uint max_connectivity = 7, class Edge = int > class Mol
*
* @return The actual time in the graph.
*/
const uint64_t getAge() const {return myAge;}
uint64_t getAge() const {return myAge;}


/**
Expand Down
20 changes: 9 additions & 11 deletions include/LeMonADE/feature/FeatureBondset.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,17 +223,15 @@ class FeatureBondset : public Feature
template<class IngredientsType,class MoveLabelType>
bool checkMove(const IngredientsType& ingredients, const MoveLabelBase<MoveLabelType>& move) const
{

//get the number of bond partners of the particle to be moved
int32_t MonID=move.getIndex()+move.getDir();
if ( MonID == -1 ) return false;
uint32_t ID=move.getConnectedLabel();
const typename IngredientsType::molecules_type& molecules=ingredients.getMolecules();
if (ID == 0 ) return true;
ID--;
auto bond(molecules[MonID].getVector3D()-molecules[ID].getVector3D());
if (!bondset.isValidStrongCheck( bond ) ) return false;
if ( bond.getLength()>3.) return false; // otherwise I could get xtraps
//get the number of bond partners of the particle to be moved
int32_t MonID=move.getIndex()+move.getDir();
if ( MonID == -1 ) return false;
uint32_t ID=move.getConnectedLabel();
const typename IngredientsType::molecules_type& molecules=ingredients.getMolecules();
if (ID == 0 ) return true;
ID--;
auto bond(molecules[MonID].getVector3D()-molecules[ID].getVector3D());
if (!bondset.isValidStrongCheck( bond ) ) return false;
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion include/LeMonADE/feature/FeatureLabel.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class MonomerLabel
MonomerLabel():label(0){}

//! is labeled
const uint32_t getLabel() const {return label;}
uint32_t getLabel() const {return label;}
//! set label on/off
void setLabel(uint32_t label_){ label=label_;}

Expand Down
Loading

0 comments on commit 7523a6b

Please sign in to comment.