#include <Polygon.h>
Inheritance diagram for ReferenceTetrahedron:
Public Member Functions | |
ReferenceTetrahedron (string subscript="") | |
~ReferenceTetrahedron () | |
virtual int | no_vertices () |
virtual ex | vertex (int i) |
virtual Line | line (int i) |
virtual Triangle | triangle (int i) |
virtual ex | repr (Repr_format format=SUBS_PERFORMED) |
virtual string | str () |
virtual ex | integrate (ex f, Repr_format=SUBS_PERFORMED) |
Definition at line 130 of file Polygon.h.
|
Definition at line 577 of file Polygon.cpp. References Polygon::p, and Polygon::subscript. 00577 : Tetrahedron(subscript_) { 00578 subscript = subscript_; 00579 ex x0 = lst(0, 0, 0); 00580 ex x1 = lst(1, 0, 0); 00581 ex x2 = lst(0, 1, 0); 00582 ex x3 = lst(0, 0, 1); 00583 00584 p.insert(p.end(), x0); 00585 p.insert(p.end(), x1); 00586 p.insert(p.end(), x2); 00587 p.insert(p.end(), x3); 00588 }
|
|
Definition at line 133 of file Polygon.h.
|
|
Reimplemented from Tetrahedron. Definition at line 613 of file Polygon.cpp. 00613 { 00614 // FIXME can not have two integrals and then two eval_integ ? 00615 // Does not integrate over 3D. 00616 00617 ex intf = integral(x,0,1-y-z,f); 00618 intf = eval_integ(intf); 00619 00620 intf = integral(y,0,1-z, intf); 00621 intf = eval_integ(intf); 00622 00623 intf = integral(z,0,1, intf); 00624 intf = eval_integ(intf); 00625 00626 return intf; 00627 }
|
|
Reimplemented from Tetrahedron. Definition at line 598 of file Polygon.cpp. References Tetrahedron::line(). 00598 { 00599 return Tetrahedron:: line(i); 00600 }
|
|
Reimplemented from Tetrahedron. Definition at line 590 of file Polygon.cpp.
|
|
Reimplemented from Tetrahedron. Definition at line 139 of file Polygon.h.
|
|
Reimplemented from Tetrahedron. Definition at line 606 of file Polygon.cpp. 00606 { 00607 std::ostringstream s; 00608 // s <<"ReferenceTetrahedron("<<p[0]<<","<<p[1]<<","<<p[2]<<","<<p[3]<<")"<<endl; 00609 s <<"ReferenceTetrahedron"; 00610 return s.str(); 00611 }
|
|
Reimplemented from Tetrahedron. Definition at line 602 of file Polygon.cpp. References Tetrahedron::triangle(). 00602 { 00603 return Tetrahedron:: triangle(i); 00604 }
|
|
Reimplemented from Tetrahedron. Definition at line 594 of file Polygon.cpp. References Tetrahedron::vertex(). 00594 { 00595 return Tetrahedron:: vertex(i); 00596 }
|