Skip to content

Commit

Permalink
Trim trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Jun 13, 2015
1 parent db90b5d commit 8319e8c
Show file tree
Hide file tree
Showing 153 changed files with 248 additions and 248 deletions.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendDAE.mo
Expand Up @@ -369,7 +369,7 @@ uniontype Equation
.DAE.ElementSource source "origin of equation";
EquationAttributes attr;
end FOR_EQUATION;

end Equation;

public
Expand Down
2 changes: 1 addition & 1 deletion Compiler/BackEnd/BackendDump.mo
Expand Up @@ -1516,7 +1516,7 @@ algorithm
res;
case (BackendDAE.FOR_EQUATION(iter=iter, start=start, stop=stop, left=e1, right=e2))
equation
s1 = ExpressionDump.printExpStr(iter) + " in " + ExpressionDump.printExpStr(start) + " : " + ExpressionDump.printExpStr(stop);
s1 = ExpressionDump.printExpStr(iter) + " in " + ExpressionDump.printExpStr(start) + " : " + ExpressionDump.printExpStr(stop);
s2 = ExpressionDump.printExpStr(e1) + "=" + ExpressionDump.printExpStr(e2);
res = stringAppendList({"for ",s1," loop \n ",s2, "; end for; "});
then
Expand Down
16 changes: 8 additions & 8 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -656,7 +656,7 @@ case SIMCODE(modelInfo = MODELINFO(__)) then
initialAnalyticJacobians(jacIndex, mat, vars, name, sparsepattern, colorList,simCode , &extraFuncs , &extraFuncsDecl, extraFuncsNamespace)
;separator="";empty)
<<

