NComponentFunction< dim, number > Class Template Reference
|
Developer Documentation
|
MeltPoolDG::Functions::NComponentFunction< dim, number > Class Template Reference
Adapter to create a two-component function from a scalar function. More...
#include <functions.hpp>
Inheritance diagram for MeltPoolDG::Functions::NComponentFunction< dim, number >:
Collaboration diagram for MeltPoolDG::Functions::NComponentFunction< dim, number >:
Public Member Functions | |
| NComponentFunction (const dealii::Function< dim > &function_in, const unsigned int n_components=2) | |
| number | value (const dealii::Point< dim > &p, const unsigned int) const override |
Private Attributes | |
| const dealii::Function< dim > & | function |
Detailed Description
template<int dim, typename number>
class MeltPoolDG::Functions::NComponentFunction< dim, number >
class MeltPoolDG::Functions::NComponentFunction< dim, number >
Adapter to create a two-component function from a scalar function.
This class wraps a single-component dealii::Function and exposes it as an n component function by returning the same scalar value for all components.
Constructor & Destructor Documentation
◆ NComponentFunction()
template<int dim, typename number >
|
inline |
Member Function Documentation
◆ value()
template<int dim, typename number >
|
inlineoverride |
Member Data Documentation
◆ function
template<int dim, typename number >
|
private |
The documentation for this class was generated from the following file:
- include/meltpooldg/utilities/functions.hpp
Generated by