195 friend std::ostream &
CepsBoundaryConditionFlag
Enumeration for boundary condition type.
std::basic_string< CepsChar > CepsString
C++ format string.
std::map< _Key, _Tp, _Compare, _Alloc > CepsMap
C++ map.
std::set< _Type, _Compare, _Alloc > CepsSet
C++ set.
float CepsReal
Need single precision floating point.
SAFunc< CepsMathScalar > ScalarSAFunc
TypeDef for functions that return a scalar.
Boundary condition to manage Dirichlet, Neumann and Robin conditions.
void setDofsInfos(DistributedInfos< DegreeOfFreedom * > *dof)
Set dofs infos in this class.
BoundaryConditionManager(const BoundaryConditionManager &that)=delete
No copy constructor.
Manager * m_dirichlet
managers for dirichlet
void actualizeAllRobin(CepsReal time)
Actualize only Robin conditions.
CepsMap< CepsString, ScalarBoundaryCondition * > Manager
Alias for manager inside.
void actualizeAllDirichlet(CepsReal time)
Actualize only Dirichlet conditions.
Manager * getRobinBCs() const
Get the manager for Robin conditions of dim.
Manager * m_neumann
managers for neumann
void add(const CepsString ¶ms)
Add a boundary condition term from parameters.
~BoundaryConditionManager() final
Destroy the Boundary Condition Manager object : default destructor.
Manager * m_robin
managers for robin
Manager * getNeumannBCs() const
Get the manager for Neumann conditions of dim.
void actualizeAll(CepsReal time)
Actualize all bc.
BoundaryConditionManager & operator=(const BoundaryConditionManager &that)=delete
No assignment operator.
FunctionDictionary * m_dictionary
link to the dictionary
virtual void reset()
Reset the boundary conditions manager.
void actualizeAllNeumann(CepsReal time)
Actualize only Neumann conditions.
CepsSet< DegreeOfFreedom * > m_rowsAlreadyUsed
rows that have a BC
ScalarBoundaryCondition * getBC(CepsString key, const CepsBoundaryConditionFlag &type) const
Get the boundary condition with name 'key' of type 'type' on dimension 'dim'.
DistributedInfos< DegreeOfFreedom * > * m_dofs
dofs
Manager * getBCs(const CepsBoundaryConditionFlag &type) const
Get th correct manager for bc.
Manager * getDirichletBCs() const
Get the manager for Dirichlet conditions.
BoundaryConditionManager(FunctionDictionary *dico)
Construct a new Boundary Condition Manager object dimension.
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 (),...
Abstract class for objects that have a dimensionality (0D to 3D)