Dense-edge generator that has very dense sampling near edges and gradually gets wider towards the center.
More...
|
shared_ptr< OrderedAxis > | processAxis (shared_ptr< OrderedAxis > axis, const shared_ptr< GeometryObjectD< DIM > > &geometry, size_t dir) override |
|
const char * | name () override |
|
| RectangularMeshSmoothGenerator () |
| Create new generator.
|
|
double | getFineStep (typename Primitive< DIM >::Direction direction) const |
| Get small step next to the boundary.
|
|
void | setFineStep (typename Primitive< DIM >::Direction direction, double value) |
| Set small step next to the boundary.
|
|
double | getMaxStep (typename Primitive< DIM >::Direction direction) const |
| Get small step next to the boundary.
|
|
void | setMaxStep (typename Primitive< DIM >::Direction direction, double value) |
| Set small step next to the boundary.
|
|
double | getFactor (typename Primitive< DIM >::Direction direction) const |
| Get maximum element increase factor.
|
|
void | setFactor (typename Primitive< DIM >::Direction direction, double value) |
| Set maximum element increase factor.
|
|
| RectangularMeshSmoothGenerator () |
|
| RectangularMeshSmoothGenerator () |
|
| RectangularMeshSmoothGenerator () |
|
| RectangularMeshSmoothGenerator () |
|
| RectangularMeshSmoothGenerator () |
|
| RectangularMeshSmoothGenerator () |
|
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::RectangularMeshSmoothGenerator< dim >
Dense-edge generator that has very dense sampling near edges and gradually gets wider towards the center.
Definition at line 524 of file generator_rectangular.hpp.