Update of /cvsroot/pure-data/externals/nusmuk/msd2D In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25814/nusmuk/msd2D
Modified Files: main.cpp package.txt Log Message: generalized 1,2,3 dimensions into templates log(O(n)) search for symbols and indices many optimizations fixed memory leaks better error reporting dependent on flext 0.5.0
Index: package.txt =================================================================== RCS file: /cvsroot/pure-data/externals/nusmuk/msd2D/package.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** package.txt 12 Apr 2005 16:34:04 -0000 1.1 --- package.txt 2 May 2005 15:39:14 -0000 1.2 *************** *** 1,2 **** ! NAME=msd2D ! SRCS=main.cpp --- 1,4 ---- ! NAME=msd2D ! SRCS=main.cpp ! HDRS=../msd.h !
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/nusmuk/msd2D/main.cpp,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** main.cpp 2 May 2005 12:43:10 -0000 1.11 --- main.cpp 2 May 2005 15:39:13 -0000 1.12 *************** *** 1,1065 ****
! ! /* ! msd2D - mass spring damper model for Pure Data or Max/MSP ! ! Copyright (C) 2005 Nicolas Montgermont ! Written by Nicolas Montgermont for a Master's train in Acoustic, ! Signal processing and Computing Applied to Music (ATIAM, Paris 6) ! at La Kitchen supervised by Cyrille Henry. ! [...1039 lines suppressed...] ! const t_symbol *msd2D::S_linksPos = MakeSymbol("linksPos"); ! const t_symbol *msd2D::S_linksPosNo = MakeSymbol("linksPosNo"); ! const t_symbol *msd2D::S_linksPosId = MakeSymbol("linksPosId"); ! const t_symbol *msd2D::S_massesForces = MakeSymbol("massesForces"); ! const t_symbol *msd2D::S_massesForcesNo = MakeSymbol("massesForcesNo"); ! const t_symbol *msd2D::S_massesForcesId = MakeSymbol("massesForcesId"); ! const t_symbol *msd2D::S_massesSpeeds = MakeSymbol("massesSpeeds"); ! const t_symbol *msd2D::S_massesSpeedsNo = MakeSymbol("massesSpeedsNo"); ! const t_symbol *msd2D::S_massesSpeedsId = MakeSymbol("massesSpeedsId"); ! const t_symbol *msd2D::S_massesPosL = MakeSymbol("massesPosL"); ! const t_symbol *msd2D::S_massesForcesL = MakeSymbol("massesForcesL"); ! ! // instantiate the class (constructor has a variable argument list) ! FLEXT_NEW_V("msd2D",msd2D) ! ! --- 1,3 ---- + #include "../msd.h"
! MSD("msd2D",msd2D,2)