Decoding the Definition of Physics Codes

  • Thread starter Thread starter Aaronvan
  • Start date Start date
  • Tags Tags
    Physics
Click For Summary
In discussions about "physics codes," the term often refers to mathematical equations rather than traditional computer programs. Researchers typically focus on the mathematical models and their solutions, while the computer code serves primarily to extract these solutions. Many papers highlight the results derived from these codes rather than the codes themselves, especially if they lack novel algorithms. Additionally, proprietary codes may limit what researchers can disclose, as companies often restrict access to their internal workings. Understanding this distinction clarifies the role of codes in physics research.
Aaronvan
Messages
44
Reaction score
2
What are physics "codes?"

How does the physicist define “code?”

I often read slug lines such as “New hydrodynamic codes reveal stellar core collapse” or “Scientists use EMSolve Code to better understand magnetic fusion energy.” To most laymen, code is a set of instructions, i.e. a computer program.

However, when I peruse the paper or article the code in question is often a set of mathematical equations. It is certainly not computer code, pseudo-code, or even an algorithm.

I am perplexed and hence the question. :smile:
 
Physics news on Phys.org
Without knowing any of the specifics, I presume the codes involved are the implementations of the equations. The papers usually describe the results obtained from the codes.
 
They are talking about a computer code that solves the equations numerically.
 
Aaronvan said:
How does the physicist define “code?”

I often read slug lines such as “New hydrodynamic codes reveal stellar core collapse” or “Scientists use EMSolve Code to better understand magnetic fusion energy.” To most laymen, code is a set of instructions, i.e. a computer program.

However, when I peruse the paper or article the code in question is often a set of mathematical equations. It is certainly not computer code, pseudo-code, or even an algorithm.

I am perplexed and hence the question. :smile:

A lot of times, the actual computer code isn't what people are really interested in. They're interested in the mathematical models for things, and they're interested in the solutions to those mathematical models. The computer code usually just provides a way to extract solutions from mathematical models. Researchers may spend a lot of time writing code to solve a problem, but if they don't use any novel algorithms or techniques in their code, why would they bother talking about it in a paper?

Also, a lot of times researchers may be using proprietary code. If a company writes some code and is making money off of it, they probably don't want some researcher blabbing about it in a paper. In fact, the researchers themselves probably aren't allowed to know everything about how the code works.
 
Good information, thanks.
 
I do not have a good working knowledge of physics yet. I tried to piece this together but after researching this, I couldn’t figure out the correct laws of physics to combine to develop a formula to answer this question. Ex. 1 - A moving object impacts a static object at a constant velocity. Ex. 2 - A moving object impacts a static object at the same velocity but is accelerating at the moment of impact. Assuming the mass of the objects is the same and the velocity at the moment of impact...

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
29
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
729
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
1
Views
4K