IOSS 2.0
Loading...
Searching...
No Matches
Ioss::ElementPermutation Class Reference

#include <Ioss_ElementPermutation.h>

Inheritance diagram for Ioss::ElementPermutation:
[legend]

Public Member Functions

 ElementPermutation (const ElementPermutation &)=delete
 
ElementPermutationoperator= (const ElementPermutation &)=delete
 
virtual ~ElementPermutation ()=default
 
IOSS_NODISCARD unsigned num_permutations () const
 
IOSS_NODISCARD unsigned num_positive_permutations () const
 
IOSS_NODISCARD bool is_positive_polarity (Permutation permutation) const
 
IOSS_NODISCARD bool valid_permutation (Permutation permutation) const
 
bool fill_permutation_indices (Permutation permutation, std::vector< Ordinal > &nodeOrdinalVector) const
 
IOSS_NODISCARD std::vector< Ordinalpermutation_indices (Permutation permutation) const
 
IOSS_NODISCARD Permutation num_permutation_nodes () const
 
IOSS_NODISCARD const std::string & type () const
 
IOSS_NODISCARD bool operator== (const Ioss::ElementPermutation &rhs) const
 
IOSS_NODISCARD bool operator!= (const Ioss::ElementPermutation &rhs) const
 
IOSS_NODISCARD bool equal (const Ioss::ElementPermutation &rhs) const
 

Static Public Member Functions

static IOSS_NODISCARD ElementPermutationfactory (const std::string &type)
 
static int describe (NameList *names)
 Get the names of element permutations known to Ioss.
 
static IOSS_NODISCARD NameList describe ()
 Get the names of element permutations known to Ioss.
 

Protected Member Functions

 ElementPermutation (std::string type, bool delete_me=false)
 
void set_permutation (Permutation numPermutationNodes_, Permutation numPermutations_, Permutation numPositivePermutations_, const std::vector< std::vector< Permutation > > &permutationNodeOrdinals_)
 

Static Protected Member Functions

static EPRegistryregistry ()
 

Private Member Functions

bool equal_ (const Ioss::ElementPermutation &rhs, bool quiet) const
 

Private Attributes

std::string m_type {}
 
Permutation m_numPermutations {0}
 
Permutation m_numPositivePermutations {0}
 
Permutation m_numPermutationNodes {0}
 
std::vector< std::vector< Permutation > > m_permutationNodeOrdinals {}
 

Constructor & Destructor Documentation

◆ ElementPermutation() [1/2]

Ioss::ElementPermutation::ElementPermutation ( const ElementPermutation & )
delete

◆ ~ElementPermutation()

virtual Ioss::ElementPermutation::~ElementPermutation ( )
virtualdefault

◆ ElementPermutation() [2/2]

Ioss::ElementPermutation::ElementPermutation ( std::string type,
bool delete_me = false )
explicitprotected

Member Function Documentation

◆ describe() [1/2]

NameList Ioss::ElementPermutation::describe ( )
static

Get the names of element permutations known to Ioss.

Returns
The list of known element topology names.

◆ describe() [2/2]

int Ioss::ElementPermutation::describe ( NameList * names)
static

Get the names of element permutations known to Ioss.

Parameters
[out]namesThe list of known element topology names.
Returns
The number of known element topologies.

◆ equal()

bool Ioss::ElementPermutation::equal ( const Ioss::ElementPermutation & rhs) const

◆ equal_()

bool Ioss::ElementPermutation::equal_ ( const Ioss::ElementPermutation & rhs,
bool quiet ) const
private

◆ factory()

ElementPermutation * Ioss::ElementPermutation::factory ( const std::string & type)
static

◆ fill_permutation_indices()

bool Ioss::ElementPermutation::fill_permutation_indices ( Permutation permutation,
std::vector< Ordinal > & nodeOrdinalVector ) const

◆ is_positive_polarity()

bool Ioss::ElementPermutation::is_positive_polarity ( Permutation permutation) const

◆ num_permutation_nodes()

Permutation Ioss::ElementPermutation::num_permutation_nodes ( ) const

◆ num_permutations()

unsigned Ioss::ElementPermutation::num_permutations ( ) const

◆ num_positive_permutations()

unsigned Ioss::ElementPermutation::num_positive_permutations ( ) const

◆ operator!=()

bool Ioss::ElementPermutation::operator!= ( const Ioss::ElementPermutation & rhs) const

◆ operator=()

ElementPermutation & Ioss::ElementPermutation::operator= ( const ElementPermutation & )
delete

◆ operator==()

bool Ioss::ElementPermutation::operator== ( const Ioss::ElementPermutation & rhs) const

◆ permutation_indices()

std::vector< Ordinal > Ioss::ElementPermutation::permutation_indices ( Permutation permutation) const

◆ registry()

EPRegistry & Ioss::ElementPermutation::registry ( )
staticprotected

◆ set_permutation()

void Ioss::ElementPermutation::set_permutation ( Permutation numPermutationNodes_,
Permutation numPermutations_,
Permutation numPositivePermutations_,
const std::vector< std::vector< Permutation > > & permutationNodeOrdinals_ )
protected

◆ type()

const std::string & Ioss::ElementPermutation::type ( ) const

◆ valid_permutation()

bool Ioss::ElementPermutation::valid_permutation ( Permutation permutation) const

Member Data Documentation

◆ m_numPermutationNodes

Permutation Ioss::ElementPermutation::m_numPermutationNodes {0}
private

◆ m_numPermutations

Permutation Ioss::ElementPermutation::m_numPermutations {0}
private

◆ m_numPositivePermutations

Permutation Ioss::ElementPermutation::m_numPositivePermutations {0}
private

◆ m_permutationNodeOrdinals

std::vector<std::vector<Permutation> > Ioss::ElementPermutation::m_permutationNodeOrdinals {}
private

◆ m_type

std::string Ioss::ElementPermutation::m_type {}
private

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