protected void InitializeOptions(SimulationOptions options)
 {
     unmanagedFlags = new UnmanagedFlags();
     unmanagedFlags.AbsWeightingType = (int)options.AbsorptionWeightingType;
     unmanagedFlags.Seed             = options.Seed;
 }
 public static extern void RunUnmanagedMC(ref UnmanagedPhoton unmanagedPhoton,
                                          ref UnmanagedTissue unmanagedTissue, ref UnmanagedSourceDefinition unmanagedSourceDefinition,
                                          ref UnmanagedOutput unmanagedOutput, ref UnmanagedHistory unmanagedHistory,
                                          ref UnmanagedFlags unmanagedFlags);