VTK  9.7.20260802
vtkFLUENTCFFInternal Namespace Reference

internal utilities for vtkFLUENTCFFReader More...

Functions

std::string GetMatchingFieldName (const std::string &strSectionName)
 Retrieve the correct field name.
 
bool RemoveTrailingIndex (std::string &fieldName)
 Remove the trailing index of the string if it ends by "_1" or any other digit.
 
bool RemoveSuffixIfPresent (std::string &fieldName, const std::string &suffix)
 Remove the suffix passed in argument if it is prensent in the field name.
 
const std::unordered_map< std::string, std::string > & FieldsNamesMap ()
 

Detailed Description

internal utilities for vtkFLUENTCFFReader

Utility methods used by vtkFLUENTCFFReader to retrieve the matching array name.

Function Documentation

◆ GetMatchingFieldName()

std::string vtkFLUENTCFFInternal::GetMatchingFieldName ( const std::string & strSectionName)

Retrieve the correct field name.

If there is not match, returns the same string passed as an argument

◆ RemoveTrailingIndex()

bool vtkFLUENTCFFInternal::RemoveTrailingIndex ( std::string & fieldName)

Remove the trailing index of the string if it ends by "_1" or any other digit.

◆ RemoveSuffixIfPresent()

bool vtkFLUENTCFFInternal::RemoveSuffixIfPresent ( std::string & fieldName,
const std::string & suffix )

Remove the suffix passed in argument if it is prensent in the field name.

◆ FieldsNamesMap()

const std::unordered_map< std::string, std::string > & vtkFLUENTCFFInternal::FieldsNamesMap ( )