The Construct(brandonpelfrey.com) |
The Construct(brandonpelfrey.com) |
The technique here which I guess is effectively finite element was far more difficult to implement at the time and reserved for professional tools like Fluent (my company today uses Fluent for this stuff today though not me directly and I'm sure we pay quite a bit for it.)
I browsed through the code and it was far better than anything I ever wrote at university. I think its deceptive to say 9 lines of code given the volume of support libraries but I would have killed to get my hands on this 17 years ago. Boundary conditions and configuring the actual volume was actually the hard part and took a majority of my time back then and I'm guessing that probably hasn't changed. Anyway cool stuff if only a few years late for me to make use of.
Any comments from anyone (Brandon?), as to whether configuration and boundary conditions can be simply applied to the vector field type?
Starting from something like raw C or C++ means that the ability to express problems at this level of complexity is impossible without first writing a library to create the "words" and "verbs" you'll need. Then it's a piece of cake.
A language like APL gets you to a much more expressive level right away. Exploring more complex problems from that vantage point is far simpler (and a lot more fun in my opinion).