|
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 1865 of file SyFi.py.
01865 01866 def __init__(self, *args): 01867 """ 01868 __init__(SyFi::Line self, std::string const & subscript) -> Line 01869 __init__(SyFi::Line self) -> Line 01870 __init__(SyFi::Line self, GiNaC::ex x0, GiNaC::ex x1, std::string const & subscript) -> Line 01871 __init__(SyFi::Line self, GiNaC::ex x0, GiNaC::ex x1) -> Line 01872 __init__(SyFi::Line self, Line line) -> Line 01873 """ _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 1904 of file SyFi.py.
References copy(), and SyFi.new_instancemethod.
01904 01905 def copy(self): 01906 """copy(Line self) -> Line""" 01907 return _SyFi.Line_copy(self) 01908 01909 Line.a = new_instancemethod(_SyFi.Line_a, None, Line) 01910 Line.b = new_instancemethod(_SyFi.Line_b, None, Line) 01911 Line.repr = new_instancemethod(_SyFi.Line_repr, None, Line) 01912 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) -> GiNaC::ex integrate(Line self, GiNaC::ex f) -> GiNaC::ex
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 1896 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) -> GiNaC::ex repr(Line self) -> GiNaC::ex repr(Line self, GiNaC::ex t, SyFi::Repr_format format) -> GiNaC::ex repr(Line self, GiNaC::ex t) -> GiNaC::ex
Reimplemented from SyFi::Polygon.
Reimplemented in SyFi::ReferenceLine.
Definition at line 1886 of file SyFi.py.
References repr().
01886 01887 def repr(self, *args): 01888 """ 01889 repr(Line self, SyFi::Repr_format format) -> GiNaC::ex 01890 repr(Line self) -> GiNaC::ex 01891 repr(Line self, GiNaC::ex t, SyFi::Repr_format format) -> GiNaC::ex 01892 repr(Line self, GiNaC::ex t) -> GiNaC::ex 01893 """ 01894 return _SyFi.Line_repr(self, *args) 01895
| 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.