RuleBasedTopologySource::Rule Struct Referenceabstract

A rule that can transform parts of a topology. More...

Public Member Functions

virtual ~Rule ()
 
virtual void transformTopology (BlockTopology &)=0
 Subclasses should implement this method and use it as their opportunity to examine the given topology and modify it. More...
 

Detailed Description

A rule that can transform parts of a topology.

Constructor & Destructor Documentation

◆ ~Rule()

virtual RuleBasedTopologySource::Rule::~Rule ( )
virtual

Member Function Documentation

◆ transformTopology()

virtual void RuleBasedTopologySource::Rule::transformTopology ( BlockTopology )
pure virtual

Subclasses should implement this method and use it as their opportunity to examine the given topology and modify it.

For example they may want to substitute one or more blocks for more specialised, aggregated Block objects.

Referenced by ~Rule().


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