Classes | |
| struct | phelm::Polynom |
| Polynom of variables (x, y). More... | |
Functions | |
| Polynom | phelm::Polynom::diff (const Polynom &p, int i) |
| A derivative of the polynom with respect to x or y. | |
| double | phelm::Polynom::integrate (const Polynom &p, const Triangle &t, const std::vector< MeshPoint > &ps) |
| Takes the integral of Polynom over the Triangle t. | |
| double | phelm::Polynom::integrate_cos (const Polynom &p, const Triangle &t, const std::vector< MeshPoint > &ps) |
| Takes the integral of Polynom over the Triangle t. | |
| double | phelm::Polynom::integrate_sin (const Polynom &p, const Triangle &t, const std::vector< MeshPoint > &ps) |
| Takes the integral of Polynom over the Triangle t. | |
| double | phelm::Polynom::integrate_1_cos (const Polynom &p, const Triangle &t, const std::vector< MeshPoint > &ps) |
| Takes the integral of Polynom over the Triangle t. | |
| Polynom | phelm::Polynom::operator* (const Polynom &p1, const Polynom &p2) |
| A product of polynom p1 by polynom p2. | |
| Polynom | phelm::Polynom::operator- (const Polynom &p1, const Polynom &p2) |
| A difference of two polynoms. | |
| Polynom | phelm::Polynom::operator+ (const Polynom &p1, const Polynom &p2) |
| A sum of two polynoms. | |
| Polynom | phelm::Polynom::operator- (const Polynom &p1, double x) |
| A difference between a polynom and a number. | |
| Polynom | phelm::Polynom::operator* (const Polynom &p1, double x) |
| A product of a polynom p1 by a number x. | |
Variables | |
| const Polynom | phelm::Polynom::P2X |
The polynom: . | |
| const Polynom | phelm::Polynom::P2Y |
The polynom: . | |
| Polynom diff | ( | const Polynom & | p, | |
| int | i | |||
| ) | [related, inherited] |
A derivative of the polynom with respect to x or y.
If i equals to 0 then calculate a derivative with respect to x. If i equals to 0 then calculate a derivative with respect to y. Calculates
or
.
| p | - the polynom | |
| i | - 0 or 1 (x or y) |
or
. Definition at line 131 of file polynom.cpp.
| double integrate | ( | const Polynom & | p, | |
| const Triangle & | t, | |||
| const std::vector< MeshPoint > & | ps | |||
| ) | [related, inherited] |
Takes the integral of Polynom over the Triangle t.
| p | - the polynom | |
| t | - the triangle | |
| ps | - the mesh points |
Definition at line 257 of file polynom.cpp.
| double integrate_1_cos | ( | const Polynom & | p, | |
| const Triangle & | t, | |||
| const std::vector< MeshPoint > & | ps | |||
| ) | [related, inherited] |
Takes the integral of Polynom over the Triangle t.
| p | - the polynom | |
| t | - the triangle | |
| ps | - the mesh points |
Definition at line 272 of file polynom.cpp.
| double integrate_cos | ( | const Polynom & | p, | |
| const Triangle & | t, | |||
| const std::vector< MeshPoint > & | ps | |||
| ) | [related, inherited] |
Takes the integral of Polynom over the Triangle t.
| p | - the polynom | |
| t | - the triangle | |
| ps | - the mesh points |
Definition at line 262 of file polynom.cpp.
| double integrate_sin | ( | const Polynom & | p, | |
| const Triangle & | t, | |||
| const std::vector< MeshPoint > & | ps | |||
| ) | [related, inherited] |
Takes the integral of Polynom over the Triangle t.
| p | - the polynom | |
| t | - the triangle | |
| ps | - the mesh points |
Definition at line 267 of file polynom.cpp.
| Polynom operator* | ( | const Polynom & | p1, | |
| double | x | |||
| ) | [related, inherited] |
A product of polynom p1 by polynom p2.
| p1 | - the polynom | |
| p2 | - the polynom |
Definition at line 277 of file polynom.cpp.
A sum of two polynoms.
| p1 | - the polynom | |
| p2 | - the polynom |
Definition at line 319 of file polynom.cpp.
| Polynom operator- | ( | const Polynom & | p1, | |
| double | x | |||
| ) | [related, inherited] |
A difference of two polynoms.
| p1 | - the polynom | |
| p2 | - the polynom |
Definition at line 304 of file polynom.cpp.