Explain how the atmos algorithm works language-agnostically.

How, what and why to code in BYOND.
Post Reply
User avatar
Cavoglave
Joined: Sun Apr 20, 2014 12:39 pm
Byond Username: Cavoglave

Explain how the atmos algorithm works language-agnostically.

Post by Cavoglave » #114711

Or LINDA, as it were, please.

I am too lazy to learn DM and trace the procedures myself, so anyone who does explain it I will be very grateful toward.
User avatar
MisterPerson
Board Moderator
Joined: Tue Apr 15, 2014 4:26 pm
Byond Username: MisterPerson

Re: Explain how the atmos algorithm works language-agnostica

Post by MisterPerson » #114761

What exactly do you want to know? There's a lot of parts.
I code for the code project and moderate the code sections of the forums.

Feedback is dumb and it doesn't matter
User avatar
CPTANT
Joined: Mon May 04, 2015 1:31 pm
Byond Username: CPTANT

Re: Explain how the atmos algorithm works language-agnostica

Post by CPTANT » #114882

Yeah of course you can give joke answers, but the lack of documentation on how basically any system works is kinda a hinderance to understanding the code, especially the more complex systems.

You can't read this shit anywhere except by trying to decipher the code yoruself, which is A LOT easier if it is clear what the general way the system is set up is.
Timberpoes wrote: Tue Feb 14, 2023 3:21 pm The rules exist to create the biggest possible chance of a cool shift of SS13. They don't exist to allow admins to create the most boring interpretation of SS13.
User avatar
Cavoglave
Joined: Sun Apr 20, 2014 12:39 pm
Byond Username: Cavoglave

Re: Explain how the atmos algorithm works language-agnostica

Post by Cavoglave » #114913

I honestly didn't expect any serious answers at all, I'm rather glad!
MisterPerson wrote:What exactly do you want to know? There's a lot of parts.
Basically, how the atmospherics variables (temperature, pressure, composition etc.) of a turf change based on the turfs in its neighborhood.

Blogpost time: to motivate myself to learn to program, I'm thinking of how to set up an atmos system of my own, but without a ton of knowledge of thermo- and fluid dynamics.
It seems like I can go to any depth I'd want, from just averaging pressures isothermically to numerically solving the Euler equations.

I wanna know how LINDA does it, so I know what standard to try to hold myself to.
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

Re: Explain how the atmos algorithm works language-agnostica

Post by MrStonedOne » #114951

oh boy.

As far as i know, Everything is done in moles and temperature, and just averaged out with the neighboring turfs.

Pressure calculation and what not only happens when it needs that info, not during spread, but on things that show pressure to a user or do calculations/logic based on pressure
Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
NSFW:
Image
Post Reply

Who is online

Users browsing this forum: No registered users