From 2ac8fc0811e1df480efc1c4d6f4d5f7b870f2ab6 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Wed, 28 Nov 2012 17:49:10 -0500 Subject: rename some of generated file from .txt to .h --- mathemathica_fwm/RbXMDSSetup1.nb | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/mathemathica_fwm/RbXMDSSetup1.nb b/mathemathica_fwm/RbXMDSSetup1.nb index d279721..b0f4533 100644 --- a/mathemathica_fwm/RbXMDSSetup1.nb +++ b/mathemathica_fwm/RbXMDSSetup1.nb @@ -1821,7 +1821,8 @@ Cell[BoxData[{ RowBox[{"StringReplace", "[", RowBox[{ RowBox[{ - "\"\\"", "<>", + "\"\\"", + "<>", RowBox[{"StringJoin", "[", RowBox[{ RowBox[{ @@ -1829,8 +1830,8 @@ Cell[BoxData[{ RowBox[{"ToString", "@", RowBox[{"CForm", "[", "#", "]"}]}], "<>", "\"\<;\\n\>\""}], "&"}], "/@", "%"}], "]"}], "<>", - "\"\\""}], - ",", + "\"\\""}], ",", RowBox[{"{", RowBox[{ RowBox[{"\"\<==\>\"", "\[Rule]", "\"\<=\>\""}], ",", @@ -1875,15 +1876,19 @@ Cell[BoxData[{ RowBox[{"\"\\"", "<>", "a"}]}], ",", RowBox[{ RowBox[{"\"\\"", "~~", "a_", "~~", "\"\<)\>\""}], "\[RuleDelayed]", - RowBox[{"\"\\"", "<>", "a"}]}]}], "}"}]}], "]"}]}], "Input"], + RowBox[{"\"\\"", "<>", "a"}]}]}], "}"}]}], "]"}]}], "Input", + CellChangeTimes->{{3.563131143065538*^9, 3.563131165863379*^9}}], Cell[BoxData[ RowBox[{"Export", "[", RowBox[{ RowBox[{"ToFileName", "[", RowBox[{ - RowBox[{"NotebookDirectory", "[", "]"}], ",", "\"\\""}], - "]"}], ",", "%"}], "]"}]], "Input"], + RowBox[{"NotebookDirectory", "[", "]"}], ",", + "\"\\""}], "]"}], ",", "%", ",", " ", + "\"\\""}], "]"}]], "Input", + CellChangeTimes->{{3.563131169422084*^9, 3.563131175165862*^9}, { + 3.563131630756442*^9, 3.563131637140431*^9}}], Cell["Convert equations to C form", "Text"], @@ -2234,7 +2239,7 @@ Cell[BoxData[{ RowBox[{"StringReplace", "[", "\[IndentingNewLine]", RowBox[{ RowBox[{ - "\"\\"", "<>", + "\"\\"", "<>", RowBox[{"StringJoin", "[", RowBox[{ RowBox[{ @@ -2242,8 +2247,8 @@ Cell[BoxData[{ RowBox[{"ToString", "@", RowBox[{"CForm", "[", "#", "]"}]}], "<>", "\"\<;\\n\>\""}], "&"}], "/@", "%"}], "]"}], "<>", "\[IndentingNewLine]", - "\"\\""}], - ",", + "\"\\""}], ",", + RowBox[{"{", RowBox[{ RowBox[{"\"\<==\>\"", "\[Rule]", "\"\<=\>\""}], ",", @@ -2283,15 +2288,18 @@ Cell[BoxData[{ RowBox[{"\"\\"", "<>", "a"}]}], ",", RowBox[{ RowBox[{"\"\\"", "~~", "a_", "~~", "\"\<)\>\""}], "\[RuleDelayed]", - RowBox[{"\"\\"", "<>", "a"}]}]}], "}"}]}], "]"}]}], "Input"], + RowBox[{"\"\\"", "<>", "a"}]}]}], "}"}]}], "]"}]}], "Input", + CellChangeTimes->{{3.56313119628875*^9, 3.563131201119614*^9}}], Cell[BoxData[ RowBox[{"Export", "[", RowBox[{ RowBox[{"ToFileName", "[", RowBox[{ - RowBox[{"NotebookDirectory", "[", "]"}], ",", "\"\\""}], - "]"}], ",", "%"}], "]"}]], "Input"] + RowBox[{"NotebookDirectory", "[", "]"}], ",", "\"\\""}], + "]"}], ",", "%", ",", " ", "\"\\""}], "]"}]], "Input", + CellChangeTimes->{{3.563131203982983*^9, 3.563131205084772*^9}, { + 3.563131547287279*^9, 3.563131550711413*^9}}] }, Open ]], Cell[CellGroupData[{ @@ -2820,7 +2828,7 @@ Cell[BoxData[{ CellChangeTimes->{{3.562016303354669*^9, 3.562016328411399*^9}}] }, Open ]] }, -WindowSize->{956, 1004}, +WindowSize->{956, 980}, WindowMargins->{{Automatic, 0}, {26, Automatic}}, PrivateNotebookOptions->{"FileOutlineCache"->False}, ShowSelection->True, -- cgit v1.2.3