ug4
ug::PPP_ReplaceCoordinate< dim > Class Template Reference

Temporarily replaces the specified coordinate in the given position attachment. More...

#include <replace_coordinate.h>

+ Inheritance diagram for ug::PPP_ReplaceCoordinate< dim >:

Public Types

typedef Grid::VertexAttachmentAccessor< apos_taapos_t
 
typedef Attachment< vector_tapos_t
 
typedef MathVector< dimvector_t
 

Public Member Functions

virtual void partitioning_done (MultiGrid *mg, IPartitioner *partitioner)
 
virtual void partitioning_starts (MultiGrid *mg, IPartitioner *partitioner)
 
 PPP_ReplaceCoordinate (apos_t aPos, ANumber aNewCoord, int newCoordIndex)
 
- Public Member Functions inherited from ug::IPartitionPreProcessor
virtual ~IPartitionPreProcessor ()
 

Private Attributes

ANumber m_aNewCoord
 
ANumber m_aOrigCoord
 
apos_t m_aPos
 
int m_newCoordIndex
 

Detailed Description

template<int dim>
class ug::PPP_ReplaceCoordinate< dim >

Temporarily replaces the specified coordinate in the given position attachment.

Warning
After 'partitioning_starts' was called, the coordinates of the underlying mesh may be changed. Make sure to call 'partitioning_done' when the partitioner is done. Also make sure to call 'partitioning_done' if errors occurred during partitioning.

Member Typedef Documentation

◆ aapos_t

◆ apos_t

template<int dim>
typedef Attachment<vector_t> ug::PPP_ReplaceCoordinate< dim >::apos_t

◆ vector_t

template<int dim>
typedef MathVector<dim> ug::PPP_ReplaceCoordinate< dim >::vector_t

Constructor & Destructor Documentation

◆ PPP_ReplaceCoordinate()

template<int dim>
ug::PPP_ReplaceCoordinate< dim >::PPP_ReplaceCoordinate ( apos_t  aPos,
ANumber  aNewCoord,
int  newCoordIndex 
)
inline

Member Function Documentation

◆ partitioning_done()

◆ partitioning_starts()

Member Data Documentation

◆ m_aNewCoord

template<int dim>
ANumber ug::PPP_ReplaceCoordinate< dim >::m_aNewCoord
private

◆ m_aOrigCoord

◆ m_aPos

◆ m_newCoordIndex


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