#include <source/apputils/embedded_boundary/BoundaryNode.h>
Information maintained by the struct includes the following:
SAMRAI::appu::BoundaryNode< DIM >::BoundaryNode | ( | ) |
Create a new ``empty'' BoundaryNode.
SAMRAI::appu::BoundaryNode< DIM >::BoundaryNode | ( | const pdat::NodeIndex< DIM > & | in | ) |
Create a new cut cell with specified node index.
SAMRAI::appu::BoundaryNode< DIM >::BoundaryNode | ( | const appu::BoundaryNode< DIM > & | bdry_node | ) |
The copy constructor copies the data of the argument cell.
SAMRAI::appu::BoundaryNode< DIM >::~BoundaryNode | ( | ) |
The destructor for BoundaryNode.
void SAMRAI::appu::BoundaryNode< DIM >::setOnBoundaryThreshold | ( | const double | th | ) | [static] |
Set threshold for determining whether a node is on the boundary (if not set, the default is 1.e-6).
BoundaryNode< DIM > & SAMRAI::appu::BoundaryNode< DIM >::operator= | ( | const appu::BoundaryNode< DIM > & | bdry_node | ) |
The assignment operator copies the data of the argument cell.
pdat::NodeIndex< DIM > SAMRAI::appu::BoundaryNode< DIM >::getIndex | ( | ) | const |
Returns the index (i,j,k) of the node.
bool SAMRAI::appu::BoundaryNode< DIM >::getNodeOnBoundary | ( | ) | const |
Returns whether the boundary node is on the embedded boundary.
int SAMRAI::appu::BoundaryNode< DIM >::getNumberOfNearestNeighborNodes | ( | ) | const |
Return the number of nearest neighbor nodes.
int SAMRAI::appu::BoundaryNode< DIM >::getNumberOfOutsideNeighborNodes | ( | ) | const |
Return the number of outside neighbor nodes.
tbox::Array< pdat::NodeIndex< DIM > > SAMRAI::appu::BoundaryNode< DIM >::getNearestNeighborNodes | ( | ) | const |
Returns the array of nearest neighbor nodes.
pdat::NodeIndex< DIM > SAMRAI::appu::BoundaryNode< DIM >::getNearestNeighborNode | ( | const int | i | ) | const |
Returns the designated neighbor node.
const double * SAMRAI::appu::BoundaryNode< DIM >::getClosestBoundaryPoint | ( | ) | const |
Returns the location of the closest point on the boundary to the node.
double SAMRAI::appu::BoundaryNode< DIM >::getClosestBoundaryPoint | ( | const int | i | ) | const |
Returns the ith element of the location of the closest point on the boundary to the node.
double SAMRAI::appu::BoundaryNode< DIM >::getDistanceToBoundary | ( | ) | const |
Returns the distance to the embedded boundary.
const double * SAMRAI::appu::BoundaryNode< DIM >::getNormalToBoundary | ( | ) | const |
Returns the normal vector to the boundary.
double SAMRAI::appu::BoundaryNode< DIM >::getNormalToBoundary | ( | const int | i | ) | const |
Returns the ith component of the normal vector to the boundary.
void SAMRAI::appu::BoundaryNode< DIM >::setNodeOnBoundary | ( | ) |
Returns whether the boundary node is on the embedded boundary.
void SAMRAI::appu::BoundaryNode< DIM >::setNumOutsideNeighborNodes | ( | tbox::Pointer< pdat::NodeData< DIM, int > > & | node_flag, | |
hier::Index< DIM > & | cut_cell_index | |||
) |
Set the number of outside neighbor nodes for the boundary node.
void SAMRAI::appu::BoundaryNode< DIM >::setNearestNeighborNode | ( | pdat::NodeIndex< DIM > & | index | ) |
Sets the nearest neighbor node.
void SAMRAI::appu::BoundaryNode< DIM >::setNearestNeighborNodes | ( | tbox::Pointer< pdat::NodeData< DIM, int > > & | node_flag, | |
hier::Index< DIM > & | cut_cell_index | |||
) |
Set the nearest neighbor nodes for the boundary node.
void SAMRAI::appu::BoundaryNode< DIM >::setClosestBoundaryPoint | ( | const double * | location | ) |
Sets the location of the closest point on the b oundary to the node.
void SAMRAI::appu::BoundaryNode< DIM >::setClosestBoundaryPoint | ( | const double | location, | |
const int | i | |||
) |
Sets the ith element of the location of the closest point on the boundary to the node.
void SAMRAI::appu::BoundaryNode< DIM >::setDistanceToBoundary | ( | tbox::Pointer< hier::Patch< DIM > > & | patch | ) |
Sets the distance to the embedded boundary. If the patch is provided as an argument, and the distance will be computed. Otherwise, it will be set to the supplied value.
void SAMRAI::appu::BoundaryNode< DIM >::setDistanceToBoundary | ( | const double | dist | ) |
void SAMRAI::appu::BoundaryNode< DIM >::setNormalToBoundary | ( | tbox::Pointer< hier::Patch< DIM > > & | patch | ) |
Sets the normal vector to the embedded boundary. If the patch is provided as an argument, and the normal will be computed. Otherwise, it will be set to the supplied value.
void SAMRAI::appu::BoundaryNode< DIM >::setNormalToBoundary | ( | const double * | normal | ) |
void SAMRAI::appu::BoundaryNode< DIM >::setNormalToBoundary | ( | const double | normal, | |
const int | i | |||
) |