ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since 78807b1 was
a42ea15,
checked in by Jae Cho <jhjcho@…>, 12 years ago
|
Yukawa structure model kernels (IGOR/NIST)
|
-
Property mode set to
100644
|
File size:
247 bytes
|
Line | |
---|
1 | /* |
---|
2 | * utility.c |
---|
3 | * twoyukawa |
---|
4 | * |
---|
5 | * Created by Marcus Hennig on 5/13/10. |
---|
6 | * Copyright 2010 __MyCompanyName__. All rights reserved. |
---|
7 | * |
---|
8 | */ |
---|
9 | |
---|
10 | #include "2Y_utility.h" |
---|
11 | double chop( double x ) |
---|
12 | { |
---|
13 | if ( fabs(x) < 1E-6 ) |
---|
14 | return 0; |
---|
15 | else |
---|
16 | return x; |
---|
17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.