Theseus
Compressible flow solver
Loading...
Searching...
No Matches
Indicator.hpp
Go to the documentation of this file.
1// Copyright (c) 2025-2026 Board of Trustees of the University of Illinois
2//
3// This file is part of Theseus.
4//
5// SPDX-License-Identifier: BSD-3-Clause
6#pragma once
7
8#include "mfem.hpp"
9
10namespace Prandtl
11{
12
14 {
15 protected:
16 std::shared_ptr<mfem::ParFiniteElementSpace> vfes;
17 std::shared_ptr<mfem::ParFiniteElementSpace> fes0;
18 std::shared_ptr<mfem::ParGridFunction> eta;
19
20 mfem::Array<int> vdof_indices, ind_indx;
21 mfem::Vector el_vdofs, ind_dof;
23 mfem::Vector state;
24 public:
25 Indicator(std::shared_ptr<mfem::ParFiniteElementSpace> vfes,
26 std::shared_ptr<mfem::ParFiniteElementSpace> fes0,
27 std::shared_ptr<mfem::ParGridFunction> eta);
28 virtual void CheckIndicatorSmoothness(const mfem::Vector &indicator) = 0;
29 virtual ~Indicator() = default;
30 };
31}
Definition Indicator.hpp:14
virtual void CheckIndicatorSmoothness(const mfem::Vector &indicator)=0
int num_equations
Definition Indicator.hpp:22
mfem::Vector ind_dof
Definition Indicator.hpp:21
std::shared_ptr< mfem::ParFiniteElementSpace > fes0
Definition Indicator.hpp:17
std::shared_ptr< mfem::ParGridFunction > eta
Definition Indicator.hpp:18
int order
Definition Indicator.hpp:22
int dim
Definition Indicator.hpp:22
std::shared_ptr< mfem::ParFiniteElementSpace > vfes
Definition Indicator.hpp:16
mfem::Array< int > ind_indx
Definition Indicator.hpp:20
int ndofs
Definition Indicator.hpp:22
mfem::Vector state
Definition Indicator.hpp:23
virtual ~Indicator()=default
mfem::Array< int > vdof_indices
Definition Indicator.hpp:20
mfem::Vector el_vdofs
Definition Indicator.hpp:21
Definition ConditionFactory.hpp:16