Molassembler  1.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Scine::Molassembler::Shapes::Data::TrigonalPrism Struct Reference

A regular trigonal prism shape. More...

#include <Data.h>

Static Public Member Functions

static constexpr double angleFunction (const unsigned a, const unsigned b)
 

Static Public Attributes

static constexpr Shape shape = Shape::TrigonalPrism
 
static constexpr PointGroup pointGroup = PointGroup::D3h
 
static constexpr unsigned size = 6
 
static constexpr char stringName [] = "trigonal prism"
 
static constexpr std::array
< Temple::Vector, 6 > 
coordinates
 
static constexpr auto angleLookupTable
 
static constexpr std::array
< std::array< unsigned, 6 >, 2 > 
rotations
 
static constexpr std::array
< std::array< unsigned, 4 >, 2 > 
tetrahedra
 
static constexpr std::array
< unsigned, 6 > 
mirror {{0, 2, 1, 3, 5, 4}}
 

Detailed Description

A regular trigonal prism shape.

Squares and equilateral triangles as faces.

*
*   2  0  1
*    : | :
*     (_)
*    : | :
*   5  3  3
*
* Where /, \ denote bonds in front of the view plane, : denotes bonds
* behind the view plane.
*
* 

Field Documentation

constexpr auto Scine::Molassembler::Shapes::Data::TrigonalPrism::angleLookupTable
static
Initial value:
Detail::makeArray<size>(coordinates)
)
constexpr std::array<Temple::Vector, 6> Scine::Molassembler::Shapes::Data::TrigonalPrism::coordinates
static
Initial value:
{{
{ 0.755929, 0.000000, 0.654654},
{-0.377964, 0.654654, 0.654654},
{-0.377964, -0.654654, 0.654654},
{ 0.755929, 0.000000, -0.654654},
{-0.377964, 0.654654, -0.654654},
{-0.377964, -0.654654, -0.654654}
}}
constexpr std::array< std::array<unsigned, 6>, 2 > Scine::Molassembler::Shapes::Data::TrigonalPrism::rotations
static
Initial value:
{{
{{2, 0, 1, 5, 3, 4}},
{{3, 5, 4, 0, 2, 1}}
}}
constexpr std::array< std::array<unsigned, 4>, 2 > Scine::Molassembler::Shapes::Data::TrigonalPrism::tetrahedra
static
Initial value:
{{
{{ORIGIN_PLACEHOLDER, 0, 2, 1}},
{{3, ORIGIN_PLACEHOLDER, 5, 4}}
}}

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