|
SyFi
0.3
|
#include <Polygon.h>
Public Member Functions | |
| Line (const std::string &subscript="") | |
| 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 | a |
| def | b |
| def | repr |
| def | integrate |
| def | copy |
Static Public Attributes | |
| tuple | thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') |
Protected Attributes | |
| GiNaC::ex | a_ |
| GiNaC::ex | b_ |
Static Private Attributes | |
| __repr__ = _swig_repr | |
| __swig_destroy__ = _SyFi.delete_Line | |
| SyFi::Line::Line | ( | const std::string & | subscript = "" | ) | [inline] |
| SyFi::Line::Line | ( | GiNaC::ex | x0, |
| GiNaC::ex | x1, | ||
| const std::string & | subscript = "" |
||
| ) |
| SyFi::Line::Line | ( | const Line & | line | ) |
| virtual SyFi::Line::~Line | ( | ) | [inline, virtual] |
| def SyFi::Line::__init__ | ( | self, | |
| args | |||
| ) |
__init__(SyFi::Line self, std::string const & subscript="") -> Line __init__(SyFi::Line self) -> Line __init__(SyFi::Line self, GiNaC::ex x0, GiNaC::ex x1, std::string const & subscript="") -> Line __init__(SyFi::Line self, GiNaC::ex x0, GiNaC::ex x1) -> Line __init__(SyFi::Line self, Line line) -> Line
Reimplemented in SyFi::ReferenceLine.
Definition at line 1605 of file SyFi.py.
01605 01606 def __init__(self, *args): 01607 """ 01608 __init__(SyFi::Line self, std::string const & subscript="") -> Line 01609 __init__(SyFi::Line self) -> Line 01610 __init__(SyFi::Line self, GiNaC::ex x0, GiNaC::ex x1, std::string const & subscript="") -> Line 01611 __init__(SyFi::Line self, GiNaC::ex x0, GiNaC::ex x1) -> Line 01612 __init__(SyFi::Line self, Line line) -> Line 01613 """ _SyFi.Line_swiginit(self,_SyFi.new_Line(*args))
| ex SyFi::Line::a | ( | ) | const |
Definition at line 135 of file Polygon.cpp.
References a_.
Referenced by _wrap_Line_a(), and a().
{
return a_;
}
| def SyFi::Line::a | ( | self | ) |
| ex SyFi::Line::b | ( | ) | const |
Definition at line 140 of file Polygon.cpp.
References b_.
Referenced by _wrap_Line_b(), and b().
{
return b_;
}
| def SyFi::Line::b | ( | self | ) |
| Line * SyFi::Line::copy | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 362 of file Polygon.cpp.
References Line().
Referenced by copy(), and SyFi::SpaceTimeDomain::SpaceTimeDomain().
{
return new Line(*this);
}
| def SyFi::Line::copy | ( | self | ) |
copy(Line self) -> Line
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 1639 of file SyFi.py.
References copy(), and SyFi.new_instancemethod.
01639 01640 def copy(self): 01641 """copy(Line self) -> Line""" 01642 return _SyFi.Line_copy(self) 01643 01644 Line.a = new_instancemethod(_SyFi.Line_a,None,Line) 01645 Line.b = new_instancemethod(_SyFi.Line_b,None,Line) 01646 Line.repr = new_instancemethod(_SyFi.Line_repr,None,Line) 01647 Line.integrate = new_instancemethod(_SyFi.Line_integrate,None,Line) Line.copy = new_instancemethod(_SyFi.Line_copy,None,Line)
| 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::CrouzeixRaviart::compute_basis_functions(), SyFi::Nedelec::compute_basis_functions(), SyFi::RaviartThomas::compute_basis_functions(), SyFi::Robust::compute_basis_functions(), SyFi::Robust::compute_basis_functions_old(), SyFi::SpaceTimeDomain::integrate(), integrate(), and main().
| def SyFi::Line::integrate | ( | self, | |
| args | |||
| ) |
integrate(Line self, GiNaC::ex f, SyFi::Repr_format format=SUBS_PERFORMED) -> GiNaC::ex integrate(Line self, GiNaC::ex f) -> GiNaC::ex
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 1632 of file SyFi.py.
References integrate().
| 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 145 of file Polygon.cpp.
Referenced by _wrap_Line_repr__SWIG_1(), SyFi::Nedelec::compute_basis_functions(), SyFi::Robust::compute_basis_functions(), SyFi::Robust::compute_basis_functions_old(), main(), SyFi::SpaceTimeDomain::repr(), SyFi::Triangle::repr(), SyFi::Tetrahedron::repr(), and 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(Line self, SyFi::Repr_format format=SUBS_PERFORMED) -> GiNaC::ex repr(Line self) -> GiNaC::ex repr(Line self, GiNaC::ex t, SyFi::Repr_format format=SUBS_PERFORMED) -> GiNaC::ex repr(Line self, GiNaC::ex t) -> GiNaC::ex
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 1623 of file SyFi.py.
References repr().
01623 01624 def repr(self, *args): 01625 """ 01626 repr(Line self, SyFi::Repr_format format=SUBS_PERFORMED) -> GiNaC::ex 01627 repr(Line self) -> GiNaC::ex 01628 repr(Line self, GiNaC::ex t, SyFi::Repr_format format=SUBS_PERFORMED) -> GiNaC::ex 01629 repr(Line self, GiNaC::ex t) -> GiNaC::ex 01630 """ 01631 return _SyFi.Line_repr(self, *args)
| const string SyFi::Line::str | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 233 of file Polygon.cpp.
{
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::__repr__ = _swig_repr [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.
GiNaC::ex SyFi::Line::a_ [protected] |
GiNaC::ex SyFi::Line::b_ [protected] |
tuple SyFi::Line::thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') [static] |
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.