|  | OGS
    | 
#include <vtkType.h>#include <vtkUnstructuredGrid.h>#include <Eigen/Core>#include <range/v3/view/enumerate.hpp>#include <vector>#include "ComputeNaturalCoordsResult.h"Go to the source code of this file.
| Classes | |
| struct | IntersectionResult | 
| Result of an intersection of a line with a cell.  More... | |
| Functions | |
| std::vector< std::vector< IntersectionResult > > | getOrderedAnchorCoords (vtkUnstructuredGrid *grid, Eigen::MatrixX3d const &realcoords, Eigen::VectorXd const &free_fraction, double const tol) | 
| Finds intersection points of a line segment with the cells of a vtkUnstructuredGrid. The line segment is defined by consecutive entries in realcoords. | |
| AU::ComputeNaturalCoordsResult | setPhysicalPropertiesForIntersectionPoints (std::vector< std::vector< IntersectionResult > > const &anchor_coords, AU::ComputeNaturalCoordsResult const &original_anchor_data) | 
| fills the physical properties of the intersection points based on the original anchor data. | |
| std::vector< std::vector< IntersectionResult > > getOrderedAnchorCoords | ( | vtkUnstructuredGrid * | grid, | 
| Eigen::MatrixX3d const & | realcoords, | ||
| Eigen::VectorXd const & | free_fraction, | ||
| double const | tol ) | 
Finds intersection points of a line segment with the cells of a vtkUnstructuredGrid. The line segment is defined by consecutive entries in realcoords.
| grid | The vtkUnstructuredGrid to intersect with. | 
| realcoords | original coordinates of the anchor start and end points. | 
| free_fraction | The fraction of the line segment to consider for intersections. | 
| tol | Tolerance for considering points as identical. | 
Definition at line 136 of file ComputeIntersections.cpp.
References findOrderedIntersections().
Referenced by main().
| AU::ComputeNaturalCoordsResult setPhysicalPropertiesForIntersectionPoints | ( | std::vector< std::vector< IntersectionResult > > const & | anchor_coords, | 
| AU::ComputeNaturalCoordsResult const & | original_anchor_data ) | 
fills the physical properties of the intersection points based on the original anchor data.
| anchor_coords | The intersection points of the anchors with the bulk mesh. | 
| original_anchor_data | The original anchor data read from the JSON file. | 
Definition at line 155 of file ComputeIntersections.cpp.
References ApplicationUtils::ComputeNaturalCoordsResult::anchor_cross_sectional_area, ApplicationUtils::ComputeNaturalCoordsResult::anchor_stiffness, ApplicationUtils::ComputeNaturalCoordsResult::initial_anchor_stress, ApplicationUtils::ComputeNaturalCoordsResult::maximum_anchor_stress, ApplicationUtils::ComputeNaturalCoordsResult::real_coords, and ApplicationUtils::ComputeNaturalCoordsResult::residual_anchor_stress.
Referenced by main().