Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since e9f307 was             2382d7, checked in by Frederik Heber <heber@…>, 13 years ago | 
        
          | 
FillRegularGrid now uses std::vector<unsigned int> instead of Vector.
 with the new validators it possible to constrain number of entries to 3
easily.
added unimplemented StreamOperator for vectopr<unsigned int>.
TESTFIX: option mesh-size needs its arguments now as 5 5 11, not "5,5,11",
hence changed regression tests in Filling/RegularGrid.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            646 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * CubeMesh.hpp | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Jan 20, 2012 | 
|---|
| 5 | *      Author: heber | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef CUBEMESH_HPP_ | 
|---|
| 9 | #define CUBEMESH_HPP_ | 
|---|
| 10 |  | 
|---|
| 11 |  | 
|---|
| 12 |  | 
|---|
| 13 | // include config.h | 
|---|
| 14 | #ifdef HAVE_CONFIG_H | 
|---|
| 15 | #include <config.h> | 
|---|
| 16 | #endif | 
|---|
| 17 |  | 
|---|
| 18 | #include "Filling/NodeTypes.hpp" | 
|---|
| 19 | #include "Mesh.hpp" | 
|---|
| 20 |  | 
|---|
| 21 | class Vector; | 
|---|
| 22 |  | 
|---|
| 23 | class CubeMesh : public Mesh | 
|---|
| 24 | { | 
|---|
| 25 | public: | 
|---|
| 26 | CubeMesh(const Vector &counts, const Vector &offset, const RealSpaceMatrix &M); | 
|---|
| 27 | CubeMesh(const std::vector< unsigned int > &counts, const Vector &offset, const RealSpaceMatrix &M); | 
|---|
| 28 | virtual ~CubeMesh(); | 
|---|
| 29 |  | 
|---|
| 30 | void init(const std::vector< unsigned int > &counts, const Vector &offset, const RealSpaceMatrix &M); | 
|---|
| 31 | }; | 
|---|
| 32 |  | 
|---|
| 33 | #endif /* CUBEMESH_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.