70 std::span<const Index> cells = {});
Definition dof_map.hpp:51
Definition axisymmetric_forms.hpp:30
AxisymmetricSystem assemble_axisymmetric(const fespace::NedelecDofMap< 2 > &nedelec, const fespace::DofMap< 2 > &h1, int m, const AxisymmetricFormFactory &form_of_cell, int extra_order=2, std::span< const Index > cells={})
std::vector< Index > axis_cells(const mesh::Mesh< 2 > &mesh, Real tolerance=1e-10)
Cells with at least one vertex on the axis r = 0 (within tolerance times the largest r).
SparseMatrix axisymmetric_gradient(const fespace::DofMap< 2 > &h1, const fespace::NedelecDofMap< 2 > &nedelec, int m)
std::function< AxisymmetricForm(Index)> AxisymmetricFormFactory
Definition axisymmetric_forms.hpp:48
std::function< Eigen::Matrix< Complex, 3, 1 >(const Point< 2 > &)> AxisymmetricTensorField
Diagonal tensor in cylindrical components (r, φ, z) as a function of the meridian point.
Definition axisymmetric_forms.hpp:33
double Real
Definition types.hpp:15
Eigen::Matrix< Real, Dim, 1 > Point
Definition types.hpp:27
Eigen::SparseMatrix< Complex, Eigen::RowMajor, Index > SparseMatrix
Definition types.hpp:24
std::int64_t Index
global indices (DoFs, entities)
Definition types.hpp:17
Eigen::Matrix< Complex, Eigen::Dynamic, 1 > Vector
Definition types.hpp:20
Definition axisymmetric_forms.hpp:53
SparseMatrix mass
Definition axisymmetric_forms.hpp:55
Index num_h1
Definition axisymmetric_forms.hpp:58
Vector rhs
load of the sources (zero without)
Definition axisymmetric_forms.hpp:56
SparseMatrix stiffness
Definition axisymmetric_forms.hpp:54
Index num_nedelec
Definition axisymmetric_forms.hpp:57