Flow123d
JS_before_hm-1804-gf2ad740aa
|
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) | |
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... | |
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... | |
arma::vec3 | coords (ElementAccessor< 3 > comp_ele) const |
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 86 of file intersection_local.cc.
IntersectionPoint< dimA, dimB >::~IntersectionPoint |
Destructor.
Definition at line 90 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 94 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 99 of file intersection_local.cc.
const arma::vec::fixed< dimB > & IntersectionPoint< dimA, dimB >::bulk_coords |
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 |
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 107 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.