Template Class ImportedFiniteElementFields¶
Defined in File imported_finite_element_fields.h
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
template<int dim, int spacedim = dim>
class ImportedFiniteElementFields¶ A reusable collection of frozen finite-element fields imported from VTK.
The target triangulation is supplied by the owning Problem and must already describe the same mesh as the VTK file. The object owns the imported DoFHandler, finite element, catalog, and distributed coefficients, while its field views share those coefficients without copying them.
Public Types
-
using VectorType = ImmersXLA::MPI::Vector¶
-
using SpaceView = FESpaceView<dim, spacedim>¶
Public Functions
-
ImportedFiniteElementFields(const std::string &vtk_filename, const TriangulationType &triangulation, MPI_Comm communicator = MPI_COMM_WORLD)¶
Import all VTK fields onto an already prepared Problem triangulation.
-
inline const TriangulationType &triangulation() const¶
-
inline const DoFHandlerType &dof_handler() const¶
-
inline const dealii::IndexSet &locally_owned_dofs() const¶
-
inline const dealii::IndexSet &locally_relevant_dofs() const¶
-
inline const VectorType &coefficients() const¶
-
inline const VectorType &coefficients(const std::string &name) const¶
-
inline const FieldCatalog &catalog() const¶
-
FieldView field(const std::string &name, unsigned int component = 0) const¶
Return a scalar component view without copying coefficient data.
-
inline MPI_Comm mpi_communicator() const¶
-
class FieldView¶
A non-owning named scalar component view of one imported field.
Public Functions
-
FieldView() = delete¶
-
inline const TriangulationType &triangulation() const¶
-
inline const VectorType &coefficients() const¶
-
inline std::shared_ptr<const VectorType> coefficients_handle() const¶
-
inline const ReducedFieldDescriptor &descriptor() const¶
-
inline const std::string &name() const¶
-
inline unsigned int component() const¶
-
FieldView() = delete¶
-
using VectorType = ImmersXLA::MPI::Vector¶