IntersectSweptOneAxis2D Class Reference

Fixture class for intersection moment computation tests when target cells are swept only along one-axis like below. More...

Inheritance diagram for IntersectSweptOneAxis2D:
IntersectSweptBase2D

Protected Member Functions

 IntersectSweptOneAxis2D ()
 

Additional Inherited Members

- Public Member Functions inherited from IntersectSweptBase2D
 IntersectSweptBase2D ()=delete
 Disabled default constructor. More...
 
 IntersectSweptBase2D (double x0, double y0, double x1, double y1)
 Setup each test-case. More...
 
std::vector< int > search (int current) const
 Retrieve all cells incident to the faces of a given cell. More...
 
- Static Public Member Functions inherited from IntersectSweptBase2D
static double compute_swept_area (std::vector< Wonton::Weights_t > const &moments)
 Compute the total swept faces areas. More...
 
static double compute_contribution (int id, std::vector< Wonton::Weights_t > const &moments)
 Compute the given cell area contribution. More...
 
static Wonton::Point< 2 > deduce_centroid (Wonton::Weights_t const &moment)
 Deduce the centroid coordinates from current cell moments. More...
 
- Protected Types inherited from IntersectSweptBase2D
using Intersector = Portage::IntersectSweptFace2D< Wonton::Entity_kind::CELL, Wonton::Jali_Mesh_Wrapper, Wonton::Jali_State_Wrapper, Wonton::Jali_Mesh_Wrapper >
 
- Protected Attributes inherited from IntersectSweptBase2D
Portage::NumericTolerances_t num_tols
 
std::shared_ptr< Jali::Mesh > source_mesh
 
std::shared_ptr< Jali::Mesh > target_mesh
 
std::shared_ptr< Jali::State > source_state
 
std::shared_ptr< Jali::State > target_state
 
Wonton::Jali_Mesh_Wrapper source_mesh_wrapper
 
Wonton::Jali_Mesh_Wrapper target_mesh_wrapper
 
Wonton::Jali_State_Wrapper source_state_wrapper
 
Wonton::Jali_State_Wrapper target_state_wrapper
 
double const unit_face_area = 2.0
 
bool verbose = false
 

Detailed Description

Fixture class for intersection moment computation tests when target cells are swept only along one-axis like below.

_.___.___._ .. displacement vector: (1,0) | : | : | : | : source mesh: plain

_:__:__:_: target mesh: dotted
_:__:__:_:
: : : :
_:__:__:_.:

0 2 4 6

Constructor & Destructor Documentation

◆ IntersectSweptOneAxis2D()

IntersectSweptOneAxis2D::IntersectSweptOneAxis2D ( )
inlineprotected

The documentation for this class was generated from the following file: