~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to dolfin/fem/DirichletBC.h

  • Committer: Anders Logg
  • Date: 2008-05-22 06:46:27 UTC
  • mto: (2668.9.6 trunk)
  • mto: This revision was merged to the branch mainline in revision 2670.
  • Revision ID: logg@simula.no-20080522064627-rahrtqj3jqxnlc2j
More work on BCs

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
    void initFromSubDomain(SubDomain& sub_domain);
151
151
 
152
152
    // Initialize sub domain markers from mesh
153
 
    void initFromMesh();
 
153
    void initFromMesh(uint sub_domain);
154
154
 
155
155
    /// Apply boundary conditions
156
156
    void apply(GenericMatrix& A, GenericVector& b,
197
197
    
198
198
    // Check if the point is in the same plane as the given facet
199
199
    static bool onFacet(real* coordinates, Facet& facet);
 
200
 
 
201
    // Boundary facets, stored as pairs (cell, local facet number)
 
202
    std::vector< std::pair<uint, uint> > facets;
200
203
    
201
204
  };
202
205