/[escript]/trunk/escript/src/escriptcpp.cpp
ViewVC logotype

Diff of /trunk/escript/src/escriptcpp.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2827 by jfenwick, Fri Dec 18 03:41:09 2009 UTC revision 2838 by jfenwick, Wed Jan 13 06:01:03 2010 UTC
# Line 438  args("solver", "preconditioner", "packag Line 438  args("solver", "preconditioner", "packag
438  "\n:rtype: `Data`\n:type value: float\n:param what: FunctionSpace for Data\n:type what: `FunctionSpace`\n"  "\n:rtype: `Data`\n:type value: float\n:param what: FunctionSpace for Data\n:type what: `FunctionSpace`\n"
439  ":param expanded: If True, a value is stored for each point. If False, more efficient representations may be used\n"  ":param expanded: If True, a value is stored for each point. If False, more efficient representations may be used\n"
440  ":type expanded: ``bool``");  ":type expanded: ``bool``");
441     def("Vector", escript::VectorFromObj,
442          (arg("value"),
443        arg("what")=escript::FunctionSpace(),
444        arg("expanded")=false));
445    def("Tensor",escript::Tensor,    def("Tensor",escript::Tensor,
446        (arg("value")=0.0,        (arg("value")=0.0,
447         arg("what")=escript::FunctionSpace(),         arg("what")=escript::FunctionSpace(),
# Line 446  args("solver", "preconditioner", "packag Line 450  args("solver", "preconditioner", "packag
450  "\n:rtype: `Data`\n:type value: float\n:param what: FunctionSpace for Data\n:type what: `FunctionSpace`\n"  "\n:rtype: `Data`\n:type value: float\n:param what: FunctionSpace for Data\n:type what: `FunctionSpace`\n"
451  ":param expanded: If True, a value is stored for each point. If False, more efficient representations may be used\n"  ":param expanded: If True, a value is stored for each point. If False, more efficient representations may be used\n"
452  ":type expanded: ``bool``");  ":type expanded: ``bool``");
453     def("Tensor", escript::TensorFromObj,
454          (arg("value"),
455        arg("what")=escript::FunctionSpace(),
456        arg("expanded")=false));
457    def("Tensor3",escript::Tensor3,    def("Tensor3",escript::Tensor3,
458        (arg("value")=0.0,        (arg("value")=0.0,
459         arg("what")=escript::FunctionSpace(),         arg("what")=escript::FunctionSpace(),
# Line 455  args("solver", "preconditioner", "packag Line 463  args("solver", "preconditioner", "packag
463  ":param expanded: If True, a value is stored for each point. If False, more efficient representations may be used\n"  ":param expanded: If True, a value is stored for each point. If False, more efficient representations may be used\n"
464  ":type expanded: ``bool``"  ":type expanded: ``bool``"
465  );  );
466     def("Tensor3", escript::Tensor3FromObj,
467          (arg("value"),
468        arg("what")=escript::FunctionSpace(),
469        arg("expanded")=false));
470    def("Tensor4",escript::Tensor4,    def("Tensor4",escript::Tensor4,
471        (arg("value")=0.0,        (arg("value")=0.0,
472         arg("what")=escript::FunctionSpace(),         arg("what")=escript::FunctionSpace(),
# Line 464  args("solver", "preconditioner", "packag Line 476  args("solver", "preconditioner", "packag
476  ":param expanded: If True, a value is stored for each point. If False, more efficient representations may be used\n"  ":param expanded: If True, a value is stored for each point. If False, more efficient representations may be used\n"
477  ":type expanded: ``bool``"  ":type expanded: ``bool``"
478  );  );
479     def("Tensor4", escript::Tensor4FromObj,
480          (arg("value"),
481        arg("what")=escript::FunctionSpace(),
482        arg("expanded")=false));
483    
484    //    //
485    // Binary operators    // Binary operators

Legend:
Removed from v.2827  
changed lines
  Added in v.2838

  ViewVC Help
Powered by ViewVC 1.1.26