I have consistently been harrowed by this tiny issue.
When I Try to run my Mathematica script, I get this error message:
Syntax::syntyp: \ operators can only be used between \( \). Syntax::com: Warning: Comma encountered with no adjacent expression. > The expression will be treated as Null. (line 27 of "./L_3Lambda_max_1wl_zg_E_0001_Cos_fbc"). Syntax::sntx: Invalid syntax in or before "\!\(\*SuperscriptBox[\(h\), > \* " (line 27 of "./L_3Lambda_max_1wl_zg_E_0001_Cos_fbc").
This suggests that the code doesn't like my 1st and 3rd derivative boundary conditions starting line 26. What syntax do I need to specify these boundary conditions?
I have not had an issue running this as a stand alone notebook with the same boundary conditions (albeit a slightly different problem) solving the same 4th order nonlinear PDE.
All files required are attached and linked through hyperlinks in this post.
Edit:
I even tried copying my boundary conditions as plain text and tried this but to no avail:
h^(1, 0, 0)[0, y, t] == 0,
h^(1, 0, 0)[L, y, t] == 0,
h^(0, 1, 0)[x, 0, t] == 0,
h^(0, 1, 0)[x, L, t] == 0,
h^(3, 0, 0)[0, y, t] == 0,
h^(3, 0, 0)[L, y, t] == 0,
h^(0, 3, 0)[x, 0, t] == 0,
h^(0, 3, 0)[x, L, t] == 0,
InputForm.h^(1, 0, 0)(for example) is meaningless to Mathematica and is not even syntactically correct; it is just a compact visual representation of the true structure:Derivative[1, 0, 0][h]. – Oleksandr R. Sep 16 '12 at 16:51h^(1, 0, 0)[0, y, t]is not a meaningful Mathematica input syntax; try something likeD[h[x, y, t], x]-- (1) (2) – Mr.Wizard♦ Sep 16 '12 at 16:55