Skip to content

Commit

Permalink
Merge pull request #3 from mkuron/ek_lbforce_pressure
Browse files Browse the repository at this point in the history
Have electrokinetics lb_force check for EXTERNAL_FORCES feature
  • Loading branch information
rempferg committed Dec 15, 2014
2 parents e7099fe + 8dd9ba5 commit 00f8f1a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/tcl/electrokinetics_tcl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,12 @@ int tclcommand_electrokinetics(ClientData data, Tcl_Interp *interp, int argc, ch
{
argc--;
argv++;


#ifndef EXTERNAL_FORCES
Tcl_AppendResult(interp, "External Forces not compiled in!", (char *)NULL);
return TCL_ERROR;
#endif

if(argc < 3 || !ARG_IS_D(0,vectarg[0]) || !ARG_IS_D(1,vectarg[1]) || !ARG_IS_D(2,vectarg[2]))
{
Tcl_AppendResult(interp, "electrokinetics lb_force requires three floating point numbers as arguments\n", (char *)NULL);
Expand Down

0 comments on commit 00f8f1a

Please sign in to comment.