VTK  9.6.20260212
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.
 

Variables

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.

Variable Documentation

◆ FieldsNamesMap

const std::unordered_map<std::string, std::string> vtkFLUENTCFFInternal::FieldsNamesMap

Definition at line 33 of file vtkFLUENTCFFInternal.h.