Alsvinn  0.5.3
The fast FVM simulator with UQ support
Public Member Functions | List of all members
alsfvm::boundary::BoundaryFactory Class Reference

#include <alsfvm/boundary/BoundaryFactory.hpp>

Public Member Functions

 BoundaryFactory (const std::string &name, alsfvm::shared_ptr< DeviceConfiguration > &deviceConfiguration)
 
alsfvm::shared_ptr< BoundarycreateBoundary (size_t ghostCellSize)
 

Constructor & Destructor Documentation

◆ BoundaryFactory()

alsfvm::boundary::BoundaryFactory::BoundaryFactory ( const std::string &  name,
alsfvm::shared_ptr< DeviceConfiguration > &  deviceConfiguration 
)

Instantiates the boundary factory

Parameters
namethe name of the boundary type
Parameter Description
"neumann" Neumann boundary conditions
"periodic" Periodic boundary conditions
deviceConfigurationthe device configuration

Member Function Documentation

◆ createBoundary()

alsfvm::shared_ptr< Boundary > alsfvm::boundary::BoundaryFactory::createBoundary ( size_t  ghostCellSize)

Creates the new boundary

Parameters
ghostCellSizethe number of ghost cell to use on each side.

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