<% (jacobianMatrixes |> (mat, _, _, _, _, _, _) hasindex index0 =>
(mat |> (eqs,_,_) => algloopfilesInclude(eqs,simCode , &extraFuncs , &extraFuncsDecl, extraFuncsNamespace) ;separator="")
;separator="")
Expand Down Expand Up @@ -695,7 +695,7 @@ template simulationStateSelectionCppFile(SimCode simCode, Text& extraFuncs, Text
match simCode
case SIMCODE(modelInfo = MODELINFO(__)) then
<<

<%lastIdentOfPath(modelInfo.name)%>StateSelection::<%lastIdentOfPath(modelInfo.name)%>StateSelection(IGlobalSettings* globalSettings, boost::shared_ptr<IAlgLoopSolverFactory> nonlinsolverfactory, boost::shared_ptr<ISimData> sim_data, boost::shared_ptr<ISimVars> sim_vars)
: <%lastIdentOfPath(modelInfo.name)%>(globalSettings, nonlinsolverfactory, sim_data,sim_vars)
{
Expand All @@ -717,7 +717,7 @@ template simulationWriteOutputCppFile(SimCode simCode ,Text& extraFuncs,Text& ex
match simCode
case SIMCODE(modelInfo = MODELINFO(__)) then
<<


<%lastIdentOfPath(modelInfo.name)%>WriteOutput::<%lastIdentOfPath(modelInfo.name)%>WriteOutput(IGlobalSettings* globalSettings, boost::shared_ptr<IAlgLoopSolverFactory> nonlinsolverfactory, boost::shared_ptr<ISimData> sim_data, boost::shared_ptr<ISimVars> sim_vars)
: <%lastIdentOfPath(modelInfo.name)%>(globalSettings, nonlinsolverfactory, sim_data,sim_vars)
Expand Down Expand Up @@ -960,7 +960,7 @@ match simCode
case SIMCODE(modelInfo = MODELINFO(vars=SIMVARS(__))) then
let classname = lastIdentOfPath(modelInfo.name)
<<

<%classname%>Extension::<%classname%>Extension(IGlobalSettings* globalSettings, boost::shared_ptr<IAlgLoopSolverFactory> nonlinsolverfactory, boost::shared_ptr<ISimData> sim_data, boost::shared_ptr<ISimVars> sim_vars)
: <%classname%>(globalSettings, nonlinsolverfactory, sim_data,sim_vars)
, <%classname%>WriteOutput(globalSettings,nonlinsolverfactory, sim_data,sim_vars)
Expand Down Expand Up @@ -2140,7 +2140,7 @@ template calcHelperMainfile(SimCode simCode ,Text& extraFuncs,Text& extraFuncsDe
#include <Core/System/SimVars.h>
#include <Core/System/DiscreteEvents.h>
#include <Core/System/EventHandling.h>

#include "OMCpp<%fileNamePrefix%>Types.h"
#include "OMCpp<%fileNamePrefix%>.h"
#include "OMCpp<%fileNamePrefix%>Functions.h"
Expand Down Expand Up @@ -2186,7 +2186,7 @@ template simulationFunctionsFile(SimCode simCode, Text& extraFuncs, Text& extraF
match simCode
case SIMCODE(modelInfo=MODELINFO(__)) then
<<


<%externalFunctionIncludes(includes)%>

Expand Down Expand Up @@ -3132,7 +3132,7 @@ case SIMCODE(modelInfo = MODELINFO(__)) then
match eq
case SES_LINEAR(lSystem = ls as LINEARSYSTEM(__)) then
<<

<%if Flags.isSet(Flags.WRITE_TO_BUFFER) then '#include "Math/ArrayOperations.h"'%>


Expand Down Expand Up @@ -3194,7 +3194,7 @@ match eq

case SES_NONLINEAR(nlSystem = nls as NONLINEARSYSTEM(__)) then
<<

<%if Flags.isSet(Flags.WRITE_TO_BUFFER) then '#include "Math/ArrayOperations.h"'%>


Expand Down
4 changes: 2 additions & 2 deletions Compiler/Util/VisualXML.mo
Expand Up @@ -37,7 +37,7 @@ encapsulated package VisualXML


RCS: $Id: VisualXML 2014-02-04 waurich $

"

protected import Absyn;
Expand Down Expand Up @@ -99,7 +99,7 @@ algorithm
//in case we have a time dependent, protected variable, set the solved equation as binding
eqs := List.map(eqs0,BackendDAEUtil.copyEqSystem);
eqs := List.map(eqs,setBindingForProtectedVars);

//get all variables that contain visualization vars
knownVarLst := BackendVariable.varList(knownVars);
aliasVarLst := BackendVariable.varList(aliasVars);
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/DataExchange/SimData.cpp
@@ -1,5 +1,5 @@
/** @addtogroup dataexchange
*
*
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/SimController/Configuration.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSimcontroller
*
*
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/SimController/FactoryExport.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSimcontroller
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
@@ -1,5 +1,5 @@
/** @addtogroup coreSimcontroller
*
*
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/SimController/SimController.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSimcontroller
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/SimController/SimManager.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSimcontroller
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/cpp/Core/SimulationSettings/Factory.cpp
@@ -1,8 +1,8 @@
/** @addtogroup coreSimulationSettings
*
*
* @{
*/

#include <Core/ModelicaDefine.h>
#include <Core/Modelica.h>

Expand Down
@@ -1,9 +1,9 @@
#pragma once
/** @addtogroup coreSimulationSettings
*
*
* @{
*/

#include <Core/ModelicaDefine.h>
#include <Core/Modelica.h>
#if defined(__vxworks) || defined(__TRICORE__)
Expand Down
@@ -1,8 +1,8 @@
/** @addtogroup coreSimulationSettings
*
*
* @{
*/

#include <Core/ModelicaDefine.h>
#include <Core/Modelica.h>
//#define BOOST_EXTENSION_GLOBALSETTINGS_DECL BOOST_EXTENSION_EXPORT_DECL
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/Solver/FactoryExport.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSolver
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/Solver/SimulationMonitor.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSolver
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
@@ -1,5 +1,5 @@
/** @addtogroup coreSolver
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/Solver/SolverSettings.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSolver
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/Solver/SystemStateSelection.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSolver
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
@@ -1,5 +1,5 @@
/** @addtogroup coreSystem
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/System/AlgLoopSolverFactory.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSystem
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/System/ContinuousEvents.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSystem
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/System/DiscreteEvents.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSystem
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/System/EventHandling.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSystem
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/System/FactoryExport.cpp
@@ -1,6 +1,6 @@
#pragma once
/** @addtogroup coreSystem
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Core/System/SimVars.cpp
@@ -1,5 +1,5 @@
/** @addtogroup coreSystem
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
@@ -1,5 +1,5 @@
/** @addtogroup coreSystem
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
@@ -1,5 +1,5 @@
/** @addtogroup coreUtils
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
@@ -1,5 +1,5 @@
/** @addtogroup coreUtils
*
*
* @{
*/
#include <Core/ModelicaDefine.h>
Expand Down
@@ -1,7 +1,7 @@
#pragma once

/** @addtogroup dataexchange
*
*
* @{
*/

Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Include/Core/DataExchange/ISimVar.h
@@ -1,7 +1,7 @@
#pragma once

/** @addtogroup dataexchange
*
*
* @{
*/

Expand Down
@@ -1,5 +1,5 @@
/** @addtogroup dataexchangePolicies
*
*
* @{
*/

Expand Down
@@ -1,6 +1,6 @@
#pragma once
/** @addtogroup dataexchangePolicies
*
*
* @{
*/

Expand Down
@@ -1,6 +1,6 @@
#pragma once
/** @addtogroup dataexchange
*
*
* @{
*/
#include "ISimVar.h"
Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/cpp/Include/Core/DataExchange/SimData.h
@@ -1,9 +1,9 @@
#pragma once
/** @addtogroup dataexchange
*
*
* @{
*/

#include <Core/SimController/ISimData.h>


Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/cpp/Include/Core/DataExchange/SimDouble.h
@@ -1,9 +1,9 @@
#pragma once
/** @addtogroup dataexchange
*
*
* @{
*/

#include "ISimVar.h"

/**
Expand Down
@@ -1,6 +1,6 @@
#pragma once
/** @addtogroup dataexchange
*
*
* @{
*/
#include "ISimVar.h"
Expand Down
@@ -1,6 +1,6 @@
#pragma once
/** @addtogroup dataexchange
*
*
* @{
*/
#include "ISimVar.h"
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Include/Core/DataExchange/Writer.h
@@ -1,6 +1,6 @@
#pragma once
/** @addtogroup dataexchange
*
*
* @{
*/
#if defined USE_PARALLEL_OUTPUT && defined USE_BOOST_THREAD
Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/cpp/Include/Core/HistoryImpl.h
Expand Up @@ -11,9 +11,9 @@ using std::map;
*/
/** @defgroup core Core
* Core module of cpp runtime
*
*
* @{
*/
*/
template< template <size_t,size_t,size_t,size_t> class ResultsPolicy,size_t dim_1, size_t dim_2,size_t dim_3,size_t dim_4>
class HistoryImpl : public IHistory,
public ResultsPolicy<dim_1,dim_2,dim_3,dim_4>
Expand Down

0 comments on commit 8319e8c

Please sign in to comment.