2025-02-19 14:35:15 -05:00
|
|
|
#ifndef POLYCOEFF_H
|
|
|
|
|
#define POLYCOEFF_H
|
|
|
|
|
|
2025-02-12 16:44:10 -05:00
|
|
|
#include "mfem.hpp"
|
|
|
|
|
#include <cmath>
|
|
|
|
|
|
2025-02-19 14:35:15 -05:00
|
|
|
namespace polycoeff
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* @brief Computes the xi coefficient function.
|
|
|
|
|
*
|
|
|
|
|
* @param x Input vector.
|
|
|
|
|
* @return double The computed xi coefficient.
|
|
|
|
|
*/
|
2025-03-05 12:54:47 -05:00
|
|
|
double nonlinearSourceCoeff(const mfem::Vector &x);
|
2025-02-19 14:35:15 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Computes the vector xi coefficient function.
|
|
|
|
|
*
|
|
|
|
|
* @param x Input vector.
|
|
|
|
|
* @param v Output vector to store the computed xi coefficient.
|
|
|
|
|
*/
|
2025-03-05 12:54:47 -05:00
|
|
|
void diffusionCoeff(const mfem::Vector &x, mfem::Vector &v);
|
2025-02-19 14:35:15 -05:00
|
|
|
} // namespace polyCoeff
|
2025-02-12 16:44:10 -05:00
|
|
|
|
2025-02-19 14:35:15 -05:00
|
|
|
#endif // POLYCOEFF_H
|