SyFi
0.3
|
#include <SpaceTimeElement.h>
Public Member Functions | |
SpaceTimeDomain (Line &time_line_, Polygon &polygon_) | |
SpaceTimeDomain (const SpaceTimeDomain &space_time_domain_) | |
Polygon & | get_space_domain () const |
Line & | get_time_domain () const |
virtual unsigned int | no_space_dim () const |
virtual Line | line (unsigned int i) const |
virtual GiNaC::ex | repr (Repr_format=SUBS_PERFORMED) const |
virtual const std::string | str () const |
virtual GiNaC::ex | integrate (GiNaC::ex f, Repr_format format=SUBS_PERFORMED) |
virtual SpaceTimeDomain * | copy () const |
def | __init__ |
def | get_space_domain |
def | get_time_domain |
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') |
Private Attributes | |
Line * | time_line |
Polygon * | polygon |
Static Private Attributes | |
__repr__ = _swig_repr | |
__swig_destroy__ = _SyFi.delete_SpaceTimeDomain |
Proxy of C++ SyFi::SpaceTimeDomain class
Definition at line 26 of file SpaceTimeElement.h.
SyFi::SpaceTimeDomain::SpaceTimeDomain | ( | Line & | time_line_, |
Polygon & | polygon_ | ||
) |
Definition at line 27 of file SpaceTimeElement.cpp.
References SyFi::Polygon::copy(), SyFi::Line::copy(), polygon, and time_line.
Referenced by copy().
SyFi::SpaceTimeDomain::SpaceTimeDomain | ( | const SpaceTimeDomain & | space_time_domain_ | ) |
Definition at line 38 of file SpaceTimeElement.cpp.
References SyFi::Polygon::copy(), SyFi::Line::copy(), get_space_domain(), get_time_domain(), polygon, and time_line.
def SyFi::SpaceTimeDomain::__init__ | ( | self, | |
args | |||
) |
__init__(SyFi::SpaceTimeDomain self, Line time_line_, Polygon polygon_) -> SpaceTimeDomain __init__(SyFi::SpaceTimeDomain self, SpaceTimeDomain space_time_domain_) -> SpaceTimeDomain
Definition at line 2890 of file SyFi.py.
02890 02891 def __init__(self, *args): 02892 """ 02893 __init__(SyFi::SpaceTimeDomain self, Line time_line_, Polygon polygon_) -> SpaceTimeDomain 02894 __init__(SyFi::SpaceTimeDomain self, SpaceTimeDomain space_time_domain_) -> SpaceTimeDomain 02895 """ 02896 _SyFi.SpaceTimeDomain_swiginit(self,_SyFi.new_SpaceTimeDomain(*args))
SpaceTimeDomain * SyFi::SpaceTimeDomain::copy | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Definition at line 33 of file SpaceTimeElement.cpp.
References SpaceTimeDomain().
Referenced by copy().
{ return new SpaceTimeDomain(*this); }
def SyFi::SpaceTimeDomain::copy | ( | self | ) |
Polygon& SyFi::SpaceTimeDomain::get_space_domain | ( | ) | const [inline] |
Definition at line 34 of file SpaceTimeElement.h.
Referenced by get_space_domain(), and SpaceTimeDomain().
{ return *((*polygon).copy()); }
def SyFi::SpaceTimeDomain::get_space_domain | ( | self | ) |
get_space_domain(SpaceTimeDomain self) -> Polygon
Definition at line 2897 of file SyFi.py.
References get_space_domain().
02897 02898 def get_space_domain(self): 02899 """get_space_domain(SpaceTimeDomain self) -> Polygon""" 02900 return _SyFi.SpaceTimeDomain_get_space_domain(self) 02901
Line& SyFi::SpaceTimeDomain::get_time_domain | ( | ) | const [inline] |
Definition at line 35 of file SpaceTimeElement.h.
Referenced by get_time_domain(), and SpaceTimeDomain().
{ return *((*time_line).copy()); }
def SyFi::SpaceTimeDomain::get_time_domain | ( | self | ) |
get_time_domain(SpaceTimeDomain self) -> Line
Definition at line 2902 of file SyFi.py.
References get_time_domain().
02902 02903 def get_time_domain(self): 02904 """get_time_domain(SpaceTimeDomain self) -> Line""" 02905 return _SyFi.SpaceTimeDomain_get_time_domain(self) 02906
GiNaC::ex SyFi::SpaceTimeDomain::integrate | ( | GiNaC::ex | f, |
Repr_format | format = SUBS_PERFORMED |
||
) | [virtual] |
Implements SyFi::Polygon.
Definition at line 77 of file SpaceTimeElement.cpp.
References SyFi::Polygon::integrate(), SyFi::Line::integrate(), polygon, SyFi::t, time_line, and SyFi::x.
Referenced by integrate().
def SyFi::SpaceTimeDomain::integrate | ( | self, | |
args | |||
) |
integrate(SpaceTimeDomain self, GiNaC::ex f, SyFi::Repr_format format) -> GiNaC::ex integrate(SpaceTimeDomain self, GiNaC::ex f) -> GiNaC::ex
Reimplemented from SyFi::Polygon.
Definition at line 2915 of file SyFi.py.
References integrate().
Line SyFi::SpaceTimeDomain::line | ( | unsigned int | i | ) | const [virtual] |
Reimplemented from SyFi::Polygon.
Definition at line 64 of file SpaceTimeElement.cpp.
{ //FIXME // Could use the convention that the time line is the first line, the // next lines are the lines in the polygon return Line(); }
unsigned int SyFi::SpaceTimeDomain::no_space_dim | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Definition at line 59 of file SpaceTimeElement.cpp.
References SyFi::Polygon::no_space_dim(), and polygon.
{ return polygon->no_space_dim() +1; }
GiNaC::ex SyFi::SpaceTimeDomain::repr | ( | Repr_format | format = SUBS_PERFORMED | ) | const [virtual] |
Implements SyFi::Polygon.
Definition at line 72 of file SpaceTimeElement.cpp.
References polygon, SyFi::Polygon::repr(), SyFi::Line::repr(), SyFi::t, and time_line.
Referenced by _wrap_SpaceTimeDomain_repr__SWIG_1(), and repr().
def SyFi::SpaceTimeDomain::repr | ( | self, | |
args | |||
) |
repr(SpaceTimeDomain self, SyFi::Repr_format arg2) -> GiNaC::ex repr(SpaceTimeDomain self) -> GiNaC::ex
Reimplemented from SyFi::Polygon.
Definition at line 2907 of file SyFi.py.
References repr().
const std::string SyFi::SpaceTimeDomain::str | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Definition at line 54 of file SpaceTimeElement.cpp.
References polygon, and SyFi::Polygon::str().
SyFi::SpaceTimeDomain::__repr__ = _swig_repr [static, private] |
Reimplemented from SyFi::Polygon.
SyFi::SpaceTimeDomain::__swig_destroy__ = _SyFi.delete_SpaceTimeDomain [static, private] |
Reimplemented from SyFi::Polygon.
Polygon* SyFi::SpaceTimeDomain::polygon [private] |
Definition at line 29 of file SpaceTimeElement.h.
Referenced by integrate(), no_space_dim(), repr(), SpaceTimeDomain(), and str().
tuple SyFi::SpaceTimeDomain::thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag') [static] |
Reimplemented from SyFi::Polygon.
Line* SyFi::SpaceTimeDomain::time_line [private] |
Definition at line 28 of file SpaceTimeElement.h.
Referenced by integrate(), repr(), and SpaceTimeDomain().