Decoding the Definition of Physics Codes

  • Context: Undergrad 
  • Thread starter Thread starter Aaronvan
  • Start date Start date
  • Tags Tags
    Physics
Click For Summary

Discussion Overview

The discussion centers around the definition and interpretation of "codes" in the context of physics, particularly how these terms are used in scientific literature. Participants explore the distinction between computer codes and mathematical equations, as well as the implications of proprietary codes in research.

Discussion Character

  • Exploratory
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about the term "code," noting that it often refers to mathematical equations rather than computer programs.
  • Another participant suggests that codes are implementations of equations, with papers typically discussing results obtained from these codes.
  • A different viewpoint indicates that the term refers specifically to computer code that numerically solves equations.
  • Further elaboration highlights that researchers may focus more on mathematical models and solutions rather than the computer code itself, which is often just a tool for extracting solutions.
  • Concerns are raised about proprietary codes, suggesting that researchers may not have full access to the workings of the code they use, which could limit their ability to discuss it openly in papers.

Areas of Agreement / Disagreement

Participants express differing interpretations of what constitutes "code" in physics, with no consensus reached on a singular definition. The discussion reflects multiple competing views on the role and nature of codes in scientific research.

Contextual Notes

Participants acknowledge the potential ambiguity in the term "code," which may depend on context and specific usage in scientific literature. There are also implications regarding the accessibility and transparency of proprietary codes in research.

Who May Find This Useful

This discussion may be of interest to researchers in physics, computer science, and related fields, as well as those involved in scientific communication and publication practices.

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.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 204 ·
7
Replies
204
Views
13K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 24 ·
Replies
24
Views
4K
Replies
29
Views
6K
Replies
14
Views
3K