|
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 | no_space_dim |
| def | line |
| def | repr |
| def | str |
| def | integrate |
| def | copy |
Public Attributes | |
| this | |
Private Attributes | |
| Line * | time_line |
| Polygon * | polygon |
Static Private Attributes | |
| dictionary | __swig_setmethods__ = {} |
| tuple | __setattr__ = lambdaself,name,value:_swig_setattr(self, SpaceTimeDomain, name, value) |
| dictionary | __swig_getmethods__ = {} |
| tuple | __getattr__ = lambdaself,name:_swig_getattr(self, SpaceTimeDomain, name) |
| __repr__ = _swig_repr | |
| __swig_destroy__ = _SyFi.delete_SpaceTimeDomain | |
Proxy of C++ SyFi::SpaceTimeDomain class
Definition at line 12 of file SpaceTimeElement.h.
Definition at line 13 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 24 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__(self, Line time_line_, Polygon polygon_) -> SpaceTimeDomain __init__(self, SpaceTimeDomain space_time_domain_) -> SpaceTimeDomain
| SpaceTimeDomain * SyFi::SpaceTimeDomain::copy | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Definition at line 19 of file SpaceTimeElement.cpp.
References SpaceTimeDomain().
{
return new SpaceTimeDomain(*this);
}
| def SyFi::SpaceTimeDomain::copy | ( | self | ) |
copy(self) -> SpaceTimeDomain
Reimplemented from SyFi::Polygon.
| Polygon& SyFi::SpaceTimeDomain::get_space_domain | ( | ) | const [inline] |
Definition at line 20 of file SpaceTimeElement.h.
Referenced by SpaceTimeDomain().
{ return *((*polygon).copy()); }
| def SyFi::SpaceTimeDomain::get_space_domain | ( | self | ) |
| Line& SyFi::SpaceTimeDomain::get_time_domain | ( | ) | const [inline] |
Definition at line 21 of file SpaceTimeElement.h.
Referenced by SpaceTimeDomain().
{ return *((*time_line).copy()); }
| def SyFi::SpaceTimeDomain::get_time_domain | ( | self | ) |
| GiNaC::ex SyFi::SpaceTimeDomain::integrate | ( | GiNaC::ex | f, |
| Repr_format | format = SUBS_PERFORMED |
||
| ) | [virtual] |
Implements SyFi::Polygon.
Definition at line 63 of file SpaceTimeElement.cpp.
References SyFi::Line::integrate(), SyFi::Polygon::integrate(), polygon, SyFi::t, time_line, and SyFi::x.
| def SyFi::SpaceTimeDomain::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.
| Line SyFi::SpaceTimeDomain::line | ( | unsigned int | i | ) | const [virtual] |
Reimplemented from SyFi::Polygon.
Definition at line 50 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();
}
| def SyFi::SpaceTimeDomain::line | ( | self, | |
| args | |||
| ) |
line(self, unsigned int i) -> Line
Reimplemented from SyFi::Polygon.
| unsigned int SyFi::SpaceTimeDomain::no_space_dim | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Definition at line 45 of file SpaceTimeElement.cpp.
References SyFi::Polygon::no_space_dim(), and polygon.
{
return polygon->no_space_dim() +1;
}
| def SyFi::SpaceTimeDomain::no_space_dim | ( | self | ) |
no_space_dim(self) -> unsigned int
Reimplemented from SyFi::Polygon.
| def SyFi::SpaceTimeDomain::repr | ( | self, | |
| args | |||
| ) |
repr(self, Repr_format arg0 = SUBS_PERFORMED) -> GiNaC::ex repr(self) -> GiNaC::ex
Reimplemented from SyFi::Polygon.
| GiNaC::ex SyFi::SpaceTimeDomain::repr | ( | Repr_format | format = SUBS_PERFORMED | ) | const [virtual] |
Implements SyFi::Polygon.
Definition at line 58 of file SpaceTimeElement.cpp.
References polygon, SyFi::Polygon::repr(), SyFi::Line::repr(), SyFi::t, and time_line.
Referenced by _wrap_SpaceTimeDomain_repr__SWIG_1().
| const std::string SyFi::SpaceTimeDomain::str | ( | ) | const [virtual] |
Implements SyFi::Polygon.
Definition at line 40 of file SpaceTimeElement.cpp.
References polygon, and SyFi::Polygon::str().
Referenced by _wrap_SpaceTimeDomain_str().
{
return "Time" + polygon->str();
}
| def SyFi::SpaceTimeDomain::str | ( | self | ) |
str(self) -> string
Reimplemented from SyFi::Polygon.
tuple SyFi::SpaceTimeDomain::__getattr__ = lambdaself,name:_swig_getattr(self, SpaceTimeDomain, name) [static, private] |
Reimplemented from SyFi::Polygon.
SyFi::SpaceTimeDomain::__repr__ = _swig_repr [static, private] |
Reimplemented from SyFi::Polygon.
tuple SyFi::SpaceTimeDomain::__setattr__ = lambdaself,name,value:_swig_setattr(self, SpaceTimeDomain, name, value) [static, private] |
Reimplemented from SyFi::Polygon.
SyFi::SpaceTimeDomain::__swig_destroy__ = _SyFi.delete_SpaceTimeDomain [static, private] |
Reimplemented from SyFi::Polygon.
dictionary SyFi::SpaceTimeDomain::__swig_getmethods__ = {} [static, private] |
Reimplemented from SyFi::Polygon.
dictionary SyFi::SpaceTimeDomain::__swig_setmethods__ = {} [static, private] |
Reimplemented from SyFi::Polygon.
Polygon* SyFi::SpaceTimeDomain::polygon [private] |
Definition at line 15 of file SpaceTimeElement.h.
Referenced by integrate(), no_space_dim(), repr(), SpaceTimeDomain(), and str().
Line* SyFi::SpaceTimeDomain::time_line [private] |
Definition at line 14 of file SpaceTimeElement.h.
Referenced by integrate(), repr(), and SpaceTimeDomain().