Public Member Functions | List of all members
RigidWallGenerator Class Reference

Class for creating computationalcells of ghost points for rigid walls. More...

#include <RigidWallGenerator.hpp>

Inheritance diagram for RigidWallGenerator:
Inheritance graph
[legend]
Collaboration diagram for RigidWallGenerator:
Collaboration graph
[legend]

Public Member Functions

boost::container::flat_map< size_t, ComputationalCelloperator() (const Tessellation &tess, const vector< ComputationalCell > &cells, double time, TracerStickerNames const &tracerstickernames) const
 Calculates the ghost points. More...
 
Slope GetGhostGradient (const Tessellation &tess, const vector< ComputationalCell > &cells, const vector< Slope > &gradients, size_t ghost_index, double time, const Edge &edge, TracerStickerNames const &tracerstickernames) const
 Calculates the gradients for the ghost cells. More...
 
- Public Member Functions inherited from GhostPointGenerator
virtual ~GhostPointGenerator (void)
 Virtual destructor.
 
vector< std::pair< size_t, size_t > > GetOuterEdgesIndeces (Tessellation const &tess) const
 Finds the indeces of the outer edges points. More...
 

Detailed Description

Class for creating computationalcells of ghost points for rigid walls.

Author
Elad Steinberg

Definition at line 14 of file RigidWallGenerator.hpp.

Member Function Documentation

◆ GetGhostGradient()

Slope RigidWallGenerator::GetGhostGradient ( const Tessellation tess,
const vector< ComputationalCell > &  cells,
const vector< Slope > &  gradients,
size_t  ghost_index,
double  time,
const Edge edge,
TracerStickerNames const &  tracerstickernames 
) const
virtual

Calculates the gradients for the ghost cells.

Parameters
tessThe tessellation
cellsThe computational cells
gradientsThe gradients for the non-ghost cells
ghost_indexThe index of the ghost cell
timeThe time
edgeThe edge of the ghost cell
tracerstickernamesThe names of the tracers and stickers
Returns
The gradient of the ghost cell

Implements GhostPointGenerator.

Definition at line 40 of file RigidWallGenerator.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator()()

boost::container::flat_map< size_t, ComputationalCell > RigidWallGenerator::operator() ( const Tessellation tess,
const vector< ComputationalCell > &  cells,
double  time,
TracerStickerNames const &  tracerstickernames 
) const
virtual

Calculates the ghost points.

Parameters
tessThe tessellation
cellsThe computational cells
timeThe time
tracerstickernamesThe names of the tracers and stickers
Returns
A map where the key is the index of the ghost cell and the value is its' comuptational cell

Implements GhostPointGenerator.

Definition at line 17 of file RigidWallGenerator.cpp.

Here is the call graph for this function:

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