Flow123d
release_3.0.0-1211-g84d0b74
|
Class represents an intersection point of simplex<N> and simplex<M>. It contains barycentric coordinates of the point on both simplices. More...
#include <intersection_local.hh>
Public Member Functions | |
IntersectionPoint () | |
Default constructor. More... | |
~IntersectionPoint () | |
Destructor. More... | |
IntersectionPoint (const IntersectionPointAux< dimA, dimB > &p) | |
Constructs IP from the auxiliary one coming from computation. More... | |
IntersectionPoint (const arma::vec::fixed< dimA > &comp_coords, const arma::vec::fixed< dimB > &bulk_coords) | |
arma::vec3 | coords (ElementAccessor< 3 > comp_ele) const |
Getters. | |
const arma::vec::fixed< dimA > & | comp_coords () const |
Returns local coordinates in the Simplex<N>. More... | |
const arma::vec::fixed< dimB > & | bulk_coords () const |
Returns local coordinates in the Simplex<M>. More... | |
Private Attributes | |
arma::vec::fixed< dimA > | comp_coords_ |
Local coordinates of an IP on simplex<dimA>. More... | |
arma::vec::fixed< dimB > | bulk_coords_ |
Local coordinates of an IP on simplex<dimB>. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const IntersectionPoint< dimA, dimB > &IP) |
Friend output operator. More... | |
Class represents an intersection point of simplex<N> and simplex<M>. It contains barycentric coordinates of the point on both simplices.
Definition at line 32 of file intersection_local.hh.
IntersectionPoint< dimA, dimB >::IntersectionPoint | ( | ) |
Default constructor.
Definition at line 87 of file intersection_local.cc.
IntersectionPoint< dimA, dimB >::~IntersectionPoint | ( | ) |
Destructor.
Definition at line 91 of file intersection_local.cc.
IntersectionPoint< dimA, dimB >::IntersectionPoint | ( | const IntersectionPointAux< dimA, dimB > & | p | ) |
Constructs IP from the auxiliary one coming from computation.
Definition at line 95 of file intersection_local.cc.
IntersectionPoint< dimA, dimB >::IntersectionPoint | ( | const arma::vec::fixed< dimA > & | comp_coords, |
const arma::vec::fixed< dimB > & | bulk_coords | ||
) |
Constructor taking local coordinates on simplices as input parameters.
comp_coords | local coordinates of IP in Simplex<dimA> |
bulk_coords | local coordinates of IP in Simplex<dimB> |
Definition at line 100 of file intersection_local.cc.
const arma::vec::fixed< dimB > & IntersectionPoint< dimA, dimB >::bulk_coords | ( | ) | const |
Returns local coordinates in the Simplex<M>.
Definition at line 200 of file intersection_local.hh.
const arma::vec::fixed< dimA > & IntersectionPoint< dimA, dimB >::comp_coords | ( | ) | const |
Returns local coordinates in the Simplex<N>.
Definition at line 196 of file intersection_local.hh.
arma::vec3 IntersectionPoint< dimA, dimB >::coords | ( | ElementAccessor< 3 > | comp_ele | ) | const |
Computes the real coordinates. comp_ele is component element
Definition at line 108 of file intersection_local.cc.
|
friend |
Friend output operator.
|
private |
Local coordinates of an IP on simplex<dimB>.
Definition at line 156 of file intersection_local.hh.
|
private |
Local coordinates of an IP on simplex<dimA>.
Definition at line 155 of file intersection_local.hh.