void Solver::initialize( const GetPot& /*input*/, std::tr1::shared_ptr<libMesh::EquationSystems> equation_system, MultiphysicsSystem* system ) { // Defined in subclasses depending on the solver used. this->init_time_solver(system); // Initialize the system equation_system->init(); // Get diff solver to set options libMesh::DiffSolver &solver = *(system->time_solver->diff_solver().get()); // Set linear/nonlinear solver options this->set_solver_options( solver ); return; }
///////////////////////////GTK window layer///////////////////////////// inline void addWindowFunc(std::tr1::shared_ptr<CoilWindow> window) { magnet::thread::ScopedLock lock(_coilLock); window->init(); _viewPorts[window->GetWindowID()] = window; }