16 #include "libmesh/parsed_function.h" 29 std::unique_ptr<MeshBase>
generate()
override;
34 const unsigned int _nx;
35 const unsigned int _ny;
57 std::vector<Point>
getEdge(
const Point & P1,
59 const unsigned int np,
61 const std::string & parameter,
62 const Point & outward,
63 const std::vector<Real> & param_vec);
65 std::vector<Point>
getParsedEdge(
const std::string & parameter,
66 const std::vector<Real> & param_vec);
70 const std::string & parameter,
71 const Point & outward,
72 const std::vector<Real> & param_vec);
74 std::vector<Point>
getDiscreteEdge(
const unsigned int np,
const std::string & parameter);
77 getLineEdge(
const Point & P1,
const Point & P2,
const std::vector<Real> & param_vec);
85 Point
computeOrigin(
const Point & P1,
const Point & P2,
const Point & P3)
const;
94 computeMidPoint(
const Point & P1,
const Point & P2,
const Real dist,
const Point & outward)
const;
101 Real getMapInterval(
const Real xab,
const Real a,
const Real b,
const Real c,
const Real d)
const;
Real getMapInterval(const Real xab, const Real a, const Real b, const Real c, const Real d) const
const std::vector< Point > & _corners
std::shared_ptr< SymFunction > SymFunctionPtr
Shorthand for an smart pointer to an autodiff function parser object.
SymFunctionPtr _parsed_func
function parser object describing the combinatorial geometry
const std::string _right_parameter
std::vector< Point > getCircarcEdge(const Point &P1, const Point &P2, const std::string ¶meter, const Point &outward, const std::vector< Real > ¶m_vec)
static InputParameters validParams()
Point computeMidPoint(const Point &P1, const Point &P2, const Real dist, const Point &outward) const
std::vector< Point > getParsedEdge(const std::string ¶meter, const std::vector< Real > ¶m_vec)
const MooseEnum _top_type
std::vector< Point > getDiscreteEdge(const unsigned int np, const std::string ¶meter)
std::vector< Point > getEdge(const Point &P1, const Point &P2, const unsigned int np, const MooseEnum &type, const std::string ¶meter, const Point &outward, const std::vector< Real > ¶m_vec)
TransfiniteMeshGenerator(const InputParameters ¶meters)
const std::string & type() const
Get the type of this class.
This is a "smart" enum class intended to replace many of the shortcomings in the C++ enum type It sho...
Point computeOrigin(const Point &P1, const Point &P2, const Point &P3) const
const MooseEnum _left_type
const MooseEnum _bottom_type
const MooseEnum _right_type
usingFunctionParserUtilsMembers(false)
std::vector< Point > getLineEdge(const Point &P1, const Point &P2, const std::vector< Real > ¶m_vec)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const std::string _top_parameter
std::vector< Real > getPointsDistribution(const Real edge_length, const unsigned int np, const Real bias) const
Real computeRadius(const Point &P1, const Point &P2, const Point &P3) const
const std::string _left_parameter
const InputParameters & parameters() const
Get the parameters of the object.
const std::string _bottom_parameter
std::unique_ptr< MeshBase > generate() override
Generate / modify the mesh.
MeshGenerators are objects that can modify or add to an existing mesh.
Generates an quadrilateral given all the parameters.