User spcific DefaultFactory
Registered by
Felix Ospald
Hi, it would be good to have a mechanism like
class MyLinearAlgebra
{
....
}
DefaultFactory:
dolfin:
or even better:
DefaultFactory:
dolfin:
This could be done very simply by a static std::map inside DefaultFactory.
this would also allows us to use new solvers within the existing context.
LinearSolver solver("mysolver") ...
or do things like:
class MyLinearAlgebra
{
SparsityPattern* create_pattern() const
{
return new FastSparsityPat
}
}
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
(?)