Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since e9f307 was             c379f9, checked in by Frederik Heber <heber@…>, 14 years ago | 
        
          | 
Extracted defines for unit tests and placed into extra header file for re-use.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            358 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * defs.hpp | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Nov 29, 2011 | 
|---|
| 5 | *      Author: heber | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef LINKEDCELL_UNITTESTS_DEFS_HPP_ | 
|---|
| 9 | #define LINKEDCELL_UNITTESTS_DEFS_HPP_ | 
|---|
| 10 |  | 
|---|
| 11 | // include config.h | 
|---|
| 12 | #ifdef HAVE_CONFIG_H | 
|---|
| 13 | #include <config.h> | 
|---|
| 14 | #endif | 
|---|
| 15 |  | 
|---|
| 16 | #define DOMAINLENGTH 20. | 
|---|
| 17 | #define EDGELENGTH 2. | 
|---|
| 18 | #define NUMBERCELLS DOMAINLENGTH/EDGELENGTH | 
|---|
| 19 |  | 
|---|
| 20 | #endif /* LINKEDCELL_UNITTESTS_DEFS_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.