Sounds good. The DofMap class is a bit messy. -- Anders
--- Begin Message --------------------------------------------------------------- revno: 4752 committer: Garth N. Wells <[email protected]> branch nick: dolfin-all timestamp: Wed 2010-05-26 10:57:22 +0100 message: Remove uncessary function from GenericDofMap. I'll split the dolfin::DofMap code in two soon - it's messy have UFC-based dofmaps and std::vector-based dof maps in the same class. modified: dolfin/fem/GenericDofMap.h-- lp:dolfin https://code.launchpad.net/~dolfin-core/dolfin/main Your team DOLFIN Core Team is subscribed to branch lp:dolfin. To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription=== modified file 'dolfin/fem/GenericDofMap.h' --- dolfin/fem/GenericDofMap.h 2010-05-24 18:26:30 +0000 +++ dolfin/fem/GenericDofMap.h 2010-05-26 09:57:22 +0000 @@ -1,7 +1,7 @@ // Copyright (C) 2010 Anders Logg and Garth N. Wells. // Licensed under the GNU LGPL Version 2.1. // -// First added: 2010-05-24 +// First added: 2010-05-26 // Last changed: #ifndef __GENERIC_DOF_MAP_H @@ -39,7 +39,8 @@ /// Return the dimension of the global finite element function space virtual unsigned int global_dimension() const = 0; - /// Return the dimension of the local finite element function space on a cell + /// Return the dimension of the local finite element function space on a + /// cell virtual unsigned int local_dimension(const ufc::cell& cell) const = 0; /// Return the maximum dimension of the local finite element function space @@ -51,32 +52,37 @@ /// Return number of facet dofs virtual unsigned int num_facet_dofs() const = 0; - /// Tabulate the local-to-global mapping of dofs on a cell (UFC cell version) - virtual void tabulate_dofs(uint* dofs, const ufc::cell& ufc_cell, uint cell_index) const = 0; + /// Tabulate the local-to-global mapping of dofs on a cell + /// (UFC cell version) + virtual void tabulate_dofs(uint* dofs, const ufc::cell& ufc_cell, + uint cell_index) const = 0; - /// Tabulate the local-to-global mapping of dofs on a cell (DOLFIN cell version) + /// Tabulate the local-to-global mapping of dofs on a cell + /// (DOLFIN cell version) virtual void tabulate_dofs(uint* dofs, const Cell& cell) const = 0; /// Tabulate local-local facet dofs virtual void tabulate_facet_dofs(uint* dofs, uint local_facet) const = 0; /// Tabulate the coordinates of all dofs on a cell (UFC cell version) - virtual void tabulate_coordinates(double** coordinates, const ufc::cell& ufc_cell) const = 0; + virtual void tabulate_coordinates(double** coordinates, + const ufc::cell& ufc_cell) const = 0; /// Tabulate the coordinates of all dofs on a cell (DOLFIN cell version) - virtual void tabulate_coordinates(double** coordinates, const Cell& cell) const = 0; - - /// Test whether dof map has been renumbered - virtual bool renumbered() const = 0; + virtual void tabulate_coordinates(double** coordinates, + const Cell& cell) const = 0; /// Extract sub dofmap component - virtual GenericDofMap* extract_sub_dofmap(const std::vector<uint>& component, const Mesh& dolfin_mesh) const = 0; + virtual GenericDofMap* extract_sub_dofmap(const std::vector<uint>& component, + const Mesh& dolfin_mesh) const = 0; /// "Collapse" a sub dofmap - virtual GenericDofMap* collapse(std::map<uint, uint>& collapsed_map, const Mesh& dolfin_mesh) const = 0; + virtual GenericDofMap* collapse(std::map<uint, uint>& collapsed_map, + const Mesh& dolfin_mesh) const = 0; /// Return the set of dof indices - virtual Set<dolfin::uint> dofs(const Mesh& mesh, bool sort = false) const = 0; + virtual Set<dolfin::uint> dofs(const Mesh& mesh, + bool sort = false) const = 0; /// Return informal string representation (pretty-print) virtual std::string str(bool verbose) const = 0;
--- End Message ---
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

