CepsSourceTermFlag
Source terms flags.
std::basic_string< CepsChar > CepsString
C++ format string.
std::map< _Key, _Tp, _Compare, _Alloc > CepsMap
C++ map.
std::vector< _Type, _Alloc > CepsVector
C++ vector.
std::make_unsigned_t< CepsInt > CepsUInt
Unsigned version on CepsInt.
float CepsReal
Need single precision floating point.
Base class for other (big) CEPS classes. All classes can get a pointer to this base class and also co...
A degree of freedom for any kind of problem The dof can be associated to a geometrical element or not...
A class that manages data that is distributed between processors, not only real values (as in Distrib...
FunctionDictionary that holds functions which can be used to define source terms, boundary conditions...
A SAFunc is a ceps::Function that uses CepsStandardArgs as argument of call operator (),...
Source term manager to create and manage SourceTerm objects.
~SourceTermManager() final
Destroy the Source Term Manager object : default destructor.
SourceTermManager(const SourceTermManager &that)=delete
No copy constructor.
void actualizeAll(CepsReal time)
Actualize all data inside.
FunctionDictionary * m_dictionary
the dictionary
SourceTermManager(FunctionDictionary *dico)
Construct a new Source Term Manager object, linked with dictionary of functions.
DistributedInfos< DegreeOfFreedom * > * m_dofs
dofs
Manager * m_manager
the manager
void add(const CepsString ¶ms, CepsBool computeSupport=false)
Add a source term from parameters.
void setDofsInfos(DistributedInfos< DegreeOfFreedom * > *dofs)
Set dofs infos in this class.
CepsMap< CepsString, ScalarSourceTerm * > Manager
Alias for manager inside.
Manager *const getManager() const
Get a map of all source terms.
ScalarSourceTerm * getSourceTerm(CepsString label) const
Get a source term, nullptr if not found.
CepsUInt getNbOfSourceTermsOf(CepsSourceTermFlag flag) const
Number of registered source terms of type flag.
CepsVector< ScalarSourceTerm * > asVector() const
Get a vector of all source terms.
SourceTermManager & operator=(const SourceTermManager &that)=delete
No assignement operator.
Source term, essentially a ScalarField.