SyFi 0.3
|
#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; |
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
ex SyFi::Line::a | ( | ) | const |
Definition at line 121 of file Polygon.cpp.
References a_.
Referenced by _wrap_Line_a().
{ return a_; }
def SyFi::Line::a | ( | self | ) |
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().
{ return b_; }
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().
{ return new Line(*this); }
def SyFi::Line::copy | ( | self | ) |
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.
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.
unsigned int SyFi::Line::no_space_dim | ( | ) | const [virtual] |
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(), SyFi::SpaceTimeDomain::repr(), SyFi::Tetrahedron::repr(), and SyFi::Triangle::repr().
{ return repr(GiNaC::symbol("t"), format); }
virtual GiNaC::ex SyFi::Line::repr | ( | GiNaC::ex | t, |
Repr_format | format = SUBS_PERFORMED |
||
) | const [virtual] |
Reimplemented in SyFi::ReferenceLine.
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.
def SyFi::Line::str | ( | self | ) |
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().
{ std::ostringstream s; // s <<"Line("<<p[0]<<","<<p[1]<<")"; // FIXME: would like to use the above code, but this causes a strange crash in Python s <<"Line"; return s.str(); }
SyFi::Line::__del__ = lambdaself:None; [static, private] |
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
tuple SyFi::Line::__getattr__ = lambdaself,name:_swig_getattr(self, Line, name) [static, private] |
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
SyFi::Line::__repr__ = _swig_repr [static, private] |
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
tuple SyFi::Line::__setattr__ = lambdaself,name,value:_swig_setattr(self, Line, name, value) [static, private] |
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
SyFi::Line::__swig_destroy__ = _SyFi.delete_Line [static, private] |
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
dictionary SyFi::Line::__swig_getmethods__ = {} [static, private] |
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
dictionary SyFi::Line::__swig_setmethods__ = {} [static, private] |
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
GiNaC::ex SyFi::Line::a_ [protected] |
GiNaC::ex SyFi::Line::b_ [protected] |
Reimplemented in SyFi::ReferenceLine.