NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Public Member Functions | List of all members
NeoN::la::MeshIterationStrategy Class Referenceabstract

Abstract base class defining the interface for mesh iteration strategies. More...

#include <meshIterationStrategies.hpp>

Inheritance diagram for NeoN::la::MeshIterationStrategy:
NeoN::la::CellBasedIterator NeoN::la::FaceBasedIterator

Public Member Functions

virtual std::string name () const =0
 Returns the strategy name.
 
virtual size_t size () const =0
 Returns the number of iteration elements (cells or faces).
 
virtual ~MeshIterationStrategy ()
 

Detailed Description

Abstract base class defining the interface for mesh iteration strategies.

Concrete strategies (e.g. FaceBasedIterator, CellBasedIterator) differ in how they traverse the mesh when assembling linear-system contributions.

Definition at line 27 of file meshIterationStrategies.hpp.

Constructor & Destructor Documentation

◆ ~MeshIterationStrategy()

virtual NeoN::la::MeshIterationStrategy::~MeshIterationStrategy ( )
inlinevirtual

Definition at line 39 of file meshIterationStrategies.hpp.

Member Function Documentation

◆ name()

virtual std::string NeoN::la::MeshIterationStrategy::name ( ) const
pure virtual

Returns the strategy name.

Implemented in NeoN::la::FaceBasedIterator, and NeoN::la::CellBasedIterator.

◆ size()

virtual size_t NeoN::la::MeshIterationStrategy::size ( ) const
pure virtual

Returns the number of iteration elements (cells or faces).

Implemented in NeoN::la::FaceBasedIterator, and NeoN::la::CellBasedIterator.


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