Wiki

Clone wiki

mshr / API / CSGGeometry

dolfin::Variable

mshr::CSGGeometry

Geometry described by Constructive Solid Geometry (CSG)

Public functions

std::size_t dim() const =0

Return dimension of geometry.

std::string str(bool verbose) const =0

Informal string representation.

Parameters
verbose bool

void set_subdomain(std::size_t i, std::shared_ptr< CSGGeometry > s)

Parameters
i std::size_t
s std::shared_ptr<

void set_subdomain(std::size_t i, CSGGeometry &s)

Parameters
i std::size_t
s

bool has_subdomains() const

Has subdomains been set.

const std::list< std::pair< std::size_t, std::shared_ptr< const get_subdomains() const

Return const list of subdomain geometries.

Type getType() const =0

bool is_operator() const =0

Updated