84#ifndef vtkIOSSWriter_h 
   85#define vtkIOSSWriter_h 
   88#include "vtkIOIOSSModule.h"  
   97VTK_ABI_NAMESPACE_BEGIN
 
  113  vtkSetStringMacro(FileName);
 
  114  vtkGetStringMacro(FileName);
 
  125  vtkSetStringMacro(AssemblyName);
 
  126  vtkGetStringMacro(AssemblyName);
 
  139  vtkSetMacro(ChooseFieldsToWrite, 
bool);
 
  140  vtkGetMacro(ChooseFieldsToWrite, 
bool);
 
  141  vtkBooleanMacro(ChooseFieldsToWrite, 
bool);
 
  192    return this->GetFieldSelection(EntityType::NODEBLOCK);
 
  205    return this->AddSelector(EntityType::EDGEBLOCK, selector);
 
  210    this->SetSelector(EntityType::EDGEBLOCK, selector);
 
  214    return this->GetNumberOfSelectors(EntityType::EDGEBLOCK);
 
  218    return this->GetSelector(EntityType::EDGEBLOCK, index);
 
  222    return this->GetSelectors(EntityType::EDGEBLOCK);
 
  231    return this->GetFieldSelection(EntityType::EDGEBLOCK);
 
  244    return this->AddSelector(EntityType::FACEBLOCK, selector);
 
  249    this->SetSelector(EntityType::FACEBLOCK, selector);
 
  253    return this->GetNumberOfSelectors(EntityType::FACEBLOCK);
 
  257    return this->GetSelector(EntityType::FACEBLOCK, index);
 
  261    return this->GetSelectors(EntityType::FACEBLOCK);
 
  270    return this->GetFieldSelection(EntityType::FACEBLOCK);
 
  283    return this->AddSelector(EntityType::ELEMENTBLOCK, selector);
 
  288    this->SetSelector(EntityType::ELEMENTBLOCK, selector);
 
  292    return this->GetNumberOfSelectors(EntityType::ELEMENTBLOCK);
 
  296    return this->GetSelector(EntityType::ELEMENTBLOCK, index);
 
  300    return this->GetSelectors(EntityType::ELEMENTBLOCK);
 
  309    return this->GetFieldSelection(EntityType::ELEMENTBLOCK);
 
  322    return this->AddSelector(EntityType::NODESET, selector);
 
  327    this->SetSelector(EntityType::NODESET, selector);
 
  331    return this->GetNumberOfSelectors(EntityType::NODESET);
 
  335    return this->GetSelector(EntityType::NODESET, index);
 
  339    return this->GetSelectors(EntityType::NODESET);
 
  348    return this->GetFieldSelection(EntityType::NODESET);
 
  361    return this->AddSelector(EntityType::SIDESET, selector);
 
  366    this->SetSelector(EntityType::SIDESET, selector);
 
  370    return this->GetNumberOfSelectors(EntityType::SIDESET);
 
  374    return this->GetSelector(EntityType::SIDESET, index);
 
  378    return this->GetSelectors(EntityType::SIDESET);
 
  387    return this->GetFieldSelection(EntityType::SIDESET);
 
  400    return this->AddSelector(EntityType::SIDESET, selector);
 
  405    this->SetSelector(EntityType::SIDESET, selector);
 
  409    return this->GetNumberOfSelectors(EntityType::SIDESET);
 
  413    return this->GetSelector(EntityType::SIDESET, index);
 
  417    return this->GetSelectors(EntityType::SIDESET);
 
  426    return this->GetFieldSelection(EntityType::SIDESET);
 
  439    return this->AddSelector(EntityType::SIDESET, selector);
 
  444    this->SetSelector(EntityType::SIDESET, selector);
 
  448    return this->GetNumberOfSelectors(EntityType::SIDESET);
 
  452    return this->GetSelector(EntityType::SIDESET, index);
 
  456    return this->GetSelectors(EntityType::SIDESET);
 
  465    return this->GetFieldSelection(EntityType::SIDESET);
 
  478    return this->AddSelector(EntityType::SIDESET, selector);
 
  483    this->SetSelector(EntityType::SIDESET, selector);
 
  487    return this->GetNumberOfSelectors(EntityType::SIDESET);
 
  491    return this->GetSelector(EntityType::SIDESET, index);
 
  495    return this->GetSelectors(EntityType::SIDESET);
 
  504    return this->GetFieldSelection(EntityType::SIDESET);
 
  514  vtkSetMacro(RemoveGhosts, 
bool);
 
  515  vtkGetMacro(RemoveGhosts, 
bool);
 
  525  vtkSetMacro(OffsetGlobalIds, 
bool);
 
  526  vtkGetMacro(OffsetGlobalIds, 
bool);
 
  527  vtkBooleanMacro(OffsetGlobalIds, 
bool);
 
  539  void SetPreserveInputEntityGroups(
bool) {}
 
  541  bool GetPreserveInputEntityGroups() { 
return true; }
 
  543  void PreserveInputEntityGroupsOn() {}
 
  545  void PreserveInputEntityGroupsOff() {}
 
  555  vtkSetMacro(PreserveOriginalIds, 
bool);
 
  556  vtkGetMacro(PreserveOriginalIds, 
bool);
 
  557  vtkBooleanMacro(PreserveOriginalIds, 
bool);
 
  571  vtkSetMacro(WriteQAAndInformationRecords, 
bool);
 
  572  vtkGetMacro(WriteQAAndInformationRecords, 
bool);
 
  573  vtkBooleanMacro(WriteQAAndInformationRecords, 
bool);
 
  586  vtkGetMacro(DisplacementMagnitude, 
double);
 
  599  void SetMaximumTimeStepsPerFile(
int val)
 
  601    this->SetTimeStepStride(1);
 
  602    this->SetTimeStepRange(0, val - 1);
 
  605  int GetMaximumTimeStepsPerFile() { 
return this->TimeStepRange[1] + 1; }
 
  617  vtkSetVector2Macro(TimeStepRange, 
int);
 
  618  vtkGetVector2Macro(TimeStepRange, 
int);
 
  620  vtkGetMacro(TimeStepStride, 
int);
 
  656  std::unique_ptr<vtkInternals> Internals;
 
  661  bool ChooseFieldsToWrite;
 
  663  bool OffsetGlobalIds;
 
  664  bool PreserveOriginalIds;
 
  665  bool WriteQAAndInformationRecords;
 
  666  double DisplacementMagnitude;
 
  667  int TimeStepRange[2];
 
  670  std::set<std::string> Selectors[EntityType::NUMBER_OF_ENTITY_TYPES];
 
