Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25419 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Apr 7, 2015
1 parent ccc0e9e commit 4be42e2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Expand Up @@ -5,15 +5,15 @@
Policy class to create lin solver object
*/
template<class CreationPolicy>
struct LinSolverBodasFactory : public ObjectFactory<CreationPolicy>
struct LinSolverBodasFactory : public ObjectFactory<CreationPolicy>
{
public:
LinSolverBodasFactory(PATH library_path, PATH modelicasystem_path, PATH config_path)
: ObjectFactory<CreationPolicy>(library_path, modelicasystem_path, config_path)
, _last_selected_solver("empty")
{
}

virtual ~LinSolverBodasFactory()
{
}
Expand All @@ -29,7 +29,7 @@ struct LinSolverBodasFactory : public ObjectFactory<CreationPolicy>
boost::shared_ptr<IAlgLoopSolver> solver;
return solver;
}

protected:
string _last_selected_solver;
};
Expand Up @@ -3,7 +3,7 @@
/*
Policy class to create nonlin solver object
*/
template <class CreationPolicy>
template <class CreationPolicy>
struct NonLinSolverBodasFactory : public ObjectFactory<CreationPolicy>
{
public:
Expand Down Expand Up @@ -55,6 +55,6 @@ struct NonLinSolverBodasFactory : public ObjectFactory<CreationPolicy>
else
throw std::invalid_argument("Selected nonlinear solver is not available");
}

string _last_selected_solver;
};
Expand Up @@ -3,7 +3,7 @@
/*
Policy class to create solver object
*/
template <class CreationPolicy>
template <class CreationPolicy>
struct SolverBodasFactory : public ObjectFactory<CreationPolicy>
{
public:
Expand Down
Expand Up @@ -2,7 +2,7 @@
/*
Policy class to create solver settings object
*/
template <class CreationPolicy>
template <class CreationPolicy>
struct SolverSettingsBodasFactory : public ObjectFactory<CreationPolicy>
{
public:
Expand Down
Expand Up @@ -44,7 +44,7 @@ boost::shared_ptr<IMixedSystem> BodasFactory::LoadSystem(IGlobalSettings* global
boost::shared_ptr<ISimData> BodasFactory::LoadSimData()
{
ISimData* simData = createSimData();
return boost::shared_ptr<ISimData>(simData);
return boost::shared_ptr<ISimData>(simData);
}

boost::shared_ptr<ISolver> BodasFactory::LoadSolver(IMixedSystem* system, string solver_name, boost::shared_ptr<ISolverSettings> solver_settings)
Expand All @@ -69,7 +69,7 @@ boost::shared_ptr<ISolverSettings> BodasFactory::LoadSolverSettings(string solve
}
else
{

}
return boost::shared_ptr<ISolverSettings>(solver_settings);
}
Expand Down

0 comments on commit 4be42e2

Please sign in to comment.