Celeritas 0.6.0-68+develop.14b3ec5f
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::orangeinp::InfPolarWedge Class Referencefinal

Select a polar (latitudinal) region. More...

#include <IntersectRegion.hh>

Inheritance diagram for celeritas::orangeinp::InfPolarWedge:
Inheritance graph
[legend]

Public Member Functions

 InfPolarWedge (Turn start, Turn stop)
 Construct from a starting angle and stop angle.
 
void build (IntersectSurfaceBuilder &) const final
 Build surfaces.
 
void output (JsonPimpl *) const final
 Write output to the given JSON object.
 
Turn start () const
 Starting angle.
 
Turn stop () const
 stop angle
 

Additional Inherited Members

- Protected Member Functions inherited from celeritas::orangeinp::IntersectRegionInterface
 CELER_DEFAULT_COPY_MOVE (IntersectRegionInterface)
 

Detailed Description

Select a polar (latitudinal) region.

This uses an equatorial plane and up to two cones to slice a polar-coordinate region from the origin. A polar wedge always defines a region in a single hemisphere: either \( z >= 0 \) or \( z <= 0 \), corresponding to an stop range of [0, .25] turns or [0.25, 0.5] turns.

Member Function Documentation

◆ build()

void celeritas::orangeinp::InfPolarWedge::build ( IntersectSurfaceBuilder insert_surface) const
finalvirtual

Build surfaces.

Names use 'pw' for polar wedge, 'z' for plane:

  • pwm: middle plane
  • pwt: top cone
  • pwb: bottom cone

Implements celeritas::orangeinp::IntersectRegionInterface.

◆ output()

void celeritas::orangeinp::InfPolarWedge::output ( JsonPimpl j) const
finalvirtual

Write output to the given JSON object.

Implements celeritas::orangeinp::IntersectRegionInterface.


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