|
shared_ptr< OrderedAxis > | processAxis (shared_ptr< OrderedAxis > axis, const shared_ptr< GeometryObjectD< DIM > > &geometry, size_t dir) override |
|
const char * | name () override |
|
| RectangularMeshDivideGenerator () |
| Create new generator.
|
|
size_t | getPreDivision (typename Primitive< DIM >::Direction direction) const |
| Get initial division of the smallest object in the mesh.
|
|
void | setPreDivision (typename Primitive< DIM >::Direction direction, size_t div) |
| Set initial division of the smallest object in the mesh.
|
|
size_t | getPostDivision (typename Primitive< DIM >::Direction direction) const |
| Get final division of the smallest object in the mesh.
|
|
void | setPostDivision (typename Primitive< DIM >::Direction direction, size_t div) |
| Set final division of the smallest object in the mesh.
|
|
bool | getGradual (size_t dir) const |
|
void | setGradual (size_t dir, bool value) |
|
bool | getGradual (typename Primitive< DIM >::Direction direction) const |
|
void | setGradual (typename Primitive< DIM >::Direction direction, bool value) |
|
shared_ptr< OrderedAxis > | getAxis (shared_ptr< OrderedAxis > axis, const shared_ptr< GeometryObjectD< DIM > > &geometry, size_t dir) |
|
void | fromXML (XMLReader &, Manager &) |
|
std::pair< double, double > | getMinMax (const shared_ptr< OrderedAxis > &axis) |
|
void | divideLargestSegment (shared_ptr< OrderedAxis > axis) |
|
| RectangularMeshRefinedGenerator () |
| Create new generator.
|
|
shared_ptr< MeshD< dim > > | generate (const shared_ptr< GeometryObjectD< DIM > > &geometry) override |
|
double | getAspect () const |
|
void | setAspect (double value) |
|
const Refinements & | getRefinements (typename Primitive< DIM >::Direction direction) const |
|
void | addRefinement (typename Primitive< DIM >::Direction direction, const weak_ptr< const GeometryObjectD< DIM > > &object, const PathHints &path, double position) |
| Add refinement to the mesh.
|
|
void | addRefinement (typename Primitive< DIM >::Direction direction, const weak_ptr< const GeometryObjectD< DIM > > &object, double position) |
| Add refinement to the mesh.
|
|
void | addRefinement (typename Primitive< DIM >::Direction direction, const Path &path, double position) |
| Add refinement to the mesh.
|
|
void | addRefinement (typename Primitive< DIM >::Direction direction, const GeometryObject::Subtree &subtree, double position) |
| Add refinement to the mesh.
|
|
void | removeRefinement (typename Primitive< DIM >::Direction direction, const weak_ptr< const GeometryObjectD< DIM > > &object, const PathHints &path, double position) |
| Remove refinement to the mesh.
|
|
void | removeRefinement (typename Primitive< DIM >::Direction direction, const weak_ptr< const GeometryObjectD< DIM > > &object, double position) |
| Remove refinement to the mesh.
|
|
void | removeRefinement (typename Primitive< DIM >::Direction direction, const Path &path, double position) |
| Remove refinement from the mesh.
|
|
void | removeRefinement (typename Primitive< DIM >::Direction direction, const GeometryObject::Subtree &subtree, double position) |
| Remove refinement from the mesh.
|
|
void | removeRefinements (const weak_ptr< const GeometryObjectD< DIM > > &object, const PathHints &path=PathHints()) |
| Remove all refinements from the object.
|
|
void | clearRefinements () |
| Remove all refinements from all objects.
|
|
void | removeRefinements (const Path &path) |
| Remove all refinements from the object.
|
|
void | removeRefinements (const GeometryObject::Subtree &subtree) |
| Remove all refinements from the object.
|
|
shared_ptr< MeshD< 1 > > | generate (const boost::shared_ptr< plask::GeometryObjectD< 2 > > &geometry) |
|
shared_ptr< MeshD< 2 > > | generate (const boost::shared_ptr< plask::GeometryObjectD< 2 > > &geometry) |
|
shared_ptr< MeshD< 3 > > | generate (const boost::shared_ptr< plask::GeometryObjectD< 3 > > &geometry) |
|
shared_ptr< MeshD< 1 > > | generate (const boost::shared_ptr< plask::GeometryObjectD< 2 > > &geometry) |
|
shared_ptr< MeshD< 2 > > | generate (const boost::shared_ptr< plask::GeometryObjectD< 2 > > &geometry) |
|
shared_ptr< MeshD< 3 > > | generate (const boost::shared_ptr< plask::GeometryObjectD< 3 > > &geometry) |
|
virtual shared_ptr< MeshType > | generate (const GeometryPtr &geometry)=0 |
| Generate new mesh.
|
|
void | clearCache () |
| Clear the cache of generated meshes.
|
|
shared_ptr< MeshType > | operator() (const GeometryPtr &geometry) |
| Get generated mesh if it is cached or create a new one.
|
|
shared_ptr< RequiredType > | get (const shared_ptr< GeometryObjectD< DIM > > &geometry) |
|
shared_ptr< RequiredType > | generate_t (const shared_ptr< GeometryObjectD< DIM > > &geometry) |
|
template<typename ClassT , typename methodT > |
void | changedConnectMethod (ClassT *obj, methodT method, boost::signals2::connect_position at=boost::signals2::at_back) |
| Connect a method to changed signal.
|
|
template<typename ClassT , typename methodT > |
void | changedDisconnectMethod (ClassT *obj, methodT method) |
|
template<typename EventT = Event, typename ... Args> |
void | fireChanged (Args &&... event_constructor_params_without_source) |
| Call changed with this as event source.
|
|
virtual | ~MeshGenerator () |
|
virtual | ~MeshBase () |
|
template<
int dim>
struct plask::RectangularMeshDivideGenerator< dim >
Dividing generator ensuring no rapid change of element size.
Definition at line 447 of file generator_rectangular.hpp.