Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: C# Program Structure and File Type Advice Pin
Gerry Schmitz17-Apr-13 6:10
mveGerry Schmitz17-Apr-13 6:10 
AnswerRe: C# Program Structure and File Type Advice Pin
jschell17-Apr-13 9:16
jschell17-Apr-13 9:16 
AnswerRe: C# Program Structure and File Type Advice Pin
Jacob Barton17-Apr-13 17:03
Jacob Barton17-Apr-13 17:03 
GeneralRe: C# Program Structure and File Type Advice Pin
Orjan Westin17-Apr-13 23:43
professionalOrjan Westin17-Apr-13 23:43 
GeneralRe: C# Program Structure and File Type Advice Pin
Jasmine250118-Apr-13 6:31
Jasmine250118-Apr-13 6:31 
GeneralRe: C# Program Structure and File Type Advice Pin
Gerry Schmitz18-Apr-13 11:15
mveGerry Schmitz18-Apr-13 11:15 
AnswerRe: C# Program Structure and File Type Advice Pin
GuyThiebaut18-Apr-13 0:27
professionalGuyThiebaut18-Apr-13 0:27 
AnswerRe: C# Program Structure and File Type Advice Pin
Clifford Nelson18-Apr-13 5:18
Clifford Nelson18-Apr-13 5:18 
AnswerRe: C# Program Structure and File Type Advice Pin
Jacob Barton19-Apr-13 2:57
Jacob Barton19-Apr-13 2:57 
QuestionThe SetAttribute does not set attribute Pin
Meysam Toluie16-Apr-13 20:22
Meysam Toluie16-Apr-13 20:22 
AnswerRe: The SetAttribute does not set attribute Pin
Jasmine250117-Apr-13 5:45
Jasmine250117-Apr-13 5:45 
GeneralRe: The SetAttribute does not set attribute Pin
Meysam Toluie18-Apr-13 1:30
Meysam Toluie18-Apr-13 1:30 
GeneralRe: The SetAttribute does not set attribute Pin
Jasmine250118-Apr-13 6:04
Jasmine250118-Apr-13 6:04 
GeneralRe: The SetAttribute does not set attribute Pin
Meysam Toluie20-Apr-13 3:02
Meysam Toluie20-Apr-13 3:02 
GeneralRe: The SetAttribute does not set attribute Pin
Jasmine250122-Apr-13 5:24
Jasmine250122-Apr-13 5:24 

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.