Store on/off settings for data arrays, etc.
 
Writer for IOSS (Sierra IO System)
 
void ClearEdgeBlockSelectors()
Add/Clear/Set/Get edge block selectors.
 
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
void SetSideSetSelector(const char *selector)
Add/Clear/Set/Get side set selectors.
 
~vtkIOSSWriter() override
 
bool AddElementSetSelector(const char *selector)
Add/Clear/Set/Get element set selectors.
 
void ClearNodeSetSelectors()
Add/Clear/Set/Get node set selectors.
 
void ClearFaceBlockSelectors()
Add/Clear/Set/Get face block selectors.
 
void SetController(vtkMultiProcessController *controller)
Get/Set the controller to use when working in parallel.
 
bool AddNodeSetSelector(const char *selector)
Add/Clear/Set/Get node set selectors.
 
static vtkIOSSWriter * New()
 
vtkTypeBool ProcessRequest(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Upstream/Downstream requests form the generalized interface through which executives invoke a algorit...
 
void SetSelector(EntityType entity, const char *selector)
Convenience method to set a single entity selector.
 
vtkDataArraySelection * GetEdgeSetFieldSelection()
Returns the field selection object for the edge set arrays.
 
int GetNumberOfElementBlockSelectors() const
Add/Clear/Set/Get element block selectors.
 
void ClearFaceSetSelectors()
Add/Clear/Set/Get edge set selectors.
 
vtkDataArraySelection * GetElementSetFieldSelection()
Returns the field selection object for the element set arrays.
 
int GetNumberOfEdgeSetSelectors() const
Add/Clear/Set/Get edge set selectors.
 
void ClearSelectors(EntityType entity)
API to set entity selectors.
 
const char * GetEdgeSetSelector(int index) const
Add/Clear/Set/Get edge set selectors.
 
vtkDataArraySelection * GetNodeSetFieldSelection()
Returns the field selection object for the node set arrays.
 
bool AddEdgeBlockSelector(const char *selector)
Add/Clear/Set/Get edge block selectors.
 
bool AddElementBlockSelector(const char *selector)
Add/Clear/Set/Get element block selectors.
 
void ClearEdgeSetSelectors()
Add/Clear/Set/Get edge set selectors.
 
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
std::set< std::string > GetEdgeSetSelectors() const
Add/Clear/Set/Get edge set selectors.
 
bool AddEdgeSetSelector(const char *selector)
Add/Clear/Set/Get edge set selectors.
 
bool AddSideSetSelector(const char *selector)
Add/Clear/Set/Get side set selectors.
 
int GetNumberOfSideSetSelectors() const
Add/Clear/Set/Get side set selectors.
 
void SetEdgeBlockSelector(const char *selector)
Add/Clear/Set/Get edge block selectors.
 
std::set< std::string > GetElementBlockSelectors() const
Add/Clear/Set/Get element block selectors.
 
void SetFaceSetSelector(const char *selector)
Add/Clear/Set/Get edge set selectors.
 
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
std::set< std::string > GetNodeSetSelectors() const
Add/Clear/Set/Get node set selectors.
 
vtkDataArraySelection * GetFaceBlockFieldSelection()
Returns the field selection object for the face block arrays.
 
void ClearSideSetSelectors()
Add/Clear/Set/Get side set selectors.
 
bool AddSelector(EntityType entity, const char *selector)
API to set entity selectors.
 
int GetNumberOfFaceSetSelectors() const
Add/Clear/Set/Get edge set selectors.
 
std::set< std::string > GetFaceBlockSelectors() const
Add/Clear/Set/Get face block selectors.
 
vtkDataArraySelection * GetSideSetFieldSelection()
Returns the field selection object for the side set arrays.
 
void SetElementBlockSelector(const char *selector)
Add/Clear/Set/Get element block selectors.
 
const char * GetFaceBlockSelector(int index) const
Add/Clear/Set/Get face block selectors.
 
int GetNumberOfNodeSetSelectors() const
Add/Clear/Set/Get node set selectors.
 
const char * GetElementSetSelector(int index) const
Add/Clear/Set/Get element set selectors.
 
void SetElementSetSelector(const char *selector)
Add/Clear/Set/Get element set selectors.
 
vtkDataArraySelection * GetFaceSetFieldSelection()
Returns the field selection object for the edge set arrays.
 
int GetNumberOfFaceBlockSelectors() const
Add/Clear/Set/Get face block selectors.
 
int GetNumberOfEdgeBlockSelectors() const
Add/Clear/Set/Get edge block selectors.
 
void SetEdgeSetSelector(const char *selector)
Add/Clear/Set/Get edge set selectors.
 
const char * GetSelector(EntityType entity, int index) const
API to access entity selectors.
 
const char * GetNodeSetSelector(int index) const
Add/Clear/Set/Get node set selectors.
 
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
 
std::set< std::string > GetSelectors(EntityType entity) const
API to access entity selectors.
 
std::set< std::string > GetElementSetSelectors() const
Add/Clear/Set/Get element set selectors.
 
bool AddFaceSetSelector(const char *selector)
Add/Clear/Set/Get edge set selectors.
 
const char * GetEdgeBlockSelector(int index) const
Add/Clear/Set/Get edge block selectors.
 
void ClearElementSetSelectors()
Add/Clear/Set/Get element set selectors.
 
void WriteData() override
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
const char * GetElementBlockSelector(int index) const
Add/Clear/Set/Get element block selectors.
 
std::set< std::string > GetFaceSetSelectors() const
Add/Clear/Set/Get edge set selectors.
 
std::set< std::string > GetEdgeBlockSelectors() const
Add/Clear/Set/Get edge block selectors.
 
vtkDataArraySelection * GetElementBlockFieldSelection()
Returns the field selection object for the element block arrays.
 
void ClearElementBlockSelectors()
Add/Clear/Set/Get element block selectors.
 
vtkDataArraySelection * GetFieldSelection(EntityType type)
Get the selection object for the given entity type.
 
const char * GetSideSetSelector(int index) const
Add/Clear/Set/Get side set selectors.
 
bool AddFaceBlockSelector(const char *selector)
Add/Clear/Set/Get face block selectors.
 
std::set< std::string > GetSideSetSelectors() const
Add/Clear/Set/Get side set selectors.
 
void SetFaceBlockSelector(const char *selector)
Add/Clear/Set/Get face block selectors.
 
vtkDataArraySelection * GetNodeBlockFieldSelection()
Returns the field selection object for the element block arrays.
 
const char * GetFaceSetSelector(int index) const
Add/Clear/Set/Get edge set selectors.
 
void SetNodeSetSelector(const char *selector)
Add/Clear/Set/Get node set selectors.
 
int GetNumberOfSelectors(EntityType entity) const
API to access entity selectors.
 
int GetNumberOfElementSetSelectors() const
Add/Clear/Set/Get element set selectors.
 
vtkDataArraySelection * GetEdgeBlockFieldSelection()
Returns the field selection object for the edge block arrays.
 
a simple class to control print indentation
 
Multiprocessing communication superclass.
 
Allocate and hold a VTK object.
 
abstract class to write data to file(s)
 
#define VTK_DEPRECATED_IN_9_3_0(reason)