~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to lib/atc/FE_Mesh.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
154
154
    AliasArray<int> element_connectivity_unique(const int eltID) const;
155
155
 
156
156
    void face_connectivity(const PAIR & faceID,
157
 
                                  Array<int> & nodes) const
 
157
                           Array<int> & nodes) const
158
158
    { int nNodesPerFace = num_nodes_per_face();
159
159
      nodes.reset(nNodesPerFace);
160
160
      int eltID = faceID.first;
271
271
                                       std::set<int> &nodeSet) const;
272
272
 
273
273
    void elementset_to_nodeset(const std::string &name, 
274
 
                               std::set<int> &nodeSet) const;
 
274
                               std::set<int> nodeSet) const;
275
275
    void elementset_to_nodeset(const std::set<int> &elemSet, 
276
 
                               std::set<int> &nodeSet) const;
 
276
                               std::set<int> nodeSet) const;
 
277
    std::set<int> elementset_to_nodeset(const std::string &name) const;
277
278
 
278
279
    /** convert faceset to nodeset in _unique_ node numbering */
279
280
    void faceset_to_nodeset(const std::string &name, 
401
402
    
402
403
  protected:
403
404
 
 
405
    void parse_plane(int & argIdx, int narg, char ** arg,  
 
406
      int & ndir, int * idir, int & isgn, double xlimits[][2]);
 
407
 
 
408
    void parse_units(int & argIdx, int narg, char ** arg,  
 
409
      double & xmin, double & xmax, double & ymin, double & ymax, double & zmin, double & zmax);
 
410
 
404
411
    /** will this mesh use data decomposition? */
405
412
    bool decomposition_;
406
413
 
581
588
    void distribute_mesh_data();
582
589
  protected:
583
590
    /** create global-to-unique node mapping */
584
 
    virtual void setup_periodicity(double tol = 1.e-8);
 
591
    virtual void setup_periodicity(double tol);
 
592
    virtual void setup_periodicity() { setup_periodicity(1.e-8); }
585
593
    void fix_periodicity  (int idim);
586
594
    int find_boundary_nodes(int idim, std::set<int> & nodes);
587
595
    bool match_nodes(int idim, std::set<int> & top, std::set<int> & bot,
684
692
    void departition_mesh(void);
685
693
    
686
694
    virtual void element_size(const int ielem, 
687
 
                              double hx, double hy, double hz) 
 
695
                              double &hx, double &hy, double &hz)
688
696
    { hx = L_[0]/n_[0]; hy = L_[1]/n_[1]; hz = L_[2]/n_[2]; }
689
697
 
690
698
    virtual double min_element_size(void) const