adhishm / dd2d_Matryoshka

A set of classes defining the behaviour of crystalline defects, with the final goal of carrying out dislocation dynamics simulations in two dimensions.
Other
5 stars 4 forks source link

Stress field resolution #60

Open adhishm opened 10 years ago

adhishm commented 10 years ago

The functions Grain::writeGrainBoundaryStressField and Grain::writeStressField write the values of the stress field at points along a specified path. The number of points along the path at which the stress field is to be calculated is given by the argument int resolution.

For the moment, the resolution is hard-coded into the program, and has the value 100. This should be a parameter read from the input file. It may be added to the variable Statistics grainStressField into its vector<double> parameters vector.