SpECTRE  v2024.06.05
domain::creators::bco Namespace Reference

Namespace used to hold things used in both the BinaryCompactObject and CylindricalBinaryCompactObject domain creators. More...

Classes

struct  TimeDependentMapOptions
 This holds all options related to the time dependent maps of the binary compact object domains. More...
 

Functions

std::unordered_map< std::string, tnsr::I< double, 3, Frame::Grid > > create_grid_anchors (const std::array< double, 3 > &center_a, const std::array< double, 3 > &center_b)
 Create a set of centers of objects for the binary domains. More...
 

Detailed Description

Namespace used to hold things used in both the BinaryCompactObject and CylindricalBinaryCompactObject domain creators.

Function Documentation

◆ create_grid_anchors()

std::unordered_map< std::string, tnsr::I< double, 3, Frame::Grid > > domain::creators::bco::create_grid_anchors ( const std::array< double, 3 > &  center_a,
const std::array< double, 3 > &  center_b 
)

Create a set of centers of objects for the binary domains.

Details

Will add the following centers to the set:

  • Center: The origin
  • CenterA: Center of object A
  • CenterB: Center of object B

Returns: Object required by the DomainCreators