carbolymer / SPH

Smoothed Particles Hydrodynamics
1 stars 0 forks source link

Missing files #1

Closed mruegenberg closed 10 years ago

mruegenberg commented 10 years ago

Hi,

I just tried to build your code. There seem to be a few files missing, namely the headers TMath, TVector2, TTree, TBranch, TCanvas, TFile and TGraph.

Thanks for the code.

carbolymer commented 10 years ago

Hi Marcel,

My code uses ROOT framework ( http://root.cern.ch/ ). You should have it installed, and before compilation you should source the environment.

My SPH code is just a toy model without proper implementation of smoothed particle hydrodynamics. Just saying.

Thanks for your interest. Mateusz

mruegenberg commented 10 years ago

Thanks, that's pretty much what I was looking for.

It compiles now, but complains about missing the file fluids/initial.root. How do you generate that file / could you put one in the repo?

carbolymer commented 10 years ago

The fluids/initial.root contains initial conditions. You can generate this file by running macro in macro/initialState.C file:

mkdir fluids
root ./macro/initialState.C
mruegenberg commented 10 years ago

Thanks, that worked.