← Back to team overview

dolfin team mailing list archive

Re: GenericSparsityPattern

 

On Fri, Aug 15, 2008 at 12:44:08PM +0100, Garth N. Wells wrote:
> I'm looking at some dof renumbering schemes which will operate on a 
> graph of the matrix structure, and it would be convenient to rename 
> SparsityPattern to something like 'AdjacencyGraph' (since it is just an 
> adjacency graph) and move it to another directory (dolfin/graph). 
> GenericSparsityPattern should probably also be renamed since it's member 
> functions are for either inserting graph edges or returning information 
> on the graph.
> 
> Any naming suggestions/objections?
> 
> Garth

In what way(s) is the AdjacencyGraph different from the current Graph
class (which is essentially a CRS matrix).

If it's just the weights, we could have a Graph base class and then
WeightedGraph as a subclass adding the weights.

-- 
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References