34 template <
class _Result>
48 template <
class _Result>
CepsSourceTermFlag
Source terms flags.
CepsIndex CepsUnknownIndex
For unknowns.
std::vector< _Type, _Alloc > CepsVector
C++ vector.
A Field is an object wrapped around a SAFunc functor, defined on at least one domain.
A SAFunc is a ceps::Function that uses CepsStandardArgs as argument of call operator (),...
Source term manager to create and manage SourceTerm objects.
Source term, essentially a ScalarField.
CepsUnknownIndex getUnknownId() const
Get the name of the unknown.
~SourceTerm() override
Delete data.
void setFlag(const CepsSourceTermFlag &flag)
Set the source term flag.
CepsUnknownIndex m_unknown
Unknown for which the source term applies.
CepsSourceTermFlag m_sourceFlag
source term flag
CepsSourceTermFlag getFlag() const
Get the source term flag.
CepsBool hasOption(CepsSourceTermFlag flag) const
Knowing the behavior relating to source term flag.
SourceTerm(SAFunc< _Result > *functor, const CepsVector< DegreeOfFreedom * > *domain, CepsUnknownIndex unknown, CepsBool isStim=false, CepsBool isLaplaceMatrix=false, CepsBool bufferize=false)
Construct a new Source Term object.