Click here to Skip to main content
15,911,848 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: datetime.tryparse("datetime in dd/MM/yyyy format",datetimeobject) returns false for dd/mm/yyyy Pin
Pete O'Hanlon13-Sep-11 2:01
mvePete O'Hanlon13-Sep-11 2:01 
GeneralRe: datetime.tryparse("datetime in dd/MM/yyyy format",datetimeobject) returns false for dd/mm/yyyy Pin
PIEBALDconsult13-Sep-11 15:45
mvePIEBALDconsult13-Sep-11 15:45 
GeneralRe: datetime.tryparse("datetime in dd/MM/yyyy format",datetimeobject) returns false for dd/mm/yyyy Pin
DaveyM6913-Sep-11 23:33
professionalDaveyM6913-Sep-11 23:33 
GeneralRe: datetime.tryparse("datetime in dd/MM/yyyy format",datetimeobject) returns false for dd/mm/yyyy Pin
jschell13-Sep-11 11:26
jschell13-Sep-11 11:26 
QuestionInstalling VSS for VS 2008 Pin
sarang_k11-Sep-11 22:47
sarang_k11-Sep-11 22:47 
AnswerRe: Installing VSS for VS 2008 Pin
Richard MacCutchan11-Sep-11 22:51
mveRichard MacCutchan11-Sep-11 22:51 
AnswerRe: Installing VSS for VS 2008 Pin
TheGreatAndPowerfulOz12-Sep-11 12:38
TheGreatAndPowerfulOz12-Sep-11 12:38 
GeneralRe: Installing VSS for VS 2008 Pin
PIEBALDconsult13-Sep-11 15:50
mvePIEBALDconsult13-Sep-11 15:50 
Questionsource code Pin
vishnumoorthy10-Sep-11 1:36
vishnumoorthy10-Sep-11 1:36 
AnswerRe: source code Pin
Richard MacCutchan10-Sep-11 2:36
mveRichard MacCutchan10-Sep-11 2:36 
QuestionRe: source code Pin
Eddy Vluggen10-Sep-11 13:02
professionalEddy Vluggen10-Sep-11 13:02 
Questionproject source code Pin
vishnumoorthy10-Sep-11 1:03
vishnumoorthy10-Sep-11 1:03 
AnswerRe: project source code Pin
Richard MacCutchan10-Sep-11 1:16
mveRichard MacCutchan10-Sep-11 1:16 
GeneralSanskrit Keyboard Pin
Sesharaman9-Sep-11 21:31
Sesharaman9-Sep-11 21:31 
GeneralRe: Sanskrit Keyboard Pin
Richard MacCutchan9-Sep-11 23:00
mveRichard MacCutchan9-Sep-11 23:00 
GeneralRe: Sanskrit Keyboard Pin
Sesharaman9-Sep-11 23:44
Sesharaman9-Sep-11 23:44 
QuestionCould not load file or assembly 'Microsoft.Practices.CompositeUI, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Pin
swjam9-Sep-11 3:17
swjam9-Sep-11 3:17 
AnswerRe: Could not load file or assembly 'Microsoft.Practices.CompositeUI, Version=1.0.51205.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Pin
jschell9-Sep-11 6:58
jschell9-Sep-11 6:58 
QuestionSide-by-side installation of .Net frameworks on Citrix Metaframe servers Pin
Dylan Morley8-Sep-11 22:40
Dylan Morley8-Sep-11 22:40 
AnswerRe: Side-by-side installation of .Net frameworks on Citrix Metaframe servers Pin
Matt U.9-Sep-11 8:01
Matt U.9-Sep-11 8:01 
AnswerRe: Side-by-side installation of .Net frameworks on Citrix Metaframe servers Pin
jschell10-Sep-11 7:53
jschell10-Sep-11 7:53 
GeneralRe: Side-by-side installation of .Net frameworks on Citrix Metaframe servers Pin
Dylan Morley11-Sep-11 21:46
Dylan Morley11-Sep-11 21:46 
QuestionCreate multiple instances of class for multi-threading Pin
HentoDeluxe8-Sep-11 11:40
HentoDeluxe8-Sep-11 11:40 
AnswerRe: Create multiple instances of class for multi-threading Pin
MicroVirus8-Sep-11 12:54
MicroVirus8-Sep-11 12:54 
GeneralRe: Create multiple instances of class for multi-threading Pin
HentoDeluxe9-Sep-11 5:17
HentoDeluxe9-Sep-11 5:17 
Thanks for the comments,

I just want to clarify somethings:

* Each run of myMechModel.Calculate() takes about 2 seconds
* I need to run parameter sweeps (mass going from 100-200 in 4 steps, stiffness going from 100-200 in 4 steps etc).
* If I run it all on a single instance of myMechModel on a single thread, I'm talking 10+ seconds.

I think the main problem I have is to figure out how many instances to create, because the number of simulations might vary quite a bit. Should I see how many threads the computer runs, create that many instances and manually setup all the runs on the different threads.

I'd much rather use something more automated/efficient such as the Task Parallel Library, is there anything I could do to use that?

Final questions, I've read about IClonable, is that the way to go to create instances of myMechModel?

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.