public NavierStokesTransient(int timesteps, NCGrid_Distribution u_initial, NCGrid_Distribution v_initial, BoundaryConditions p, BoundaryConditions u, BoundaryConditions v, FluidProperties props, double dt) { deltat = dt; properties = props; current_ustar = new NCGrid_Distribution(u_initial.Bounds, u_initial.Xcount, u_initial.Ycount); current_vstar = new NCGrid_Distribution(v_initial.Bounds, v_initial.Xcount, v_initial.Ycount); current_ustar.SetConstant(1); current_vstar.SetConstant(1); time_steps = timesteps; p_boundary = p; u_boundary = u; v_boundary = v; initial_u = u_initial; initial_v = v_initial; }