Click here to Skip to main content
15,914,447 members
Home / Discussions / C#
   

C#

 
GeneralRe: Optimizing Fibonacci Calculation Pin
PIEBALDconsult20-Apr-13 6:31
mvePIEBALDconsult20-Apr-13 6:31 
GeneralRe: Optimizing Fibonacci Calculation Pin
harold aptroot20-Apr-13 6:41
harold aptroot20-Apr-13 6:41 
GeneralRe: Optimizing Fibonacci Calculation Pin
PIEBALDconsult20-Apr-13 9:36
mvePIEBALDconsult20-Apr-13 9:36 
GeneralRe: Optimizing Fibonacci Calculation Pin
harold aptroot20-Apr-13 9:58
harold aptroot20-Apr-13 9:58 
GeneralRe: Optimizing Fibonacci Calculation Pin
PIEBALDconsult20-Apr-13 10:22
mvePIEBALDconsult20-Apr-13 10:22 
GeneralRe: Optimizing Fibonacci Calculation Pin
Kenneth Haugland18-Apr-13 4:55
mvaKenneth Haugland18-Apr-13 4:55 
GeneralRe: Optimizing Fibonacci Calculation Pin
Richard Deeming18-Apr-13 5:09
mveRichard Deeming18-Apr-13 5:09 
AnswerRe: Optimizing Fibonacci Calculation Pin
Clifford Nelson18-Apr-13 5:15
Clifford Nelson18-Apr-13 5:15 
QuestionRe: Optimizing Fibonacci Calculation Pin
Kenneth Haugland18-Apr-13 6:29
mvaKenneth Haugland18-Apr-13 6:29 
AnswerRe: Optimizing Fibonacci Calculation Pin
harold aptroot18-Apr-13 6:39
harold aptroot18-Apr-13 6:39 
GeneralRe: Optimizing Fibonacci Calculation Pin
harold aptroot18-Apr-13 6:55
harold aptroot18-Apr-13 6:55 
GeneralRe: Optimizing Fibonacci Calculation Pin
Max Holder18-Apr-13 21:21
professionalMax Holder18-Apr-13 21:21 
GeneralRe: Optimizing Fibonacci Calculation Pin
PIEBALDconsult20-Apr-13 12:26
mvePIEBALDconsult20-Apr-13 12:26 
GeneralRe: Optimizing Fibonacci Calculation Pin
PIEBALDconsult20-Apr-13 6:24
mvePIEBALDconsult20-Apr-13 6:24 
QuestionC# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 0:20
Jacob Barton17-Apr-13 0:20 
AnswerRe: C# Program Structure and File Type Advice Pin
dusty_dex17-Apr-13 0:44
dusty_dex17-Apr-13 0:44 
AnswerRe: C# Program Structure and File Type Advice Pin
Mycroft Holmes17-Apr-13 0:50
professionalMycroft Holmes17-Apr-13 0:50 
GeneralRe: C# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 1:35
Jacob Barton17-Apr-13 1:35 
GeneralRe: C# Program Structure and File Type Advice Pin
Mycroft Holmes17-Apr-13 3:29
professionalMycroft Holmes17-Apr-13 3:29 
AnswerRe: C# Program Structure and File Type Advice Pin
Pete O'Hanlon17-Apr-13 1:55
mvePete O'Hanlon17-Apr-13 1:55 
GeneralRe: C# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 2:23
Jacob Barton17-Apr-13 2:23 
GeneralRe: C# Program Structure and File Type Advice Pin
Pete O'Hanlon17-Apr-13 2:26
mvePete O'Hanlon17-Apr-13 2:26 
AnswerRe: C# Program Structure and File Type Advice Pin
Orjan Westin17-Apr-13 2:34
professionalOrjan Westin17-Apr-13 2:34 
Your first task is to define exactly what you want to store, and how the data is used. For instance (haven't done any structural engineering calculations since college mumble years ago, so this is uninformed):

  • Can nodes be re-used (ie serve as end points for multiple beams)?

    • Should join strength be a variable or ideal?
    • Is there a common joint, or are one connected to side of other?
  • Can you have multiple load vectors on each beam?
  • What types of load do you want to model (of the five classic)?
  • Do you want to distinguish between, for want of a better term, primary (entered by user) and secondary (calculated and distributed over the structure) loads?

The answers to these and similar questions should help you model the application and storage. Always start with function, and let form (e.g. GUI and storage model) follow.

For instance, I'd probably keep nodes, members and primary and secondary loads separate in a relational database, and let the loads have a relationship to a member, which has a relationship to two nodes. So that's four tables of data to start you with.

Oh, and I'd recommend using a database even if the data amount isn't going to be massive. The benefit of having a proper relational structure outweighs the extra work needed to manage it.
GeneralRe: C# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 3:06
Jacob Barton17-Apr-13 3:06 
AnswerRe: C# Program Structure and File Type Advice Pin
Jasmine250117-Apr-13 5:58
Jasmine250117-Apr-13 5:58 

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.