#include <Polygon.h>
Public Member Functions | |
Line () | |
Line (GiNaC::ex x0, GiNaC::ex x1, const std::string &subscript="") | |
Line (const Line &line) | |
virtual | ~Line () |
virtual unsigned int | no_space_dim () const |
GiNaC::ex | a () const |
GiNaC::ex | b () const |
virtual GiNaC::ex | repr (Repr_format format=SUBS_PERFORMED) const |
virtual GiNaC::ex | repr (GiNaC::ex t, Repr_format format=SUBS_PERFORMED) const |
virtual const std::string | str () const |
virtual GiNaC::ex | integrate (GiNaC::ex f, Repr_format format=SUBS_PERFORMED) |
virtual Line * | copy () const |
def | __init__ |
def | no_space_dim |
def | a |
def | b |
def | repr |
def | str |
def | integrate |
def | copy |
Public Attributes | |
this | |
Protected Attributes | |
GiNaC::ex | a_ |
GiNaC::ex | b_ |
Static Private Attributes | |
dictionary | __swig_setmethods__ = {} |
tuple | __setattr__ = lambdaself,name,value:_swig_setattr(self, Line, name, value) |
dictionary | __swig_getmethods__ = {} |
tuple | __getattr__ = lambdaself,name:_swig_getattr(self, Line, name) |
__repr__ = _swig_repr | |
__swig_destroy__ = _SyFi.delete_Line | |
__del__ = lambdaself:None; |
Proxy of C++ SyFi::Line class
Definition at line 56 of file Polygon.h.
SyFi::Line::Line | ( | ) | [inline] |
SyFi::Line::Line | ( | GiNaC::ex | x0, | |
GiNaC::ex | x1, | |||
const std::string & | subscript = "" | |||
) |
SyFi::Line::Line | ( | const Line & | line | ) |
def SyFi::Line::__init__ | ( | self, | ||
args | ||||
) |
__init__(self) -> Line __init__(self, GiNaC::ex x0, GiNaC::ex x1, string subscript = "") -> Line __init__(self, GiNaC::ex x0, GiNaC::ex x1) -> Line __init__(self, Line line) -> Line
Reimplemented in SyFi::ReferenceLine.
Definition at line 1440 of file SyFi.py.
01440 : 01441 """ 01442 __init__(self) -> Line 01443 __init__(self, GiNaC::ex x0, GiNaC::ex x1, string subscript = "") -> Line 01444 __init__(self, GiNaC::ex x0, GiNaC::ex x1) -> Line 01445 __init__(self, Line line) -> Line 01446 """ 01447 this = _SyFi.new_Line(*args) 01448 try: self.this.append(this) 01449 except: self.this = this
def SyFi::Line::a | ( | self | ) |
ex SyFi::Line::a | ( | ) | const |
Definition at line 121 of file Polygon.cpp.
References a_.
Referenced by _wrap_Line_a().
00122 { 00123 return a_; 00124 }
def SyFi::Line::b | ( | self | ) |
ex SyFi::Line::b | ( | ) | const |
Definition at line 126 of file Polygon.cpp.
References b_.
Referenced by _wrap_Line_b().
00127 { 00128 return b_; 00129 }
def SyFi::Line::copy | ( | self | ) |
copy(self) -> Line
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 1484 of file SyFi.py.
01484 : 01485 """copy(self) -> Line""" 01486 return _SyFi.Line_copy(self) 01487 Line_swigregister = _SyFi.Line_swigregister
Line * SyFi::Line::copy | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 348 of file Polygon.cpp.
References Line().
Referenced by SyFi::SpaceTimeDomain::SpaceTimeDomain().
00349 { 00350 return new Line(*this); 00351 }
def SyFi::Line::integrate | ( | self, | ||
args | ||||
) |
integrate(self, GiNaC::ex f, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex integrate(self, GiNaC::ex f) -> GiNaC::ex
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 1477 of file SyFi.py.
01477 : 01478 """ 01479 integrate(self, GiNaC::ex f, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex 01480 integrate(self, GiNaC::ex f) -> GiNaC::ex 01481 """ 01482 return _SyFi.Line_integrate(self, *args) 01483 def copy(self):
virtual GiNaC::ex SyFi::Line::integrate | ( | GiNaC::ex | f, | |
Repr_format | format = SUBS_PERFORMED | |||
) | [virtual] |
Implements SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Referenced by SyFi::Robust::compute_basis_functions(), SyFi::RaviartThomas::compute_basis_functions(), SyFi::Nedelec::compute_basis_functions(), SyFi::CrouzeixRaviart::compute_basis_functions(), SyFi::Robust::compute_basis_functions_old(), SyFi::SpaceTimeDomain::integrate(), and main().
def SyFi::Line::no_space_dim | ( | self | ) |
no_space_dim(self) -> unsigned int
Reimplemented from SyFi::Polygon.
Definition at line 1452 of file SyFi.py.
01452 : 01453 """no_space_dim(self) -> unsigned int""" 01454 return _SyFi.Line_no_space_dim(self) 01455 def a(self):
unsigned int SyFi::Line::no_space_dim | ( | ) | const [virtual] |
def SyFi::Line::repr | ( | self, | ||
args | ||||
) |
repr(self, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex repr(self) -> GiNaC::ex repr(self, GiNaC::ex t, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex repr(self, GiNaC::ex t) -> GiNaC::ex
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 1464 of file SyFi.py.
01464 : 01465 """ 01466 repr(self, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex 01467 repr(self) -> GiNaC::ex 01468 repr(self, GiNaC::ex t, Repr_format format = SUBS_PERFORMED) -> GiNaC::ex 01469 repr(self, GiNaC::ex t) -> GiNaC::ex 01470 """ 01471 return _SyFi.Line_repr(self, *args) 01472 def str(self):
virtual GiNaC::ex SyFi::Line::repr | ( | GiNaC::ex | t, | |
Repr_format | format = SUBS_PERFORMED | |||
) | const [virtual] |
Reimplemented in SyFi::ReferenceLine.
ex SyFi::Line::repr | ( | Repr_format | format = SUBS_PERFORMED |
) | const [virtual] |
Implements SyFi::Polygon.
Definition at line 131 of file Polygon.cpp.
Referenced by _wrap_Line_repr__SWIG_1(), SyFi::Robust::compute_basis_functions(), SyFi::Nedelec::compute_basis_functions(), SyFi::Robust::compute_basis_functions_old(), main(), and SyFi::SpaceTimeDomain::repr().
00132 { 00133 return repr(GiNaC::symbol("t"), format); 00134 }
def SyFi::Line::str | ( | self | ) |
str(self) -> string
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 1473 of file SyFi.py.
01473 : 01474 """str(self) -> string""" 01475 return _SyFi.Line_str(self) 01476 def integrate(self, *args):
const string SyFi::Line::str | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 219 of file Polygon.cpp.
References run::s.
Referenced by _wrap_Line_str().
00220 { 00221 std::ostringstream s; 00222 // s <<"Line("<<p[0]<<","<<p[1]<<")"; 00223 // FIXME: would like to use the above code, but this causes a strange crash in Python 00224 s <<"Line"; 00225 return s.str(); 00226 }
SyFi::Line::__del__ = lambdaself:None; [static, private] |
tuple SyFi::Line::__getattr__ = lambdaself,name:_swig_getattr(self, Line, name) [static, private] |
SyFi::Line::__repr__ = _swig_repr [static, private] |
tuple SyFi::Line::__setattr__ = lambdaself,name,value:_swig_setattr(self, Line, name, value) [static, private] |
SyFi::Line::__swig_destroy__ = _SyFi.delete_Line [static, private] |
dictionary SyFi::Line::__swig_getmethods__ = {} [static, private] |
dictionary SyFi::Line::__swig_setmethods__ = {} [static, private] |
GiNaC::ex SyFi::Line::a_ [protected] |
GiNaC::ex SyFi::Line::b_ [protected] |