CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFD-Wiki (
-   -   Copyrighted source codes (

Praveen. C September 19, 2005 01:24

Copyrighted source codes
I think Numerical Recipes codes are copyrighted and cannot be distributed freely.

Harish, do you know whether they are free of copyrights ? Please dont post them before verifying the license requirements. For now I have deleted one page created by you.

When you post any source code please give complete author credits so that anybody can check that there are no copyrights restrictions. It is necessary that we know where the source codes are coming from.

As I wrote before we need to agree to some standards and procedures before posting source codes.

Michail September 19, 2005 01:36

Re: Copyrighted source codes
I have one question.

What we have to consider as copyrighted code?

Although I use only code that I wrote during my post-graduate study, the next situation is possible:

Someone takes the copyrighted code, change it completely or partially.

Will be such code copyrighted?

Harish September 19, 2005 01:58

Re: Copyrighted source codes
The code I submitted was given to me during the beginning of my Numerical PDE course and I thought it might not be an issue since it was distributed freely. I have not verified if it was taken from the book or the professor wrote it.


Praveen. C September 19, 2005 02:13

Re: Copyrighted source codes
If the code is written by you, then you can consider releasing it under a free/open source license like the GNU GPL, see

On how to release code under GPL, see

If you have a website where you have already released the source code, then you can provide a link to that.

Praveen. C September 19, 2005 02:16

Re: Copyrighted source codes
Numerical Recipes codes cannot be freely distributed. See the following link

In particular, see the second bullet.

zxaar September 19, 2005 04:49

Re: Copyrighted source codes
Harish iwanted to request you to put the pseudo-code of the tridiagonal matrix you posted as code, to the tri-dialoganl solver. please have a look at numerical method page. (if you put the algorithm, i think there is no problem of copyright just put the reference)

Michail September 19, 2005 05:31

Re: Copyrighted source codes - Please help
Dear Praveen. C

Thank You very much.

As I understood, I should:

1) Send a letter (or Email) to USA with my code and get GNU GPL lisence

2) after getting confirmation from GNU GPL - add to the all sourse GNU GPL disclaimer

whether am I right?

Harish September 19, 2005 08:34

Re: Copyrighted source codes
I will make sure to check before putting any further codes in the Wiki. If we had rewritten the code looking at the algorithm and if the code looks similar to the one which is copyrighted can that be released ?


jasond September 19, 2005 13:50

Re: Copyrighted source codes
If you are concerned about not copying someone else's code, then it is always best to implement the algorithm (or whatever) having never seen code that you cannot redistribute. Once you have seen a non-free code, you're on shaky ground.

On the other hand, most of the NR codes are pretty standard stuff that are available in other forms from other places.


zxaar September 19, 2005 17:38

Re: Copyrighted source codes
well pseudo code is algorithm, so that you can put.

Praveen. C September 19, 2005 23:40

Re: Copyrighted source codes - Please help
No, you dont have to write to GNU for getting the license. You have to just include the disclaimer in all your source code.

Michail September 20, 2005 04:16

Re: Copyrighted source codes - Please help
Dear Praveen

Thank You very much.


Praveen. C September 20, 2005 23:56

Re: Copyrighted source codes - Please help
I see that you have been adding the GPL disclaimer to your code. Its better to put them as comments since others may cut and paste the code. For example see

Michail September 21, 2005 10:40

Re: Copyrighted source codes - Please help
Thank You very much, I shall do this now

All times are GMT -4. The time now is 12:29.