| 1 |
// Copyright (c) 2010-2025, Lawrence Livermore National Security, LLC. Produced |
| 2 |
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files |
| 3 |
// LICENSE and NOTICE for details. LLNL-CODE-806117. |
| 4 |
// |
| 5 |
// This file is part of the MFEM library. For more information and source code |
| 6 |
// availability visit https://mfem.org. |
| 7 |
// |
| 8 |
// MFEM is free software; you can redistribute it and/or modify it under the |
| 9 |
// terms of the BSD-3 license. We welcome feedback and contributions, see file |
| 10 |
// CONTRIBUTING.md for details. |
| 11 |
|
| 12 |
#ifndef MFEM_LIBCEED_NLCONV_HPP |
| 13 |
#define MFEM_LIBCEED_NLCONV_HPP |
| 14 |
|
| 15 |
#include "../../interface/integrator.hpp" |
| 16 |
#include "../../interface/mixed_integrator.hpp" |
| 17 |
#include "../../../fespace.hpp" |
| 18 |
|
| 19 |
namespace mfem |
| 20 |
{ |
| 21 |
|
| 22 |
namespace ceed |
| 23 |
{ |
| 24 |
|
| 25 |
/** Represent a VectorConvectionNLFIntegrator with AssemblyLevel::Partial |
| 26 |
using libCEED. */ |
| 27 |
class PAVectorConvectionNLFIntegrator : public PAIntegrator |
| 28 |
{ |
| 29 |
public: |
| 30 |
PAVectorConvectionNLFIntegrator(const mfem::FiniteElementSpace &fes, |
| 31 |
const mfem::IntegrationRule &irm, |
| 32 |
mfem::Coefficient *coeff); |
| 33 |
}; |
| 34 |
|
| 35 |
class MixedPAVectorConvectionNLIntegrator : public MixedIntegrator<PAIntegrator> |
| 36 |
{ |
| 37 |
public: |
| 38 |
MixedPAVectorConvectionNLIntegrator( |
| 39 |
const VectorConvectionNLFIntegrator &integ, |
| 40 |
const mfem::FiniteElementSpace &fes, |
| 41 |
mfem::Coefficient *Q); |
| 42 |
}; |
| 43 |
|
| 44 |
/** Represent a VectorConvectionNLFIntegrator with AssemblyLevel::None |
| 45 |
using libCEED. */ |
| 46 |
class MFVectorConvectionNLFIntegrator : public MFIntegrator |
| 47 |
{ |
| 48 |
public: |
| 49 |
MFVectorConvectionNLFIntegrator(const mfem::FiniteElementSpace &fes, |
| 50 |
const mfem::IntegrationRule &irm, |
| 51 |
mfem::Coefficient *coeff); |
| 52 |
}; |
| 53 |
|
| 54 |
class MixedMFVectorConvectionNLIntegrator : public MixedIntegrator<MFIntegrator> |
| 55 |
{ |
| 56 |
public: |
| 57 |
MixedMFVectorConvectionNLIntegrator( |
| 58 |
const VectorConvectionNLFIntegrator &integ, |
| 59 |
const mfem::FiniteElementSpace &fes, |
| 60 |
mfem::Coefficient *Q); |
| 61 |
}; |
| 62 |
|
| 63 |
} |
| 64 |
|
| 65 |
} |
| 66 |
|
| 67 |
#endif // MFEM_LIBCEED_NLCONV_HPP |