blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2 values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25 values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159 values | src_encoding stringclasses 34 values | language stringclasses 1 value | is_vendor bool 1 class | is_generated bool 2 classes | length_bytes int64 7 10.5M | extension stringclasses 111 values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
423bb4c5b15b9cc81f9ef45b405f8363d354026c | 2ea55826ea0804befeea41b9c89dd497e443bbcb | /src/kernel/device/storage/filesystem/Iso9600.cpp | ab057728536e608374451e2d33aea25df295ff6e | [
"MIT"
] | permissive | xuxiaowei007/chino-os | 5918806e8ac14966a6a9eb6533cbaef212e112f9 | 1f725cee15e1c86fbc2bda596279bd65482a082a | refs/heads/master | 2020-03-21T15:25:25.259139 | 2018-06-15T09:16:14 | 2018-06-15T09:16:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,094 | cpp | Iso9600.cpp | //
// Kernel Device
//
#include "Iso9600.hpp"
#include "../../../kdebug.hpp"
#include <cstring>
#include <unordered_map>
#include <optional>
using namespace Chino;
using namespace Chino::Device;
DEFINE_PARTITION_DRIVER_DESC(Iso9600FileSystem);
struct PartitionTableDetector
{
};
Iso9600FileSystem::Iso9600FileSystem(Partition& partition)
:partition_(partition)
{
Name = "ISO 9600";
}
bool Iso9600FileSystem::IsSupported(Chino::Device::Partition& device)
{
return true;
}
static wchar_t* types[] = {
L"Boot Record",
L"Primary Volume Descriptor",
L"Supplementary Volume Descriptor",
L"Volume Partition Descriptor",
L"Reserved",
L"Volume Descriptor Set Terminator"
};
static wchar_t* GetType(uint8_t type)
{
if (type < 4)
return types[type];
else if (type == 255)
return types[5];
return types[4];
}
void Iso9600FileSystem::Install()
{
auto buffer = std::make_unique<uint8_t[]>(partition_.BlockSize);
bool primVolFound = false;
// Primary Volume Descriptor
for (size_t i = 0x10; i < partition_.MaxLBA; i++)
{
partition_.Read(i, 1, buffer.get());
auto type = buffer[0];
//g_Logger->PutFormat(L"Volume(%d): Type: %s\n", (int)i, GetType(type));
if (type == 255)break;
if (type == 1)
{
primVolFound = true;
pathTableLBA_ = *reinterpret_cast<const uint32_t*>(buffer.get() + 140);
pathTableSize_ = *reinterpret_cast<const uint32_t*>(buffer.get() + 132);
BlockSize = *reinterpret_cast<const uint16_t*>(buffer.get() + 128);
//g_Logger->PutFormat(L"Path Table: LBA: %d, Size: %d; BlockSize: %d\n", pathTableLBA_, pathTableSize_, (int)BlockSize);
}
}
kassert(BlockSize == partition_.BlockSize);
struct entry
{
std::string name;
uint16_t parent;
};
kassert(primVolFound);
uint16_t id = 1;
std::unordered_map<uint16_t, entry> paths;
ForEachPathTable([&, this](const PathEntry& entry)
{
std::string name;
if (id == 1)
name = "ROOT";
else
name = paths[entry.ParentNumber].name + "/" + std::string((char*)(entry.Identifier), entry.IdentifierLength);
//g_Logger->PutFormat("<DIR> %s\n", name.c_str());
ForEachDirectoryEntry(entry.ExtentLBA, [&, this](const DirectoryEntry& dEntry)
{
if ((dEntry.FileFlags & 0b10) == 0)
{
auto ename = name + "/" + std::string((char*)(dEntry.IdentifierAndSystemUse), dEntry.IdentifierLength - 2);
//g_Logger->PutFormat("<FILE> %s\n", ename.c_str());
}
return false;
});
paths[id] = { name, entry.ParentNumber };
id++;
return false;
});
}
void Iso9600FileSystem::ForEachPathTable(std::function<bool(const PathEntry&)> callback)
{
auto startLba = pathTableLBA_;
auto buffer = std::make_unique<uint8_t[]>(partition_.BlockSize);
BufferedBinaryReader br(buffer.get(), [&, this](uint8_t* buffer) {
this->partition_.Read(startLba++, 1, buffer);
return this->partition_.BlockSize;
});
for (size_t i = 0; i < pathTableSize_;)
{
PathEntry entry{};
auto head = reinterpret_cast<uint8_t*>(&entry);
br.ReadBytes(head, 8);
head += 8;
auto idLen = entry.IdentifierLength;
if (idLen % 2) idLen++;
br.ReadBytes(head, idLen);
if (callback(entry)) break;
i += 8 + idLen;
}
}
void Iso9600FileSystem::ForEachDirectoryEntry(uint32_t lba, std::function<bool(const DirectoryEntry&)> callback)
{
auto buffer = std::make_unique<uint8_t[]>(partition_.BlockSize);
partition_.Read(lba, 1, buffer.get());
auto theDir = reinterpret_cast<DirectoryEntry*>(buffer.get());
auto tableSize = theDir->DataLength;
kassert(lba == theDir->ExtentLBA);
BufferedBinaryReader br(buffer.get(), [&, this](uint8_t* buffer) {
this->partition_.Read(lba++, 1, buffer);
return this->partition_.BlockSize;
}, partition_.BlockSize, 0);
for (size_t i = 0; i < tableSize;)
{
DirectoryEntry entry{};
auto head = reinterpret_cast<uint8_t*>(&entry);
br.ReadBytes(head, 1);
head += 1;
if (entry.Length == 0)
{
i += 1 + br.AbandonBuffer();
}
else
{
br.ReadBytes(head, entry.Length - 1);
if (callback(entry)) break;
i += entry.Length;
}
}
}
struct Iso9600File : public FileSystemFile
{
size_t DataLBA;
using FileSystemFile::FileSystemFile;
};
ObjectPtr<FileSystemFile> Iso9600FileSystem::TryOpenFile(const Path& filePath)
{
auto cntPathComp = filePath.begin();
auto fileNameComp = --filePath.end();
std::optional<uint32_t> pathLBA;
uint16_t parentNumber = 1;
uint16_t pathNumber = 0;
ForEachPathTable([&, this](const PathEntry& entry)
{
pathNumber++;
if (entry.ParentNumber < parentNumber) return false;
if (entry.ParentNumber > parentNumber) return true;
auto cmp = strncasecmp((char*)entry.Identifier, (*cntPathComp).data(), std::min(size_t(entry.IdentifierLength), (*cntPathComp).size()));
if (cmp > 0) return true;
if (cmp == 0 && (*cntPathComp).size() == entry.IdentifierLength)
{
if (++cntPathComp == fileNameComp)
{
pathLBA = entry.ExtentLBA;
return true;
}
parentNumber = pathNumber;
return false;
}
return false;
});
if (!pathLBA) return nullptr;
std::optional<DirectoryEntry> fileEntry;
ForEachDirectoryEntry(pathLBA.value(), [&, this](const DirectoryEntry& entry)
{
auto idLen = size_t(entry.IdentifierLength);
if ((entry.FileFlags & 2) == 0) // Is a file
{
idLen -= 2;
if (!filePath.Extension().size()) idLen--;
}
auto cmp = strncasecmp((char*)entry.IdentifierAndSystemUse, (*fileNameComp).data(), std::min(size_t(entry.IdentifierLength), (*fileNameComp).size()));
if (cmp > 0) return true;
if (cmp == 0 && (*fileNameComp).size() == idLen)
{
if ((entry.FileFlags & 2) == 0) // Is a file
fileEntry = entry;
return true;
}
return false;
});
if (!fileEntry) return nullptr;
auto& entry = fileEntry.value();
auto file = MakeObject<Iso9600File>(*this);
file->DataLBA = fileEntry.value().ExtentLBA;
file->DataLength = fileEntry.value().DataLength;
return std::move(file);
}
void Iso9600FileSystem::ReadFile(FileSystemFile& file, uint8_t* buffer, size_t blockOffset, size_t numBlocks)
{
auto& theFile = static_cast<Iso9600File&>(file);
partition_.Read(theFile.DataLBA + blockOffset, numBlocks, buffer);
}
|
3e97a6312da94e5f01f484058faf3cca587ad790 | 1dba664148395d7a5c987fa2a6018e5539524b46 | /Gato/main.cpp | e963c0696349b962d16acfeda08102ab7d0a9f3b | [] | no_license | crissandivargas/Gato | efd6614e039a56a2335f003b61c93b0e7285768c | 49aa5fc3eff83706c3b1b377e49ca3977ea29250 | refs/heads/master | 2022-04-05T19:08:19.261157 | 2020-01-27T19:22:12 | 2020-01-27T19:22:12 | 233,860,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | main.cpp | #include "gato.h"
#include "tablero.h"
int main(int argc, char** argv[]) {
Gato* juegoDelGato = new Gato();
juegoDelGato->cargarJuego(true);
juegoDelGato = nullptr;
delete juegoDelGato;
return 0;
} |
7ee45dd57c874ba07b422ec23f2374938844d7d5 | 937a8a50c0efc59fd6822116a518b200ef047a99 | /srcs/sigverse/plugin/plugin/KinectV2/KinectV2Device.h | 1e2d12d2be09726988ad054ef23861b4ee583aec | [] | no_license | noirb/sigverse-plugin | 52823b26a23f093c235cd6dce2c89cbb80d40325 | 3ed19fd9a744e4b3f9a08965843b352f9a641e09 | refs/heads/master | 2021-01-12T21:03:58.422155 | 2016-09-11T21:33:14 | 2016-09-11T21:33:14 | 65,155,387 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,749 | h | KinectV2Device.h | #pragma once
#include <SIGService.h>
#include <sigverse/plugin/common/sensor/KinectV2SensorData.h>
#include <sigverse/plugin/plugin/common/Device.h>
#include <Kinect.h>
#include <opencv2/opencv.hpp>
template<class Interface>
inline void SafeRelease(Interface *& pInterfaceToRelease)
{
if (pInterfaceToRelease != NULL)
{
pInterfaceToRelease->Release();
pInterfaceToRelease = NULL;
}
}
#define ENUMSTR(val) #val
class KinectV2Device : public Device
{
public:
enum SmoothingType
{
NONE,
SMA,
WMA,
};
//Parameter file info (key)
static const std::string paramFileKeyKinectV2SensorDataMode;
static const std::string paramFileKeyKinectV2SendHandState;
static const std::string paramFileKeyKinectV2SmoothingType;
static const std::string paramFileKeyKinectV2SmoothingSMANum;
static const std::string paramFileKeyKinectV2SmoothingWMAWeight;
private:
bool sendHandState;
SmoothingType smoothingType;
int smoothingSMANum;
double smoothingWMAWeight;
int colorFrameWidth;
int colorFrameHeight;
///@brief Read parameter file.
void readIniFile();
void handStateProcessing(const JointType &hand, const HandState &handState, ICoordinateMapper* &coordinateMapper, Joint* joint, cv::Mat &image);
///@brief Set whole body joint positions.
void convertJointPositions2KinectV2JointPositions(Joint *joints, KinectV2SensorData::KinectV2JointPosition *kinectV2JointPositions);
///@brief Set whole body joint orientations.
void convertJointOrientations2KinectV2JointOrientations(JointOrientation *orientations, KinectV2SensorData::KinectV2JointOrientation *kinectV2JointOrientations);
///@brief Convert JointType to KinectV2JointType.
KinectV2SensorData::KinectV2JointType getKinectV2JointType(const JointType jointType);
///@brief Set smoothing information.
void setSmoothingInfo(std::string typeStr, std::string smaNumStr, std::string wmaWeightStr);
///@brief Only get latest sensor data (No Smoothing)
KinectV2SensorData getLatestSensorData(const std::vector<KinectV2SensorData> &sensorDataList);
///@brief Smoothing by Simple Moving Average. (Only for POSITION mode)
KinectV2SensorData smoothingBySMA(const std::vector<KinectV2SensorData> &sensorDataList);
///@brief Smoothing by Weighted Moving Average. (Only for POSITION mode)
KinectV2SensorData smoothingByWMA(const std::vector<KinectV2SensorData> &sensorDataList);
public:
KinectV2Device();
KinectV2Device(int argc, char **argv);
~KinectV2Device();
///@brief Execute Kinect v2 device.
int run();
std::vector<KinectV2SensorData> sensorDataList;
unsigned int sensorDataListNum;
#ifdef DEBUG_PRINT
typedef struct TIME_INFO
{
SYSTEMTIME systemTime;
float val;
};
void debugPrint();
std::vector<TIME_INFO> timeInfoList;
#endif
};
|
9e74463be4d7cf0fe3cf6a62a5a81974806c3ecb | 95649b37e3b9c31d1d5a961e5be945889417cc74 | /stream_process_utility.h | 72f8e0e492ffaff4cc3813870a7839f5ba3d8cc1 | [
"MIT"
] | permissive | zorbathut/d-net | 780755755c953c39a70d0ea6ba00f5badd39ebd0 | 61f610ca71270c6a95cf57dc3acaeab8559a234b | refs/heads/master | 2021-01-12T10:40:31.923196 | 2016-11-02T02:53:29 | 2016-11-02T02:53:29 | 72,597,697 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | stream_process_utility.h | #ifndef DNET_STREAM_PROCESS_UTILITY
#define DNET_STREAM_PROCESS_UTILITY
#include "stream.h"
using namespace std;
template<typename T, typename U> struct IStreamReader<pair<T, U> > { static bool read(IStream *istr, pair<T, U> *storage) {
if(istr->tryRead(&storage->first)) return true;
if(istr->tryRead(&storage->second)) return true;
return false;
} };
template<typename T, typename U> struct OStreamWriter<pair<T, U> > { static void write(OStream *ostr, const pair<T, U> &storage) {
ostr->write(storage.first);
ostr->write(storage.second);
} };
#endif
|
2dba31c041c54807bd68d555f8973b45bd52fdaa | dda0d7bb4153bcd98ad5e32e4eac22dc974b8c9d | /reporting/crashsender/sender/tcp_simple_sender.h | 3d3801464dd5bc6d64c9861fcd80df99fa77729d | [
"BSD-3-Clause"
] | permissive | systembugtj/crash-report | abd45ceedc08419a3465414ad9b3b6a5d6c6729a | 205b087e79eb8ed7a9b6a7c9f4ac580707e9cb7e | refs/heads/master | 2021-01-19T07:08:04.878028 | 2011-04-05T04:03:54 | 2011-04-05T04:03:54 | 35,228,814 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 833 | h | tcp_simple_sender.h | // Copyright 2011 . All Rights Reserved.
// Author: yeshunping@gmail.com (Shunping Ye)
#ifndef TCP_SIMPLE_SENDER_H_
#define TCP_SIMPLE_SENDER_H_
#include "abstract_sender.h"
#include <string>
// 这个使用tcp进行发送,这一个sender非常简单,只是为了在本机进行测试使用。
// 因为可以编写简单的server就可以进行demo。
// 如果是Http之类的,则搭apache http server比较麻烦。
class SimpleTcpSender : public AbstractSender {
public:
SimpleTcpSender(SendData* data, AssyncNotification* assync);
~SimpleTcpSender();
virtual bool Send();
private:
bool ConnectToServer();
bool SendCrashReport();
void ReceiveAskData();
bool SendKeyValue(std::string key, std::string value);
SOCKET sock_;
bool status_;
};
#endif // TCP_SIMPLE_SENDER_H_
|
d74f855f11dc324fd7633643556bd568f481edee | 8dc8a49288e0d5c6d771bf29a6f1b617f4d0a724 | /Source/EucolusCore/EucolusCore/GUI/GUIElement.cpp | 8a3165fa654f7b2dbddded9cb1e45d72261ac637 | [] | no_license | kmteras/Adventures-of-Charles | e0230e6c759941507c3d65dc5ca233213ffe49a0 | 3ffe0054210061f1100cdd65a9ac47d2d02d8762 | refs/heads/master | 2021-03-16T09:26:18.419378 | 2017-01-04T00:59:24 | 2017-01-04T00:59:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | cpp | GUIElement.cpp | #include "GUI/GUIElement.h"
namespace Eucolus
{
namespace GUI
{
Element::Element()
{
}
Element::~Element()
{
}
void Element::Update()
{
}
void Element::Render()
{
}
}
}
|
b8e0d5a1cd66f7ee6592c74ddf56f4ceddb1fc2e | 3fe692c3ebf0b16c0a6ae9d8633799abc93bd3bb | /Contests/QuestOJ-Mar-22/card.cpp | 6f44a69bc518006374a22ca275cbeac5f3757975 | [] | no_license | kaloronahuang/KaloronaCodebase | f9d297461446e752bdab09ede36584aacd0b3aeb | 4fa071d720e06100f9b577e87a435765ea89f838 | refs/heads/master | 2023-06-01T04:24:11.403154 | 2023-05-23T00:38:07 | 2023-05-23T00:38:07 | 155,797,801 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,327 | cpp | card.cpp | // card.cpp
#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 4e5 + 200;
int n, k, ai[MAX_N], bi[MAX_N], ki[MAX_N], nodes[MAX_N << 2], upper, timeStamp[MAX_N], ntot, ansBox[MAX_N];
vector<int> mp;
int ripe(int x) { return lower_bound(mp.begin(), mp.end(), x) - mp.begin() + 1; }
inline char nc()
{
static char buf[100000], *p1 = buf, *p2 = buf;
return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, 100000, stdin), p1 == p2) ? EOF : *p1++;
}
int read()
{
int x = 0, f = 1;
char ch = nc();
while (!isdigit(ch))
{
if (ch == '-')
f = -1;
ch = nc();
}
while (isdigit(ch))
x = (x << 3) + (x << 1) + ch - '0', ch = nc();
return x * f;
}
struct node
{
int id, xtime, ytime;
bool operator<(const node &rhs) const { return xtime > rhs.xtime || (xtime == rhs.xtime && id < rhs.id); }
} pts[MAX_N];
#define lson (p << 1)
#define rson ((p << 1) | 1)
#define mid ((l + r) >> 1)
void update(int qx, int l, int r, int p, int val)
{
if (l == r)
return (void)(nodes[p] = max(nodes[p], val));
if (qx <= mid)
update(qx, l, mid, lson, val);
else
update(qx, mid + 1, r, rson, val);
nodes[p] = max(nodes[lson], nodes[rson]);
}
int query(int ql, int qr, int l, int r, int p)
{
if (ql <= l && r <= qr)
return nodes[p];
int ret = 0;
if (ql <= mid)
ret = max(ret, query(ql, qr, l, mid, lson));
if (mid < qr)
ret = max(ret, query(ql, qr, mid + 1, r, rson));
return ret;
}
#undef mid
#undef rson
#undef lson
// fenwick tree;
int fnodes[MAX_N];
inline int lowbit(int x) { return x & (-x); }
void update(int x, int d)
{
for (; x <= upper; x += lowbit(x))
fnodes[x] += d;
}
int query(int x, int ret = 0)
{
for (; x; x -= lowbit(x))
ret += fnodes[x];
return ret;
}
int main()
{
n = read(), k = read();
for (int i = 1; i <= n; i++)
ai[i] = read(), mp.push_back(ai[i]), bi[i] = read(), mp.push_back(bi[i]);
for (int i = 1; i <= k; i++)
ki[i] = read(), mp.push_back(ki[i]);
sort(mp.begin(), mp.end()), mp.erase(unique(mp.begin(), mp.end()), mp.end());
upper = mp.size();
for (int i = 1; i <= n; i++)
ai[i] = ripe(ai[i]), bi[i] = ripe(bi[i]);
for (int i = 1; i <= k; i++)
ki[i] = ripe(ki[i]), update(ki[i], 1, upper, 1, i);
for (int i = 1; i <= n; i++)
{
int lft = min(ai[i], bi[i]), rig = max(ai[i], bi[i]) - 1;
if (lft <= rig)
timeStamp[i] = query(lft, rig, 1, upper, 1);
}
for (int i = 1; i <= n; i++)
pts[++ntot] = node{i, timeStamp[i], max(ai[i], bi[i])};
for (int i = 1; i <= k; i++)
pts[++ntot] = node{0, i, ki[i]};
sort(pts + 1, pts + 1 + ntot);
for (int i = 1; i <= ntot; i++)
if (pts[i].id == 0)
update(pts[i].ytime, 1);
else
ansBox[pts[i].id] = query(upper) - query(pts[i].ytime - 1);
long long ans = 0;
for (int i = 1; i <= n; i++)
{
int situation[2] = {ai[i], bi[i]};
if (timeStamp[i] != 0)
situation[0] = max(ai[i], bi[i]), situation[1] = min(ai[i], bi[i]);
if (ansBox[i] & 1)
swap(situation[0], situation[1]);
ans += mp[situation[0] - 1];
}
printf("%lld\n", ans);
return 0;
} |
6dce47cf6a8bb3aab9149633e1c9b8a1c9028e7a | 7970235c81e927f38fdaeef6dffe2e52a89c0b54 | /ProcMethodsCoursework/App1.h | a9b3fdda6887801179266cefb6a2260049770d62 | [
"MIT"
] | permissive | Skelebags/ProceduralTerrain | 89b33a45103c785f8c4a84489aaeb04b492fa9ec | a3705b25feac8be2efc2de6a721f124b151a4def | refs/heads/main | 2023-02-17T13:55:16.053341 | 2021-01-08T17:46:28 | 2021-01-08T17:46:28 | 327,971,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | h | App1.h | // Application.h
#ifndef _APP1_H
#define _APP1_H
// Includes
#include "../DXFramework/DXF.h"
#include "../DXFramework/Light.h"
#include "LightShader.h"
#include "TextureShader.h"
#include "TerrainMesh.h"
#include "HorizontalBlurShader.h"
#include "VerticalBlurShader.h"
class App1 : public BaseApplication
{
public:
App1();
~App1();
void init(HINSTANCE hinstance, HWND hwnd, int screenWidth, int screenHeight, Input* in);
bool frame();
protected:
bool render();
void RenderScene();
void RenderToTexture();
void gui();
void DownSample();
void ApplyHBlur();
void ApplyVBlur();
void UpSample();
bool blur;
private:
TextureShader* textureShader;
LightShader* lightShader;
HorizontalBlurShader* hBlurShader;
VerticalBlurShader* vBlurShader;
ID3D11ShaderResourceView* textureArray[2];
TerrainMesh* mesh;
OrthoMesh* orthoMesh;
OrthoMesh* downSampleMesh;
OrthoMesh* hBlurMesh;
OrthoMesh* vBlurMesh;
OrthoMesh* upSampleMesh;
Light* light;
RenderTexture* renderTexture;
RenderTexture* downSampled;
RenderTexture* hBlurred;
RenderTexture* vBlurred;
RenderTexture* finalBlurred;
};
#endif |
e5ceac94fce90a07ee33aa93fc5977bced7d8aa4 | 24d7a699d2351fa624db2c2a42e76e922c39c6e6 | /fistr1/tools/neu2fstr/HECD/CFSTRDB_Write.cpp | 6eb9c5d9b3e423e082c61219898cb48b862dcc20 | [
"MIT"
] | permissive | foci/FrontISTR | 90fd63883ee1725bcbd91872546063c9b3b5a8c8 | b89cfd277bccad35b9e016083580e9dbcafe1031 | refs/heads/master | 2020-06-16T16:22:44.806728 | 2016-11-14T18:48:43 | 2016-11-14T18:48:43 | 75,085,121 | 0 | 0 | null | 2016-11-29T13:42:06 | 2016-11-29T13:42:06 | null | UTF-8 | C++ | false | false | 989 | cpp | CFSTRDB_Write.cpp | /*****************************************************************************
* Copyright (c) 2016 The University of Tokyo
* This software is released under the MIT License, see LICENSE.txt
*****************************************************************************/
/*
CFSTRDB_Write Ver.1.0
*/
#include "CFSTRDB.h"
#include "CHECData.h"
using namespace std;
CFSTRDB_Write::CFSTRDB_Write()
: CFSTRDataBlock(FSTRDB_WRITE),
result(0), visual(0)
{
}
CFSTRDB_Write::~CFSTRDB_Write()
{
Clear();
}
void CFSTRDB_Write::Clear()
{
result = visual = 0;
}
void CFSTRDB_Write::Write( CHECData* hecd )
{
char header_s[256];
strcpy( header_s, "!WRITE" );
if( result ) strcat( header_s, ",RESULT");
if( visual ) strcat( header_s, ",VISUAL");
hecd->WriteHeader( header_s ) ;
}
bool CFSTRDB_Write::Read( CHECData* hecd, char* header_line )
{
int rcode[10];
if(! hecd->ParseHeader( header_line, rcode, "EE", "RESULT",&result,"VISUAL",&visual)) return false;
return true;
}
|
1e7076801b7e29103d4fd24f64b685f7d002391c | 1028fd41afa5d61e1f19363778a7904d880f1591 | /C++_Belt_Series/02_yellow/04_Itterators/10_NearestElement/main.cpp | ab4584247e9f756882c3b6af03e37f16c878b0af | [] | no_license | lemikhovalex/Coursera | b1a3fdbf71bac4f2638d788e11c1c14a8df96c5c | 076b288cc2b360d7766a14b3a3ef38fceee54bea | refs/heads/master | 2021-06-26T04:54:37.594374 | 2021-02-06T07:34:41 | 2021-02-06T07:34:41 | 201,340,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | cpp | main.cpp | #include <iostream>
#include "vector"
#include "algorithm"
#include "set"
using namespace std;
set<int>::const_iterator FindNearestElement(
const set<int>& numbers,
int border);
set<int>::const_iterator FindNearestElement(
const set<int>& numbers,
int border){
auto out_upper = numbers.upper_bound(border);
auto out_lower = numbers.lower_bound(border);
if (out_lower != numbers.begin() && *out_lower != border){
-- out_lower;
}
//cout << "Boarder =" << border << ", lower = " << *out_lower << ", upper = " << *out_upper << endl;
if(abs(*out_upper - border) < abs(*out_lower - border)){
return out_upper;
} else{
return out_lower;
}
return out_lower;
}
int main() {
set<int> numbers = {1, 4, 6};
cout <<
*FindNearestElement(numbers, 0) << " " <<
*FindNearestElement(numbers, 3) << " " <<
*FindNearestElement(numbers, 5) << " " <<
*FindNearestElement(numbers, 6) << " " <<
*FindNearestElement(numbers, 100) << endl;
set<int> empty_set;
cout << (FindNearestElement(empty_set, 8) == end(empty_set)) << endl;
return 0;
}
|
9ce32072f7f9efe385523f77d099912c63287b42 | 9a3e3a91e4fc0f310216fc03d40dee81549644ee | /dialogreport.cpp | 99692ea95293a07a945c2c9551b04afafc4148e5 | [] | no_license | farm2440/beton | 13094bbdad38ba7e62c6f4d52aa2fc643e782a65 | 413c3b40bf9b5c0ca2585dd234b78c2d9ce97b59 | refs/heads/master | 2016-09-06T04:18:52.756207 | 2013-11-13T09:25:54 | 2013-11-13T09:25:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,241 | cpp | dialogreport.cpp | #include "dialogreport.h"
#include "ui_dialogreport.h"
DialogReport::DialogReport(QWidget *parent) : QDialog(parent), ui(new Ui::DialogReport)
{
ui->setupUi(this);
// *** -= КИРИЛИЗАЦИЯ !!! =- ***
QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
this->setCursor(QCursor(Qt::BlankCursor));
ui->textEdit->setVisible(false);
showReport=false;
connect(ui->btnExit,SIGNAL(clicked()),this,SLOT(onExit()));
connect(ui->btnSave,SIGNAL(clicked()),this,SLOT(onSave()));
connect(ui->btnShow,SIGNAL(clicked()),this,SLOT(onShowReport()));
connect(ui->btnEndTimeDown,SIGNAL(clicked()),ui->timeEditEnd,SLOT(stepDown()));
connect(ui->btnEndTimeUp,SIGNAL(clicked()),ui->timeEditEnd,SLOT(stepUp()));
connect(ui->btnStartTimeDown,SIGNAL(clicked()),ui->timeEditStart,SLOT(stepDown()));
connect(ui->btnStartTimeUp,SIGNAL(clicked()),ui->timeEditStart,SLOT(stepUp()));
connect(ui->btnEndTimeDown,SIGNAL(clicked()),this,SLOT(beep()));
connect(ui->btnEndTimeUp,SIGNAL(clicked()),this,SLOT(beep()));
connect(ui->btnStartTimeDown,SIGNAL(clicked()),this,SLOT(beep()));
connect(ui->btnStartTimeUp,SIGNAL(clicked()),this,SLOT(beep()));
connect(ui->calendarWidgetEnd,SIGNAL(clicked(QDate)),this,SLOT(beep()));
connect(ui->calendarWidgetStart,SIGNAL(clicked(QDate)),this,SLOT(beep()));
ui->btnSave->setEnabled(false);
}
DialogReport::~DialogReport()
{
delete ui;
}
void DialogReport::changeEvent(QEvent *e)
{
QDialog::changeEvent(e);
switch (e->type()) {
case QEvent::LanguageChange:
ui->retranslateUi(this);
break;
default:
break;
}
}
void DialogReport::onSave()
{
beep();
bool ready = false;
QString strUmount("umount /dev/udisk");
QString strMount("mount /dev/udisk /udisk");
int exitCode;
QTime time;
bool fileWriOK=false;
bool fileTxtOK=false;
QMessageBox::StandardButton choice;
choice = QMessageBox::information(this,tr("Запис на файл"),tr("Моля, поставете външна памент в USB и натиснете ОК."),QMessageBox::Ok,QMessageBox::Cancel);
beep();
if(choice==QMessageBox::Cancel) return;
QProcess *proc = new QProcess(this);
time.restart();
//диалог с прогрес бар излиза докато се сканира за флашка
QProgressDialog pdlg(tr("Запис на справка"),tr("Търсене на устройство..."),0,56,this);
pdlg.setWindowModality(Qt::WindowModal);
pdlg.show();
int val = 0;
while(!ready)
{
//демонтирам и отново монтирам флашката във файловата система.Така ако последната операция е успешна
//се уверявам, че флашката е поставена.
//unmount
exitCode = proc->execute(strUmount);
//mount and check the exit code
exitCode = proc->execute(strMount);
//придвижва се прогрес бара
pdlg.setValue(val);
pdlg.setCursor(QCursor(Qt::BlankCursor));
if(val<56) val++;
if(exitCode==0){ ready=true; }
else
{
if(time.elapsed()>6000)
{//проверка за таймаут
QMessageBox::critical(this,tr("ГРЕШКА"),tr("Външна USB памет не може да бъде открита"));
beep();
if(proc!=NULL) delete proc;
pdlg.hide();
return;
}
}
qApp->processEvents();
}
pdlg.close();
//създава се уникално име нафайл
QString wriFileName = QString("report-%1%2%3%4.wri").arg(QDate::currentDate().day())
.arg(QTime::currentTime().hour())
.arg(QTime::currentTime().minute())
.arg(QTime::currentTime().second());
QString tabFileName = QString("report-%1%2%3%4.txt").arg(QDate::currentDate().day())
.arg(QTime::currentTime().hour())
.arg(QTime::currentTime().minute())
.arg(QTime::currentTime().second());
QFile wriFile("/udisk/" + wriFileName);
QFile tabFile("/udisk/" + tabFileName);
//Записва се файл с разширение .wri и съдържанието му е това на textEdit
if(wriFile.open(QIODevice::WriteOnly))
{
QTextStream wriStream(&wriFile);
QTextCodec *cyrCodec = QTextCodec::codecForName("Windows-1251");
wriStream.setCodec(cyrCodec);
wriStream << QString(tr("Справка за изпълнените заявки за периода от %2 на %1 до %4 на %3 \n\n"))
.arg(ui->calendarWidgetStart->selectedDate().toString("yyyy-MM-dd"))
.arg(ui->timeEditStart->time().toString("hh:mm:ss"))
.arg(ui->calendarWidgetEnd->selectedDate().toString("yyyy-MM-dd"))
.arg(ui->timeEditEnd->time().toString("hh:mm:ss"));;
wriStream << ui->textEdit->toPlainText();
qDebug() << ui->textEdit->toPlainText();
wriFile.close();
fileWriOK=true;
}
//Записва се файл с разширение .txt в който данните са разделени с табове
if(tabFile.open(QIODevice::WriteOnly))
{
QTextStream tabStream(&tabFile);
QTextCodec *cyrCodec = QTextCodec::codecForName("Windows-1251");
tabStream.setCodec(cyrCodec);
tabStream << QString(tr("Справка за изпълнените заявки за периода от %2 на %1 до %4 на %3 \n\n"))
.arg(ui->calendarWidgetStart->selectedDate().toString("yyyy-MM-dd"))
.arg(ui->timeEditStart->time().toString("hh:mm:ss"))
.arg(ui->calendarWidgetEnd->selectedDate().toString("yyyy-MM-dd"))
.arg(ui->timeEditEnd->time().toString("hh:mm:ss"));;
tabStream << table;
qDebug() << table;
tabFile.close();
fileTxtOK=true;
}
proc->execute(strUmount);
qDebug() << "unmount:" << strUmount;
if(fileWriOK && fileTxtOK) QMessageBox::information(this,tr("Запис на файл"),tr("Файлoвете ") + wriFileName + tr(" и ") + tabFileName + tr(" са записани.\nМожете да извадите паметта от USB."));
else QMessageBox::critical(this,tr("ГРЕШКА"),tr("Гршка при опит да бъде записан файла\nвърху външна USB памет."));
beep();
if(proc!=NULL) delete proc;
}
void DialogReport::onShowReport()
{
bool ok;
QSqlQuery qry;
QString str;
beep();
if(showReport)
{
ui->btnEndTimeDown->setVisible(true);
ui->btnEndTimeUp->setVisible(true);
ui->btnStartTimeDown->setVisible(true);
ui->btnStartTimeUp->setVisible(true);
ui->calendarWidgetEnd->setVisible(true);
ui->calendarWidgetStart->setVisible(true);
ui->lblEnd->setVisible(true);
ui->lblStart->setVisible(true);
ui->timeEditStart->setVisible(true);
ui->timeEditEnd->setVisible(true);
ui->btnSave->setEnabled(false);
ui->textEdit->setVisible(false);
ui->btnShow->setText(tr("ПОКАЖИ"));
}
else
{
this->setCursor(QCursor(Qt::WaitCursor));
ui->btnEndTimeDown->setVisible(false);
ui->btnEndTimeUp->setVisible(false);
ui->btnStartTimeDown->setVisible(false);
ui->btnStartTimeUp->setVisible(false);
ui->calendarWidgetEnd->setVisible(false);
ui->calendarWidgetStart->setVisible(false);
ui->lblEnd->setVisible(false);
ui->lblStart->setVisible(false);
ui->timeEditStart->setVisible(false);
ui->timeEditEnd->setVisible(false);
ui->textEdit->setVisible(true);
ui->textEdit->clear();
ui->btnShow->setText(tr("СКРИЙ"));
str = QString("select * from log where StartTime >= '%1 %2' and EndTime <= '%3 %4';")
.arg(ui->calendarWidgetStart->selectedDate().toString("yyyy-MM-dd"))
.arg(ui->timeEditStart->time().toString("hh:mm:ss"))
.arg(ui->calendarWidgetEnd->selectedDate().toString("yyyy-MM-dd"))
.arg(ui->timeEditEnd->time().toString("hh:mm:ss"));
//qDebug() << str;
qry.prepare(str);
if(!qry.exec())
{
this->setCursor(QCursor(Qt::BlankCursor));
QMessageBox::critical(this, tr("Грешка база данни"), tr("Не мога да изпълня SQL заявка SELECT"));
beep();
return;
}
table = "LOG REPORT: \r\n" ; // - - - - - - - - - - - - - - - -
table += " START\tEND\tmodel\tQuantity\tSH%\tFH%\tSand\tFraction\tCement\tDust\tWater\tR.Sand\tR.Fraction\tR.Cement\tR.Dust\tR.Water\tCorDry\tCorWat\tExitStatus \r\n";
//DEMO ДЕМО
while(qry.next())
{
QString name;
QString qs;
name = qry.value(2).toString().leftJustified(12,' '); //име
//в този низ се подготвя съдържанието на файла с табличен вид
table += qry.value(0).toString() //start
+'\t' + qry.value(1).toString() //stop
+'\t' + name
+'\t' + qry.value(3).toString() //количество
+'\t' + qry.value(4).toString() //влажност пясък
+'\t' + qry.value(5).toString() //влажност фракция
//Реално вложени материали
+'\t' + qry.value(6).toString() //пясък
+'\t' + qry.value(7).toString() //фракция
+'\t' + qry.value(8).toString() //цилмент
+'\t' + qry.value(9).toString() //пепелина
+'\t' + qry.value(10).toString() //вода
//Материали зададени в оригиналната рецепта
+'\t' + qry.value(11).toString() //пясък
+'\t' + qry.value(12).toString() //фракция
+'\t' + qry.value(13).toString() //цилмент
+'\t' + qry.value(14).toString() //пепелина
+'\t' + qry.value(15).toString(); //вода
// +'\t' + qry.value(10).toString() //корекция материали
// +'\t' + qry.value(11).toString() //корекция вода
// +'\t' + qry.value(12).toString(); //статус
////Коригирани материали
if(qry.value(16)==1) table += "\tY";
else table+= "\tN";
//коригирана вода
if(qry.value(17)==1) table += "\tY";
else table+= "\tN";
switch(qry.value(18).toInt(&ok))
{
case 0:
table+="\tNormal exit";
break;
case 1:
table+="\tManual abort";
break;
case 2:
table+="\tHardware Failure";
break;
case 3:
table+="\tPower down";
break;
default:
table+="\tUnknown";
break;
}
table += "\r\n";
/////////////////////////////////////////////////////////////////////////////////////////////////
//Запълва се текстовото поле
ui->textEdit->append(tr("Заявка от: ") + qry.value(0).toString() + tr(" Приключена:") + qry.value(1).toString());
ui->textEdit->append(QString(tr("Бетон %1 %2 м3. ")).arg(name).arg(qry.value(3).toString()));
ui->textEdit->append(QString(tr("Влажност на пясъка %1%. Влажност на фракция %2%")).arg(qry.value(4).toString()).arg(qry.value(5).toString()));
qs = tr("Корекция на материали:");
if(qry.value(16)==1) qs += tr("ДА");
else qs+= tr("НЕ");
qs += tr(" Корекция на вода:");
if(qry.value(17)==1) qs += tr("ДА");
else qs+= tr("НЕ");
ui->textEdit->append(qs);
qs=tr("Статус:");
switch(qry.value(18).toInt(&ok))
{
case 0:
qs +=tr("Нормално завършена");
break;
case 1:
qs+=tr("Прекратена");
break;
case 2:
qs+=tr("Технически проблем");
break;
case 3:
qs+=tr("Прекъснато ел.захранване");
break;
default:
qs+=tr("Неизвестен");
break;
}
ui->textEdit->append(qs);
ui->textEdit->append(QString(tr("Вложени материали: Пясък:%1 Фракция:%2 Цимент:%3 Пепелина:%4 Вода:%5"))
.arg(qry.value(6).toString()) //пясък
.arg(qry.value(7).toString()) //фракция
.arg(qry.value(8).toString()) //цилмент
.arg(qry.value(9).toString()) //пепелина
.arg(qry.value(10).toString()) //вода
);
ui->textEdit->append(QString(tr("Материали по задание:Пясък:%1 Фракция:%2 Цимент:%3 Пепелина:%4 Вода:%5"))
.arg(qry.value(11).toString()) //пясък
.arg(qry.value(12).toString()) //фракция
.arg(qry.value(13).toString()) //цилмент
.arg(qry.value(14).toString()) //пепелина
.arg(qry.value(15).toString()) //вода
);
ui->textEdit->append("-----------------------------------------------------------------------------------------");
}
if(ui->textEdit->toPlainText() == "") ui->btnSave->setEnabled(false);
else ui->btnSave->setEnabled(true);
}
showReport= !showReport;
this->setCursor(QCursor(Qt::BlankCursor));
}
void DialogReport::onExit()
{
#ifdef TAKE_SCREENSHOTS
takeScreenShot();
#endif
beep();
this->accept();
}
void DialogReport::beep()
{
QTime tme;
GPIO *buzzer;
buzzer = new GPIO(PIN31);
buzzer->openPin();
buzzer->setDirection(GPIO::Out);
tme.restart();
buzzer->setState(true);
while(tme.elapsed()<25){qApp->processEvents();}
buzzer->setState(false);
buzzer->closePin();
delete buzzer;
}
#ifdef TAKE_SCREENSHOTS
void DialogReport::takeScreenShot()
{
QPixmap screen;
QString format = "png";
screen = QPixmap::grabWindow(QApplication::desktop()->winId());
screen.save(QString("/sdcard/report.png"),format.toAscii());
}
#endif
|
c60b474c624ccdea247f831f21e4a176e34611f4 | 88140f300108e245713e2b1c6fd2d9fa1228b277 | /tests/Greeting_test.cpp | 5a9b6f6f6cb555c8714f151b2658a47d9399b8a3 | [] | no_license | ichibrosan/cpp-template | 4df26a98740dab42f6c12c5b22b6fa1850ac5f02 | 3835834a24a01c7123ff59dffc66732696a05b10 | refs/heads/master | 2020-11-29T12:53:53.939508 | 2019-12-25T17:57:55 | 2019-12-25T17:57:55 | 230,112,428 | 0 | 0 | null | 2019-12-25T14:22:52 | 2019-12-25T14:15:47 | null | UTF-8 | C++ | false | false | 506 | cpp | Greeting_test.cpp | #include "gtest/gtest.h"
#include "src/lib/Greeting.hpp"
#include "src/lib/Extra.hpp"
TEST(GreetingShould, ReturnHelloWorld){
Greeting *greet = new Greeting();
std::string actual = greet->getGreetingMessage();
std::string expected = "Hello World!";
EXPECT_EQ(expected, actual);
}
TEST(ExtraShould, ReturnHelloWorld){
Extra *extra = new Extra();
std::string actual = extra->getGreetingMessage();
std::string expected = "Hello Extra World!";
EXPECT_EQ(expected, actual);
}
|
26bc9bf0358ecca01a09e4e9658bd21f0dbcb332 | cb477b793eaa3c405418ee8af34112262baad9df | /lab2/qn1.cpp | 87055b6214e377edfce53ae477d5a044bea53adb | [] | no_license | AbiralBhattarai/C-programmming-Lab | 2cc302875763148078cb465d3ba1f23795bc4103 | 47b019644f7cde79c3c3afe857872bb89348b010 | refs/heads/master | 2023-05-13T01:10:33.974848 | 2021-06-08T16:07:04 | 2021-06-08T16:07:04 | 359,832,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | qn1.cpp | #include<stdio.h>
#include<conio.h>
int main(){
int a;
printf("enter a number: ");
scanf("%d",&a);
if(a%2 == 0){
printf("Number is even!");
}else if(a%2 == 1){
printf("Number is odd!");
}
else{
printf("number is zero!");
}
}
|
09f0879f18575166d77fe11b91610a512cd9fb9a | 91e18d602faef7faecc260272f3f3fb6c45ec952 | /Turing/cosc230/assignment3/test.cc | 2fc7464359ac46cfc2ad5c357820b4741d6f888f | [] | no_license | MiniWorks18/UNE_2020 | de3ac0923774c6b221764313310d5f8b028ed131 | d1e03d61dc32a65e47a547e53d5e992d7b1cd79e | refs/heads/main | 2023-06-20T04:35:28.832068 | 2021-07-21T08:36:15 | 2021-07-21T08:36:15 | 388,049,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cc | test.cc | #include "assignment3_functions.cc"
#include<stack>
#include<iostream>
using namespace std;
int main() {
stack<int> S, S1, S2;
S.push(1), S.push(2), S.push(3);
cout << "The top element of S is: " << S.top() << endl;
reverse_stack(S, S1, S2);
cout << "The top element of S is now: " << S.top() << endl;
cout << "Output for sum(4): " << sum(4) << endl;
cout << "Output for sum(3): " << sum(3) << endl;
cout << "Output for sum(2): " << sum(2) << endl;
cout << "Output for sum(1): " << sum(1) << endl;
iterative_call();
recursive_call();
return 0;
}
|
1894b099cd9af2e051f6a87b3b5e1caa00c27e38 | 5c17f438f76834ee19410ac1b8949d76bab732f4 | /my-project3/src/app/contact/class.cpp | 724e2166cd6abf6d66b384b716d8161c0738cba3 | [] | no_license | peeraponwannapan/labionic | 9e51539c940c1dfede7e24936f45bd8df755d448 | 281d09f5872a03937ac5d9f89f13fc41d1698b92 | refs/heads/master | 2022-12-18T08:23:53.390547 | 2020-09-22T14:16:11 | 2020-09-22T14:16:11 | 297,659,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | class.cpp | #include<stdio.h>
#include<iostream>
#include<string.h>
class Student
{
public:char firstname[100] = "John";
public:char lastname[100] = "Lennon";
public:int score = 100;
public:char getGrade(){
if(score<50){
return 'F';
}
else if(score <60){
return 'D';
}
else if(score<70){
return 'C';
}
else if(score<80){
return 'B';
}
else{
return 'A';
}
}
};
int main(int argc, char const *argv[])
{
Student student2 = Student();
printf("\n Student2 Grade = %c",student2.getGrade());
return 0;
}
|
b9aa24bb508e04a3a09a061a6b88ca20999b9fa9 | 163d370755cdbd0675d2a95fb0c4d374cddaddbd | /beziers.cpp | 3e7a7f4a25c37183505b988616368ba6d19b2a58 | [] | no_license | AlexeyKulbitsky/Constructor | 730bf96616cb788435e5c456db1ffb7db53928e4 | 8e3518e5a60cacbcbcc0e9b5996c07132ed989a4 | refs/heads/master | 2021-01-13T00:49:31.235913 | 2016-03-14T08:36:52 | 2016-03-14T08:36:52 | 36,598,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,031 | cpp | beziers.cpp | #include "beziers.h"
Beziers::Beziers()
{
}
Beziers::Beziers(float x1, float y1, float x2, float y2, float x3, float y3, int numberOfSides)
{
name = "Beziers";
layer = 1;
indexOfSelectedControl = -1;
controlPoints.push_back(x1);
controlPoints.push_back(y1);
controlPoints.push_back(0.0f);
controlPoints.push_back(x2);
controlPoints.push_back(y2);
controlPoints.push_back(0.0f);
controlPoints.push_back(x3);
controlPoints.push_back(y3);
controlPoints.push_back(0.0f);
this->step = 1.0f / float(numberOfSides);
this->numberOfSides = numberOfSides;
setVertexArray();
setColorArray(0.0f, 0.0f, 0.0f);
setIndexArray();
}
Beziers::Beziers(QVector<float> &points, int numberOfSides)
{
name = "Beziers";
layer = 1;
indexOfSelectedControl = -1;
for (int i = 0; i < points.size(); ++i)
controlPoints.push_back(points[i]);
this->step = 1.0f / float(numberOfSides);
this->numberOfSides = numberOfSides;
setVertexArray();
setColorArray(0.0f, 0.0f, 0.0f);
setIndexArray();
}
Beziers::~Beziers()
{
}
bool Beziers::isSelected()
{
return selected;
}
void Beziers::setSelectedStatus(bool status)
{
selected = status;
}
void Beziers::drawFigure(QGLWidget *)
{
glDisable(GL_LIGHTING);
glDisableClientState(GL_NORMAL_ARRAY);
glEnableClientState(GL_COLOR_ARRAY);
glColorPointer(3, GL_FLOAT, 0, colorArray.begin());
glVertexPointer(3, GL_FLOAT, 0, vertexArray.begin());
glDrawElements(GL_LINE_STRIP, indexArray.size(), GL_UNSIGNED_INT, indexArray.begin());
if (selected)
{
glDisable(GL_DEPTH_TEST);
drawSelectionFrame();
glEnable(GL_DEPTH_TEST);
}
glDisableClientState(GL_COLOR_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);
glEnable(GL_LIGHTING);
}
void Beziers::drawSelectionFrame()
{
glLineWidth(1.0f);
glBegin(GL_LINE_STRIP);
for (int i = 0; i < controlPoints.size() / 3; ++i)
{
glColor3f(0.0f, 1.0f, 0.0f);
glVertex3f(controlPoints[i * 3], controlPoints[i * 3 + 1], controlPoints[i * 3 + 2]);
}
glEnd();
for (int i = 0; i < getNumberOfControls(); ++i)
drawControlElement(i, 5.0f, 10.0f);
}
void Beziers::drawMeasurements(QGLWidget *)
{
}
void Beziers::move(float dx, float dy, float)
{
for (int i = 0; i < vertexArray.size() / 3; ++i)
{
vertexArray[i * 3] += dx;
vertexArray[i * 3 + 1] += dy;
}
for (int i = 0; i < controlPoints.size() / 3; ++i)
{
controlPoints[i * 3] += dx;
controlPoints[i * 3 + 1] += dy;
}
}
void Beziers::drawControlElement(int index, float, float pointSize)
{
glPointSize(pointSize);
glBegin(GL_POINTS);
glColor3f(0.0f, 1.0f, 0.0f);
glVertex3f(controlPoints[index * 3], controlPoints[index * 3 + 1], controlPoints[index * 3 + 2]);
glEnd();
}
QCursor Beziers::getCursorForControlElement(int)
{
return Qt::CrossCursor;
}
void Beziers::resizeByControl(int index, float dx, float dy, float, float)
{
controlPoints[index * 3] += dx;
controlPoints[index * 3 + 1] += dy;
setVertexArray();
}
int Beziers::getNumberOfControls()
{
return controlPoints.size() / 3;
}
int Beziers::controlsForPoint()
{
return 1;
}
void Beziers::changeColorOfSelectedControl(int)
{
}
void Beziers::getProperties(QVBoxLayout *, QGLWidget *)
{
}
bool Beziers::isFixed()
{
return fixed;
}
int Beziers::getLayer()
{
return layer;
}
void Beziers::clear()
{
}
RoadElement *Beziers::getCopy()
{
return NULL;
}
void Beziers::setVertexArray()
{
vertexArray.clear();
for (float i = 0.0f; i <= 1.0001f; i += step)
{
vec3 p = findPoint(controlPoints, i);
vertexArray.push_back(p.x);
vertexArray.push_back(p.y);
vertexArray.push_back(p.z);
}
}
void Beziers::setColorArray(float r, float g, float b)
{
if (colorArray.size() != vertexArray.size())
colorArray.resize(vertexArray.size());
for (int i = 0; i < colorArray.size() / 3; ++i)
{
colorArray[i * 3] = r;
colorArray[i * 3 + 1] = g;
colorArray[i * 3 + 2] = b;
}
}
void Beziers::setIndexArray()
{
indexArray.clear();
for (int i = 0; i < vertexArray.size() / 3; ++i)
{
indexArray.push_back(i);
}
}
vec3 Beziers::findPoint(QVector<GLfloat>& points, float step)
{
QVector<GLfloat> newPoints;
for (int i = 0; i < points.size() / 3 - 1; ++i)
{
float x = points[i * 3] + (points[(i + 1) * 3] - points[i * 3]) * step;
float y = points[i * 3 + 1] + (points[(i + 1) * 3 + 1] - points[i * 3 + 1]) * step;
newPoints.push_back(x);
newPoints.push_back(y);
newPoints.push_back(0.0f);
}
if (newPoints.size() / 3 == 2)
{
float x1 = newPoints[0];
float y1 = newPoints[1];
float x2 = newPoints[3];
float y2 = newPoints[4];
float x = x1 + (x2 - x1) * step;
float y = y1 + (y2 - y1) * step;
vec3 res(x, y, 0.0f);
return res;
}
else
return findPoint(newPoints, step);
}
bool Beziers::setFixed(bool fixed)
{
this->fixed = fixed;
return true;
}
void Beziers::setNumberOfSides(int value)
{
if (numberOfSides == value)
return;
numberOfSides = value;
step = 1.0f / float(numberOfSides);
setVertexArray();
setColorArray(0.0f, 0.0f, 0.0f);
setIndexArray();
emit numberOfSidesChanged(value);
}
void Beziers::rotate(float angle, float x, float y, float)
{
for (int i = 0; i < controlPoints.size() / 3; ++i)
{
float tx = 0.0f, ty = 0.0f;
controlPoints[i * 3] -= x;
controlPoints[i * 3 + 1] -= y;
tx = controlPoints[i * 3];
ty = controlPoints[i * 3 + 1];
controlPoints[i * 3] = tx * cos(angle) - ty * sin(angle);
controlPoints[i * 3 + 1] = tx * sin(angle) + ty * cos(angle);
controlPoints[i * 3] += x;
controlPoints[i * 3 + 1] += y;
}
setVertexArray();
}
|
77c9b1faeec04b4246749606b5216538033d2caf | 958f2bb760a3ada920259ef413b815db8175e153 | /src/OJ/2280【C语言】【分支】三整数排序/main.cc | 4f779d68627d283088c31485efe58ff4774f18bd | [] | no_license | arrebole/Leisure | e5639b172a2c58fe84e7458ddd7a90e661e8fee0 | 8a8b8b9906f32ce6fc365f9981bb265a8574ba86 | refs/heads/master | 2021-07-14T20:02:17.063526 | 2019-02-04T12:10:47 | 2019-02-04T12:10:47 | 140,957,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cc | main.cc | #include <iostream>
#include <stdio.h>
using namespace std;
void sort(int a[3])
{
for (int i = 0; i < 3; i++)
{
for (int j = 0; j < 2-i; j++)
{
if (a[j] < a[j + 1])
{
int temp = a[j];
a[j] = a[j + 1];
a[j + 1] = temp;
}
}
}
}
int main()
{
int a[3];
cin >> a[0] >> a[1] >> a[2];
sort(a);
printf("%d %d %d\n", a[0], a[1], a[2]);
return 0;
} |
3165f88b7dca54be6ab14d88242ff2713cfc9881 | de7a77f7e9ef6b54e0c895798e21820d12ec63a6 | /LineChart.h | 7614535a22d2800e2551cdb9b9744ace043e199f | [] | no_license | gmo-quant/QuantEx | eb5b2ece9d54aa006fa1d0a18b37d976527ec409 | 4e21718d9e881a5c7e0508a7e236389a6a14454c | refs/heads/master | 2020-03-17T11:52:15.632419 | 2018-05-20T20:33:04 | 2018-05-20T20:33:04 | 133,566,891 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | h | LineChart.h | #pragma once
#include "stdafx.h"
class LineChart {
public:
LineChart();
void setTitle( const std::string& title );
void setSeries( const std::vector<double>& x,
const std::vector<double>& y );
void writeAsHTML( std::ostream& out ) const;
void writeAsHTML( const std::string& file ) const;
private:
std::string title;
std::vector<double> x;
std::vector<double> y;
};
void testLineChart(); |
66e2e7cd9abf54b3b502ea208c640af93d54ff62 | 775acebaa6559bb12365c930330a62365afb0d98 | /source/sdksamples/snippetrunner/SnipRunControlView.cpp | d238334b66d9006d8479cec8708d4ca45292119e | [] | no_license | Al-ain-Developers/indesing_plugin | 3d22c32d3d547fa3a4b1fc469498de57643e9ee3 | 36a09796b390e28afea25456b5d61597b20de850 | refs/heads/main | 2023-08-14T13:34:47.867890 | 2021-10-05T07:57:35 | 2021-10-05T07:57:35 | 339,970,603 | 1 | 1 | null | 2021-10-05T07:57:36 | 2021-02-18T07:33:40 | C++ | UTF-8 | C++ | false | false | 3,147 | cpp | SnipRunControlView.cpp | //========================================================================================
//
// $File: //depot/devtech/16.0.x/plugin/source/sdksamples/snippetrunner/SnipRunControlView.cpp $
//
// Owner: Adobe Developer Technologies
//
// $Author: pmbuilder $
//
// $DateTime: 2020/11/06 13:08:29 $
//
// $Revision: #2 $
//
// $Change: 1088580 $
//
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
// with the terms of the Adobe license agreement accompanying it. If you have received
// this file from a source other than Adobe, then your use, modification, or
// distribution of it requires the prior written permission of Adobe.
//
//========================================================================================
#include "VCPlugInHeaders.h"
#include "CIDErasablePanelView.h"
// Plug-in includes
#include "SnipRunID.h"
#include "SnipRunLog.h"
/** Overrides the ConstrainDimensions to control the maximum and minimum width
and height of panel when it is resized.
@ingroup snippetrunner
*/
class SnipRunControlView : public CIDErasablePanelView
{
typedef CIDErasablePanelView inherited;
public:
/**
Constructor.
*/
SnipRunControlView(IPMUnknown* boss) : inherited(boss) { ; }
/**
Destructor.
*/
virtual ~SnipRunControlView() { ; }
/** Allows the panel size to be constrained.
@param dimensions OUT specifies the maximum and minimum width and height of the panel
when it is resized.
*/
virtual PMPoint ConstrainDimensions(const PMPoint& dimensions) const;
/** Clear the SnippetRunner framework log when resizing.
The multi line widget log gives some odd behaviour if we don't.
Means you lose the log contents when you resize.
@param newDimensions
@param invalidate
*/
virtual void Resize(const PMPoint& newDimensions, bool16 invalidate);
};
// define the max/min width and height for the panel
const int kMinimumPanelWidth = 207;
const int kMaximumPanelWidth = 500;
const int kMinimumPanelHeight = 290;
const int kMaximumPanelHeight = 600;
#pragma mark SnipRunControlView implementation
/* Make the implementation available to the application.
*/
CREATE_PERSIST_PMINTERFACE(SnipRunControlView, kSnipRunControlViewImpl)
/* Allows the panel size to be constrained.
*/
PMPoint SnipRunControlView::ConstrainDimensions(const PMPoint& dimensions) const
{
PMPoint constrainedDim( dimensions );
constrainedDim.ConstrainTo( PMRect(kMinimumPanelWidth, kMinimumPanelHeight, kMaximumPanelWidth, kMaximumPanelHeight) );
return constrainedDim;
}
/*
*/
void SnipRunControlView::Resize(const PMPoint& newDimensions, bool16 invalidate)
{
// Clear the log during resize to workaround the fact that
// if we don't the static multiline widget gets messed up.
// SnipRunLog will arrange that the contents of the log get
// restored once resize is complete.
if (SnipRunLog::PeekAtSnipRunLog() != nil)
{
SnipRunLog::Instance()->Resize();
}
inherited::Resize(newDimensions, invalidate);
}
// End SnipRunControlView.cpp
|
7f92ba5fc49f3b094e52c617ad9c0a9a79aec59d | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/oldd/Basic-Dynamic-Mesh-Tutorial-OpenFoam/TUT16/3.72/epsilon | 3320f6f40954e207320deff6e692d0035bac9a81 | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,389 | epsilon | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "3.72";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -3 0 0 0 0];
internalField nonuniform List<scalar>
4214
(
0.23137
0.0826801
0.0337404
0.0177696
0.0129245
0.0121466
0.0136748
0.0183576
0.030375
0.0597064
0.126318
0.25966
0.485724
0.799475
1.14652
1.45059
1.65471
1.74609
1.78511
1.93947
2.44165
3.28906
4.05583
4.38848
4.52604
5.16748
6.99841
9.98697
12.6271
12.8597
8.50726
2.72709
0.38844
0.0422021
0.0158964
0.0119254
0.0118351
0.0153729
0.0282157
0.0681326
0.186263
0.0291098
0.0168989
0.0125844
0.0112961
0.0113422
0.0123865
0.0151677
0.0220013
0.0395382
0.0827323
0.180724
0.373213
0.685979
1.094
1.51364
1.84801
2.0383
2.08476
2.03656
2.02852
2.28602
2.89697
3.58365
4.04415
4.41581
5.40232
7.64265
10.88
13.4756
13.4203
8.7229
2.79922
0.403022
0.0441742
0.0166713
0.0120708
0.0107702
0.0105029
0.0111557
0.0137
0.0211993
0.011798
0.010975
0.0108118
0.0110612
0.0117919
0.0134249
0.0173887
0.0271891
0.0529687
0.116949
0.260931
0.535213
0.957941
1.47292
1.96316
2.31756
2.47767
2.45363
2.30337
2.14762
2.18071
2.54567
3.12114
3.70401
4.41883
5.94036
8.73997
12.1874
14.4908
13.746
8.50889
2.69279
0.385643
0.0440755
0.0172228
0.0124369
0.0109698
0.0104019
0.0102171
0.0102909
0.0107521
0.010907
0.0108952
0.0111074
0.0115938
0.0126277
0.0148759
0.0205103
0.0347005
0.0729824
0.168149
0.379059
0.765629
1.32874
1.97324
2.54786
2.92296
3.03074
2.89885
2.62024
2.33319
2.20987
2.40432
2.89944
3.60592
4.72163
6.86386
10.2193
13.699
15.4055
13.6802
7.96541
2.46219
0.350202
0.0430769
0.0177734
0.0128755
0.011309
0.0106716
0.0104016
0.0102984
0.0103295
0.0111216
0.0112834
0.0116295
0.0122914
0.0136962
0.0168
0.0249081
0.0456319
0.102861
0.244207
0.550147
1.08609
1.82456
2.62639
3.29925
3.68012
3.69342
3.41252
2.9746
2.55233
2.31838
2.43136
2.94173
3.85244
5.47508
8.2952
12.0533
15.2312
15.9981
13.0887
7.13272
2.11113
0.297791
0.0410552
0.0182281
0.0133173
0.0116711
0.0109859
0.010687
0.0105487
0.0104999
0.0115631
0.0118099
0.0122709
0.0131454
0.0150702
0.0193962
0.0312109
0.0616625
0.147516
0.356166
0.794492
1.52802
2.49213
3.49137
4.26724
4.6012
4.44688
3.95369
3.33124
2.78511
2.49376
2.62728
3.30622
4.54545
6.85895
10.2927
14.0786
16.4886
15.9495
11.9604
6.06677
1.68918
0.238209
0.0385365
0.0186432
0.0137889
0.0120714
0.0113391
0.0110174
0.010867
0.0108022
0.0121115
0.0124319
0.013031
0.0141931
0.0168706
0.0229499
0.0403571
0.085209
0.21393
0.518565
1.13884
2.13687
3.39583
4.62949
5.46855
5.64586
5.22501
4.46311
3.65377
3.02848
2.7743
3.09421
4.17774
5.9438
9.00137
12.6934
15.9042
17.0574
15.1226
10.403
4.83992
1.25102
0.180674
0.035972
0.0190552
0.0143008
0.0125145
0.0117326
0.0113895
0.0112322
0.0111656
0.0127465
0.0131504
0.013937
0.0155017
0.0192828
0.0278692
0.0537459
0.119659
0.311762
0.750277
1.62155
2.9779
4.60855
6.07536
6.85518
6.72606
5.93933
4.89108
3.94219
3.36482
3.3506
4.10553
5.76701
8.23439
11.6578
14.9873
17.0516
16.704
13.5635
8.49445
3.57556
0.854704
0.132734
0.0337914
0.0195297
0.0148765
0.0130132
0.0121727
0.0118052
0.0116418
0.0115776
0.013466
0.0139802
0.015036
0.0171676
0.0225771
0.0347152
0.073426
0.169553
0.453981
1.07647
2.29893
4.1209
6.19146
7.79275
8.30848
7.72913
6.51844
5.24669
4.34319
4.01652
4.45863
5.84287
8.09146
11.0443
14.2352
16.6188
17.2168
15.401
11.3748
6.40689
2.41974
0.542815
0.0978475
0.0323107
0.0201544
0.0155519
0.0135874
0.0126706
0.0122712
0.0120992
0.0120385
0.0142789
0.0149485
0.0163995
0.0193251
0.0271465
0.0442355
0.10235
0.240694
0.658081
1.53391
3.23727
5.6563
8.13825
9.65848
9.68606
8.54333
7.00805
5.72781
5.03594
5.1383
6.17762
8.15177
10.7839
13.6735
16.0891
17.1514
16.2364
13.2242
8.79763
4.4046
1.49193
0.329493
0.0755944
0.031755
0.021049
0.0163842
0.0142704
0.0132443
0.0127982
0.0126106
0.0125534
0.0152108
0.0160986
0.0181346
0.0221542
0.0335573
0.057377
0.14469
0.340096
0.94799
2.16991
4.51299
7.61646
10.3379
11.4945
10.8551
9.24066
7.5784
6.42341
6.08635
6.7111
8.28954
10.5821
13.1781
15.474
16.7448
16.385
14.1659
10.428
6.18258
2.73848
0.852698
0.202904
0.0634698
0.0322943
0.0223606
0.0174485
0.0151081
0.0139184
0.0134016
0.0131847
0.0131285
0.0163083
0.0174917
0.0203996
0.0258863
0.0426196
0.0752546
0.206238
0.475706
1.35453
3.03138
6.20144
9.93011
12.6226
13.1407
11.8505
9.93938
8.2593
7.33268
7.39788
8.46377
10.3218
12.5588
14.6641
16.0028
16.0085
14.3876
11.2991
7.45039
3.91853
1.55801
0.478291
0.138321
0.0589105
0.0341437
0.024295
0.0188539
0.0161707
0.0147284
0.0141028
0.013831
0.0137684
0.0176343
0.0192048
0.0234284
0.0307992
0.0554866
0.0990403
0.29498
0.655117
1.9266
4.1614
8.28331
12.4597
14.8164
14.5452
12.7644
10.6498
9.01928
8.33445
8.70793
9.97531
11.7602
13.5811
14.8824
15.1316
13.9982
11.5095
8.15902
4.8046
2.27542
0.856828
0.293538
0.112108
0.0603674
0.0376712
0.0271826
0.0207722
0.0175763
0.0157302
0.0149385
0.0145656
0.0144819
0.0192718
0.0213288
0.0275741
0.0371909
0.0738043
0.129726
0.421859
0.887445
2.7062
5.54869
10.6755
15.0273
16.7502
15.7883
13.6171
11.3476
9.76588
9.23207
9.70453
10.874
12.2853
13.4265
13.8072
13.0725
11.1522
8.35821
5.35849
2.86458
1.29352
0.512852
0.221854
0.109014
0.0676711
0.0435086
0.0315847
0.0234763
0.0195334
0.0170155
0.0159752
0.0154166
0.0152886
0.02135
0.0239634
0.0333912
0.0453123
0.0999741
0.167715
0.602491
1.17149
3.74066
7.11207
13.2221
17.4506
18.3859
16.9201
14.4119
11.9919
10.3855
9.83723
10.1698
10.9835
11.82
12.1957
11.751
10.3468
8.14294
5.60023
3.33642
1.70893
0.824887
0.384421
0.214005
0.122359
0.0822983
0.0527093
0.038513
0.0273951
0.0224287
0.0187305
0.0173378
0.016425
0.0162207
0.0241165
0.027188
0.0417993
0.0552056
0.137628
0.212013
0.859337
1.49291
5.07344
8.68234
15.7454
19.5651
19.7908
17.9857
15.141
12.5558
10.7989
10.0541
10.0558
10.3772
10.56
10.2736
9.27542
7.63313
5.62987
3.65821
2.18203
1.16757
0.675756
0.374924
0.249943
0.151512
0.108136
0.066888
0.0499109
0.0331655
0.0270288
0.0210962
0.0192833
0.0176505
0.0173393
0.0281189
0.0309478
0.0544457
0.0663037
0.192556
0.258455
1.22544
1.80547
6.77128
9.99135
18.0769
21.3593
20.8778
19.0712
15.7726
13.0933
11.0375
9.94691
9.49683
9.2908
8.90448
8.18579
6.98501
5.47551
3.98325
2.55807
1.71165
1.0044
0.715373
0.438603
0.331928
0.199176
0.153596
0.0880511
0.0698263
0.0415433
0.0349936
0.0243741
0.0224044
0.0191752
0.018798
0.0182414
0.0171533
0.0161768
0.0152977
0.0145042
0.0137855
0.0131331
0.0125461
0.012023
0.0115586
0.0111475
0.0107955
0.0105384
0.0105565
0.012041
0.0418816
0.525302
0.0183629
0.017368
0.0164612
0.0156295
0.0148642
0.0141601
0.0135152
0.0129308
0.0124069
0.0119397
0.011527
0.011181
0.0109495
0.0110364
0.0129458
0.0466116
0.58067
0.0185793
0.0176525
0.0168018
0.0160102
0.0152706
0.0145816
0.0139462
0.0133671
0.0128447
0.0123773
0.0119665
0.0116295
0.0114262
0.0116055
0.0139987
0.0521187
0.63945
0.0188211
0.0179926
0.0171935
0.0164343
0.015715
0.0150392
0.0144138
0.0138427
0.0133264
0.0128647
0.0124613
0.012139
0.0119739
0.0122731
0.0152477
0.0584969
0.705365
0.0192618
0.0184176
0.0176379
0.0168996
0.016197
0.0155346
0.0149208
0.014361
0.0138553
0.0134045
0.0130142
0.0127143
0.0125998
0.0130494
0.0167186
0.0664104
0.779959
0.0195806
0.0188477
0.0181139
0.0174003
0.0167151
0.0160677
0.0154689
0.0149243
0.0144337
0.0139984
0.0136264
0.0133564
0.0133062
0.0139399
0.0184278
0.0759036
0.862646
0.0201696
0.0193789
0.0186444
0.0179421
0.0172711
0.0166411
0.0160619
0.0155371
0.0150658
0.0146498
0.0143005
0.0140678
0.0140968
0.0149492
0.0203889
0.0868536
0.952291
0.0205529
0.0198882
0.0191993
0.0185189
0.0178667
0.017259
0.0167045
0.0162042
0.0157558
0.0153623
0.0150401
0.0148518
0.0149755
0.016081
0.0226071
0.0987958
1.04767
0.0212634
0.0205137
0.0198133
0.0191423
0.0185096
0.0179283
0.0174031
0.016931
0.0165084
0.0161403
0.0158496
0.0157136
0.0159482
0.0173427
0.025071
0.111459
1.14725
0.021711
0.0211004
0.0204491
0.0198071
0.0192046
0.0186567
0.0181648
0.0177234
0.0173289
0.0169892
0.0167348
0.0166597
0.0170222
0.018741
0.0277682
0.124498
1.24892
0.0225339
0.0218168
0.0211515
0.020529
0.0199613
0.0194525
0.0189973
0.0185885
0.0182238
0.0179158
0.0177033
0.0176982
0.0182061
0.0202863
0.0306896
0.137532
1.35057
0.0230533
0.0224879
0.0218819
0.0213057
0.0207855
0.0203224
0.0199072
0.0195329
0.0192007
0.0189281
0.0187644
0.0188389
0.019512
0.0219915
0.0338429
0.150321
1.44999
0.0239853
0.0233014
0.0226937
0.022157
0.0216878
0.0212733
0.0209003
0.0205633
0.0202669
0.0200344
0.0199273
0.0200927
0.0209549
0.0238799
0.0372599
0.162763
1.54552
0.0245906
0.0240771
0.0235512
0.0230826
0.0226743
0.0223117
0.0219831
0.0216862
0.0214303
0.0212444
0.0212023
0.0214693
0.0225462
0.0259556
0.0409475
0.174732
1.636
0.025628
0.0250059
0.0245081
0.0241013
0.023754
0.0234445
0.0231625
0.0229096
0.0226996
0.0225675
0.0226003
0.0229827
0.0243002
0.028236
0.0449314
0.186113
1.71872
0.0263439
0.025924
0.0255353
0.0252118
0.0249307
0.0246769
0.0244453
0.0242419
0.0240846
0.0240153
0.0241331
0.0246464
0.026232
0.0307408
0.0492471
0.196716
1.79095
0.0274861
0.0270034
0.0266762
0.0264271
0.0262107
0.0260156
0.0258397
0.025693
0.025597
0.0256
0.0258142
0.0264745
0.0283525
0.0334783
0.053928
0.206078
1.84883
0.0283568
0.0281164
0.0279085
0.0277454
0.027598
0.0274676
0.0273552
0.0272747
0.02725
0.0273361
0.0276589
0.028483
0.030675
0.0364677
0.0589791
0.213919
1.88807
0.0296124
0.0293871
0.0292565
0.0291739
0.0290995
0.0290423
0.0290035
0.0289997
0.0290576
0.0292398
0.029685
0.03069
0.0332154
0.0397212
0.0641115
0.22215
1.90876
0.0307129
0.0307324
0.0307067
0.0307145
0.0307231
0.0307507
0.030798
0.0308839
0.0310379
0.0313302
0.0319114
0.0331165
0.0359906
0.0432635
0.0696228
0.230308
1.90663
0.0321054
0.0322097
0.0322734
0.0323768
0.032481
0.0326072
0.0327555
0.0329466
0.0332128
0.0336312
0.0343634
0.035786
0.0390173
0.0471086
0.0755599
0.239063
1.87897
0.033553
0.0337796
0.0339568
0.0341698
0.0343868
0.034628
0.0348953
0.0352101
0.0356082
0.0361721
0.0370751
0.0387378
0.0423463
0.0513161
0.0820681
0.249986
1.83031
0.0351181
0.0354677
0.0357719
0.0361095
0.0364579
0.0368338
0.0372413
0.0377022
0.0382555
0.0389881
0.0400858
0.0420092
0.0460195
0.0558677
0.0888811
0.258892
1.76998
0.0368009
0.0372725
0.0377237
0.0382097
0.0387127
0.0392474
0.0398207
0.0404545
0.0411895
0.0421159
0.043429
0.0456167
0.0499909
0.0605846
0.0952509
0.265346
1.70263
0.0385833
0.0392205
0.0398374
0.0404923
0.0411751
0.0418979
0.0426684
0.0435085
0.0444598
0.0456125
0.0471691
0.049631
0.0543427
0.0655179
0.101222
0.2694
1.63064
0.0405077
0.0413087
0.0421201
0.0429778
0.0438736
0.0448199
0.0458264
0.0469148
0.0481265
0.0495504
0.0513902
0.0541489
0.0591774
0.0707582
0.106821
0.270507
1.55607
0.0425527
0.0435712
0.0446028
0.0456934
0.0468403
0.0480537
0.0493444
0.0507342
0.052264
0.05402
0.0562004
0.0592996
0.0646467
0.0764827
0.112246
0.270131
1.48065
0.0447646
0.0460048
0.0472991
0.0486682
0.0501134
0.0516469
0.0532817
0.0550402
0.0569629
0.0591324
0.0617376
0.0652532
0.0709653
0.0829998
0.118093
0.269261
1.40571
0.0471261
0.0486505
0.0502428
0.0519365
0.0537364
0.0556553
0.0577086
0.059921
0.0623333
0.0650249
0.0681743
0.0722261
0.0784069
0.0906607
0.124836
0.268482
1.33212
0.0496736
0.0515077
0.0534565
0.0555371
0.0577607
0.0601447
0.0627094
0.0654834
0.0685102
0.0718682
0.0757252
0.080492
0.0873153
0.0998945
0.133064
0.268549
1.2605
0.05241
0.0546217
0.0569789
0.0595148
0.0622454
0.0651931
0.068385
0.071857
0.0756594
0.0798737
0.0846612
0.0904005
0.0981423
0.111301
0.143549
0.270428
1.19123
0.0553617
0.0579974
0.060842
0.0639206
0.0672599
0.0708925
0.0748566
0.0792
0.0839862
0.0893074
0.0953269
0.1024
0.111478
0.125661
0.157347
0.275542
1.12461
0.0585398
0.0616823
0.0650911
0.0688127
0.0728845
0.0773523
0.0822708
0.0877074
0.0937476
0.100508
0.108168
0.117077
0.128106
0.144022
0.175897
0.285698
1.06078
0.06197
0.0656882
0.0697686
0.0742579
0.0792135
0.0847028
0.0908062
0.0976214
0.10527
0.113911
0.123769
0.135218
0.149088
0.167834
0.201169
0.303418
0.999852
0.0656629
0.0700642
0.074928
0.0803322
0.0863572
0.0931009
0.100682
0.109245
0.118971
0.13009
0.142912
0.157895
0.175899
0.199155
0.236012
0.332475
0.94184
0.0696452
0.0748289
0.0806238
0.0871235
0.0944467
0.102737
0.11217
0.122964
0.135393
0.149805
0.166661
0.1866
0.210646
0.240991
0.284743
0.378826
0.886722
0.0739265
0.080033
0.0869205
0.0947325
0.103637
0.113843
0.125612
0.139274
0.15525
0.174085
0.196497
0.223465
0.25642
0.297874
0.354127
0.452197
0.834437
0.0785311
0.0856997
0.0938846
0.103274
0.114111
0.126702
0.141436
0.158816
0.179495
0.204338
0.234508
0.271599
0.317885
0.376887
0.455185
0.569721
0.78489
0.0834645
0.0918779
0.101589
0.112875
0.126081
0.141656
0.16018
0.182422
0.209407
0.242525
0.283699
0.335638
0.402261
0.489453
0.606475
0.763174
0.73794
0.0887434
0.0985918
0.110113
0.123684
0.139805
0.159131
0.182537
0.211202
0.246749
0.291448
0.34854
0.422761
0.521214
0.654871
0.840974
1.09464
0.693378
0.0939885
0.0986329
0.103414
0.10831
0.113299
0.118352
0.123433
0.128503
0.133518
0.138431
0.143191
0.147744
0.152035
0.156007
0.159605
0.162777
0.165472
0.16765
0.169271
0.170309
0.170719
0.170324
0.169309
0.167711
0.165557
0.162886
0.159738
0.156164
0.152216
0.147948
0.143417
0.138678
0.133786
0.12879
0.123738
0.118674
0.113636
0.108662
0.103777
0.099007
0.094369
0.105525
0.110686
0.115992
0.121415
0.126935
0.132514
0.138119
0.143701
0.149219
0.154614
0.159837
0.164825
0.169521
0.173861
0.17779
0.181247
0.184183
0.186549
0.188308
0.18943
0.189867
0.189443
0.188344
0.186607
0.184262
0.181349
0.177915
0.174009
0.16969
0.165016
0.160049
0.154846
0.149471
0.143971
0.138407
0.132818
0.127254
0.121747
0.116338
0.111042
0.10589
0.119199
0.124953
0.130856
0.136885
0.143008
0.14919
0.15539
0.161558
0.167643
0.173588
0.179333
0.184815
0.189967
0.194725
0.199025
0.202805
0.20601
0.20859
0.210503
0.211718
0.212186
0.21173
0.210536
0.208642
0.206083
0.202899
0.199139
0.194861
0.190123
0.184991
0.179529
0.173804
0.167877
0.161809
0.155657
0.149474
0.143306
0.137195
0.13118
0.125288
0.119544
0.135554
0.141988
0.148578
0.155299
0.162117
0.168989
0.175869
0.182705
0.189439
0.196009
0.202348
0.208389
0.214059
0.219288
0.224009
0.228153
0.231662
0.234482
0.236569
0.237889
0.238392
0.2379
0.236599
0.234529
0.231728
0.228238
0.224112
0.219412
0.214201
0.208549
0.202526
0.196205
0.189652
0.182934
0.176114
0.169248
0.16239
0.155585
0.148876
0.142299
0.135875
0.155305
0.162527
0.169909
0.177428
0.185045
0.192711
0.200373
0.207973
0.215449
0.222731
0.229748
0.236424
0.242683
0.248448
0.253644
0.258201
0.262054
0.265146
0.267429
0.268867
0.269409
0.268876
0.267454
0.265187
0.262112
0.258276
0.253736
0.248558
0.24281
0.236567
0.229907
0.222906
0.215639
0.208178
0.200592
0.192944
0.185292
0.177687
0.170179
0.162809
0.155596
0.179413
0.187553
0.195856
0.204299
0.212839
0.221419
0.229981
0.23846
0.246786
0.254884
0.262675
0.270077
0.277006
0.283378
0.289115
0.294139
0.298382
0.30178
0.304284
0.305855
0.306441
0.305864
0.304306
0.301815
0.298431
0.294203
0.289195
0.283474
0.277115
0.270201
0.262814
0.255037
0.246953
0.23864
0.230174
0.221625
0.213058
0.204529
0.196096
0.187804
0.179673
0.209197
0.218411
0.227788
0.237306
0.246915
0.256551
0.266151
0.275643
0.284947
0.293979
0.302655
0.310885
0.318577
0.325641
0.331991
0.337545
0.342228
0.345974
0.348728
0.350449
0.351084
0.350456
0.348746
0.346003
0.342269
0.337599
0.332058
0.325721
0.318669
0.31099
0.302773
0.294109
0.285088
0.275796
0.266317
0.256729
0.247103
0.237504
0.227996
0.218628
0.209422
0.246488
0.256963
0.267596
0.278366
0.289218
0.300079
0.310877
0.321535
0.331963
0.342068
0.351757
0.36093
0.369492
0.377342
0.384387
0.390541
0.395723
0.39986
0.402896
0.404787
0.405477
0.404792
0.40291
0.399883
0.395755
0.390584
0.384442
0.377407
0.369567
0.361016
0.351852
0.342174
0.332079
0.321661
0.311016
0.300228
0.289376
0.278532
0.26777
0.257145
0.246676
0.29388
0.30584
0.317944
0.330177
0.342474
0.354753
0.366936
0.378934
0.390652
0.401986
0.412831
0.42308
0.432629
0.441368
0.4492
0.456031
0.461773
0.466351
0.469703
0.471783
0.472535
0.471788
0.469714
0.466368
0.461797
0.456063
0.449242
0.441419
0.432686
0.423147
0.412905
0.40207
0.390744
0.379036
0.367048
0.354875
0.342601
0.33031
0.318084
0.305986
0.294031
0.355134
0.368839
0.382665
0.396602
0.410576
0.424496
0.438271
0.451806
0.464996
0.477727
0.489885
0.50135
0.512012
0.521752
0.530466
0.538053
0.544421
0.549491
0.553195
0.555485
0.556306
0.555488
0.553202
0.549502
0.544438
0.538076
0.530496
0.521789
0.512052
0.501399
0.489939
0.47779
0.465064
0.451884
0.438358
0.424589
0.410673
0.396703
0.382771
0.36895
0.35525
0.43583
0.451572
0.467402
0.483311
0.499216
0.515015
0.530606
0.545885
0.560738
0.57504
0.588666
0.601489
0.613389
0.624238
0.633926
0.642346
0.649402
0.655009
0.659098
0.661618
0.662512
0.661619
0.659103
0.655016
0.649412
0.642361
0.633946
0.624263
0.613414
0.601523
0.588704
0.575083
0.560785
0.545942
0.530671
0.515082
0.499285
0.483382
0.467477
0.451652
0.435912
0.544473
0.562563
0.580687
0.59884
0.616929
0.634841
0.652462
0.669675
0.686363
0.702388
0.717618
0.731916
0.745154
0.757197
0.767929
0.777238
0.785025
0.791203
0.795699
0.79846
0.799431
0.79846
0.795701
0.791206
0.78503
0.777246
0.767939
0.757211
0.745167
0.731938
0.71764
0.702415
0.686392
0.669715
0.652505
0.634883
0.616972
0.598886
0.580736
0.562615
0.544525
0.694438
0.71515
0.735813
0.756427
0.77689
0.797081
0.816873
0.836139
0.854756
0.87258
0.88947
0.905282
0.919888
0.933142
0.944926
0.955127
0.963644
0.970388
0.975286
0.978284
0.979329
0.978284
0.975286
0.970389
0.963646
0.95513
0.94493
0.933147
0.919893
0.905295
0.88948
0.872595
0.854771
0.836165
0.816897
0.797102
0.776912
0.756452
0.73584
0.715178
0.694467
0.90751
0.930946
0.954198
0.97729
1.00011
1.02254
1.04443
1.06565
1.08609
1.10558
1.12399
1.14117
1.157
1.17132
1.18403
1.195
1.20414
1.21136
1.2166
1.21979
1.2209
1.21979
1.2166
1.21136
1.20414
1.195
1.18403
1.17132
1.157
1.14118
1.12399
1.10559
1.08609
1.06567
1.04444
1.02254
1.00012
0.9773
0.95421
0.930958
0.907524
1.22063
1.2464
1.27174
1.29677
1.32139
1.34546
1.36886
1.39143
1.41306
1.43362
1.45295
1.47094
1.48744
1.50234
1.51552
1.52687
1.5363
1.54374
1.54912
1.55239
1.55351
1.55239
1.54912
1.54374
1.5363
1.52687
1.51552
1.50234
1.48744
1.47094
1.45295
1.43362
1.41306
1.39144
1.36885
1.34546
1.32139
1.29678
1.27174
1.2464
1.22063
1.69943
1.72585
1.75136
1.77642
1.80091
1.82472
1.84774
1.86983
1.89088
1.91079
1.92944
1.94672
1.9625
1.97671
1.98923
1.99999
2.0089
2.01591
2.02097
2.02404
2.02509
2.02404
2.02097
2.01591
2.0089
1.99999
1.98923
1.9767
1.96251
1.94671
1.92945
1.91079
1.89089
1.86983
1.84773
1.82472
1.80091
1.77642
1.75136
1.72585
1.69943
2.46712
2.48918
2.50938
2.52906
2.54816
2.5666
2.5843
2.6012
2.6172
2.63225
2.64627
2.65919
2.67095
2.68148
2.69073
2.69865
2.7052
2.71034
2.71403
2.71627
2.71702
2.71627
2.71403
2.71034
2.7052
2.69865
2.69073
2.68148
2.67095
2.65919
2.64627
2.63225
2.6172
2.6012
2.5843
2.5666
2.54816
2.52906
2.50938
2.48918
2.46712
0.685375
0.0628425
0.0139841
0.0112094
0.0111066
0.0114456
0.0119325
0.0125168
0.0131788
0.0139107
0.0147191
0.0156362
0.0167083
0.0179737
0.0194422
0.021069
0.0227215
0.77249
0.066518
0.0147967
0.0117589
0.0115979
0.0119068
0.01237
0.0129238
0.0135457
0.014224
0.0149549
0.0157559
0.0166673
0.017744
0.019045
0.0206101
0.0224051
0.838605
0.0708435
0.0157417
0.0123661
0.0121334
0.0124065
0.0128441
0.0133685
0.0139561
0.0145932
0.0152685
0.015983
0.0167563
0.0176287
0.0186673
0.0199804
0.0217377
0.902661
0.0753565
0.0167845
0.0130291
0.0127133
0.012946
0.013355
0.0138503
0.0144065
0.0150105
0.0156483
0.0163113
0.0170003
0.0177245
0.0185005
0.0193513
0.0203098
0.965585
0.0803981
0.0179613
0.0137628
0.0133442
0.0135305
0.0139072
0.0143725
0.014898
0.015472
0.0160824
0.0167179
0.0173737
0.018053
0.0187637
0.0195152
0.0203203
1.0331
0.0862744
0.0193032
0.0145741
0.0140307
0.0141632
0.014504
0.014938
0.0154323
0.0159764
0.0165607
0.0171741
0.0178073
0.0184591
0.0191353
0.0198408
0.0205604
1.1048
0.093092
0.0208444
0.0154735
0.0147799
0.0148492
0.0151502
0.015551
0.0160132
0.0165263
0.0170839
0.0176765
0.0182922
0.0189238
0.0195754
0.0202675
0.0210424
1.18146
0.100699
0.0226198
0.0164714
0.0155986
0.0155944
0.0158511
0.0162167
0.0166457
0.0171263
0.0176548
0.0182252
0.0188254
0.0194408
0.0200603
0.0206806
0.0213236
1.26223
0.108788
0.0246155
0.0175805
0.0164952
0.0164053
0.0166132
0.0169412
0.0173359
0.0177818
0.0182777
0.018822
0.0194065
0.0200169
0.0206358
0.0212373
0.0217667
1.34537
0.117593
0.0268311
0.0188132
0.0174799
0.0172896
0.0174435
0.0177313
0.0180908
0.0185001
0.0189591
0.0194699
0.0200301
0.0206303
0.0212613
0.0219235
0.0226418
1.42985
0.127293
0.0293136
0.0201848
0.0185647
0.0182565
0.0183504
0.0185946
0.0189177
0.0192892
0.0197081
0.0201783
0.0207024
0.0212733
0.0218741
0.022483
0.0231058
1.51473
0.13781
0.032102
0.021714
0.0197627
0.0193161
0.0193429
0.019539
0.0198243
0.020157
0.0205338
0.0209588
0.0214404
0.0219802
0.0225652
0.0231522
0.0236478
1.59847
0.148967
0.0352191
0.0234203
0.0210888
0.02048
0.0204308
0.0205729
0.0208179
0.0211109
0.0214442
0.0218198
0.0222492
0.0227448
0.0233152
0.0239558
0.0246571
1.67873
0.160508
0.0386722
0.0253236
0.0225576
0.0217612
0.0216248
0.0217058
0.0219066
0.0221582
0.0224475
0.0227716
0.0231406
0.0235701
0.0240742
0.0246495
0.025286
1.7513
0.17208
0.0424635
0.0274561
0.0241905
0.0231748
0.0229372
0.0229485
0.0230991
0.0233064
0.0235505
0.0238235
0.0241316
0.0244922
0.0249274
0.025435
0.0259228
1.81327
0.183439
0.0465907
0.029824
0.0260072
0.0247405
0.0243812
0.0243134
0.0244057
0.0245635
0.0247594
0.0249805
0.0252274
0.0255162
0.0258789
0.0263646
0.0270047
1.86263
0.194274
0.0510494
0.0324461
0.0280241
0.0264752
0.0259722
0.0258142
0.0258384
0.0259394
0.0260814
0.0262478
0.0264325
0.0266446
0.0269053
0.0272702
0.0278137
1.89467
0.204369
0.0558456
0.0353426
0.0302581
0.0283967
0.0277277
0.027467
0.0274117
0.0274464
0.027526
0.0276319
0.0277524
0.0278924
0.0280582
0.0282953
0.0286019
1.90989
0.213923
0.0610191
0.0385302
0.0327265
0.0305232
0.029669
0.0292905
0.0291418
0.0290976
0.0291038
0.0291401
0.0291901
0.0292577
0.0293369
0.0294875
0.0297736
1.90397
0.222889
0.0666004
0.0420399
0.0354531
0.0328792
0.0318171
0.0313041
0.0310467
0.0309096
0.0308298
0.0307838
0.0307519
0.030739
0.0307244
0.0307613
0.0308602
1.87433
0.231767
0.0726364
0.0458927
0.0384515
0.0354894
0.0341995
0.033534
0.033151
0.0329038
0.0327218
0.0325781
0.0324507
0.0323453
0.0322346
0.0321688
0.0320326
1.82467
0.242204
0.0792868
0.0501466
0.041773
0.0383962
0.0368519
0.0360111
0.0354814
0.0351035
0.0348002
0.0345399
0.0343005
0.0340861
0.0338709
0.0337009
0.0334548
1.75951
0.253283
0.0866973
0.0548587
0.0454579
0.041644
0.0398174
0.0387737
0.0380724
0.0375385
0.03709
0.0366906
0.0363192
0.0359751
0.0356368
0.0353359
0.0349874
1.68976
0.260917
0.0936899
0.0597831
0.0494809
0.0452461
0.0431291
0.0418577
0.0409576
0.0402401
0.0396188
0.0390548
0.0385265
0.0380297
0.0375461
0.0371001
0.0366355
1.61724
0.265744
0.100153
0.0649062
0.0538903
0.049262
0.0468455
0.0453179
0.0441857
0.0432496
0.0424213
0.0416605
0.0409455
0.0402694
0.0396179
0.0390106
0.0383864
1.54343
0.267885
0.106162
0.070312
0.0587808
0.0537849
0.0510485
0.0492261
0.0478169
0.0466175
0.0455399
0.0445428
0.0436043
0.042716
0.0418657
0.0410619
0.0402585
1.46955
0.268523
0.111932
0.0761747
0.0642979
0.0589411
0.0558446
0.0536715
0.0519249
0.0504048
0.0490244
0.0477426
0.0465372
0.0453979
0.0443118
0.0432822
0.0422909
1.39653
0.26855
0.118052
0.0828002
0.0706532
0.0648991
0.0613708
0.058765
0.0566002
0.0546846
0.0529338
0.0513069
0.0497809
0.048343
0.0469809
0.0456991
0.0444676
1.32493
0.268511
0.124993
0.090526
0.0781192
0.0718751
0.0677996
0.0646436
0.061953
0.0595453
0.0573387
0.0552917
0.0533792
0.0515853
0.0498976
0.0483103
0.0467954
1.25515
0.269161
0.13334
0.0997967
0.0870414
0.0801431
0.075346
0.0714784
0.0681185
0.0650937
0.0623232
0.0597629
0.0573836
0.0551653
0.0530905
0.0511459
0.0493211
1.18747
0.271435
0.143874
0.111215
0.0978743
0.0900542
0.084282
0.0794813
0.0752624
0.0714593
0.0679881
0.0647981
0.0618531
0.0591261
0.0565929
0.0542412
0.0520482
1.1221
0.276646
0.157657
0.125566
0.111211
0.102059
0.0949532
0.0889188
0.0835904
0.0788004
0.0744545
0.0704894
0.066857
0.0635189
0.0604436
0.0576062
0.0549688
1.05923
0.286714
0.176148
0.143909
0.127842
0.116746
0.107806
0.10013
0.0933594
0.0873116
0.081869
0.0769461
0.0724756
0.0684027
0.0646813
0.0612695
0.0581378
0.998964
0.304228
0.201334
0.167701
0.148832
0.134906
0.123426
0.113551
0.104896
0.097235
0.0904097
0.0842983
0.078803
0.0738436
0.0693519
0.0652742
0.0615663
0.94138
0.333041
0.236091
0.199011
0.17566
0.157608
0.142596
0.129754
0.118616
0.108873
0.100296
0.0927029
0.0859499
0.0799177
0.0745087
0.069643
0.0652401
0.886513
0.37913
0.284751
0.240848
0.210435
0.186347
0.16638
0.149498
0.135062
0.122612
0.111799
0.10235
0.0940469
0.0867133
0.0802064
0.0744057
0.0692182
0.834361
0.452325
0.354097
0.297749
0.256247
0.223253
0.196254
0.173811
0.154948
0.138946
0.125261
0.113472
0.103249
0.0943311
0.0865075
0.0796107
0.0735128
0.784873
0.569764
0.455152
0.376795
0.317753
0.271429
0.234303
0.204101
0.179225
0.158516
0.14111
0.126351
0.11374
0.102885
0.0934826
0.0852907
0.0781056
0.73794
0.763194
0.606459
0.489398
0.402172
0.335514
0.283539
0.242329
0.209175
0.182157
0.159884
0.141331
0.125732
0.112505
0.101202
0.0914739
0.0830502
0.69338
1.09467
0.840979
0.654852
0.521167
0.422682
0.348425
0.291296
0.24656
0.210976
0.182276
0.158838
0.139483
0.123337
0.109744
0.098207
0.0883526
0.0346653
0.0765056
0.295941
2.00377
10.7065
22.9794
20.4577
13.8796
9.78062
8.04228
6.3818
4.03628
2.04653
1.04439
0.555598
0.266881
0.117
0.0526418
0.0285521
0.0210289
0.0399249
0.0927288
0.361078
2.41847
12.3387
24.7678
21.4111
14.279
9.5452
7.18921
5.28789
3.2839
1.96255
1.2558
0.747648
0.37159
0.161692
0.0694605
0.0343461
0.0229708
0.0468289
0.113542
0.43994
2.88607
13.9132
26.2776
22.4225
14.8732
9.5728
6.7231
4.70204
3.12389
2.20267
1.6116
1.02286
0.52457
0.228803
0.0950784
0.043147
0.0257526
0.05603
0.140567
0.535562
3.4085
15.3589
27.3978
23.3852
15.5577
9.79688
6.56029
4.52417
3.27976
2.69594
2.12862
1.40815
0.744293
0.328763
0.134295
0.0567871
0.0299191
0.0685056
0.176206
0.653333
3.96808
16.5498
27.9982
24.202
16.2177
10.183
6.65135
4.69675
3.79203
3.44146
2.87587
1.95392
1.0573
0.476092
0.19434
0.0782553
0.0364163
0.0857481
0.224015
0.801313
4.5526
17.4026
27.923
24.71
16.8365
10.6135
6.94913
5.12269
4.58831
4.55379
3.97714
2.74644
1.50541
0.690997
0.285801
0.112346
0.0468688
0.110089
0.289379
0.989632
5.12829
17.8557
27.1565
24.4262
17.1717
10.96
7.27964
5.59475
5.42399
5.87545
5.50738
3.90253
2.15535
1.0033
0.424091
0.166688
0.0640898
0.145236
0.380576
1.23536
5.7196
17.8718
25.6697
23.1065
16.8927
11.2331
7.65509
5.96987
5.9992
7.01473
7.29659
5.54799
3.10152
1.46009
0.631843
0.253277
0.0929497
0.197199
0.51051
1.56506
6.36725
17.5081
23.5355
21.051
15.9491
11.1693
7.96937
6.38099
6.28884
7.5472
8.76167
7.5885
4.49366
2.13134
0.943641
0.390898
0.141901
0.275895
0.699266
2.01912
7.11263
16.823
20.8785
18.5007
14.4823
10.7762
8.14029
6.75361
6.57606
7.51332
9.29041
9.44668
6.39423
3.11692
1.41322
0.609184
0.225637
0.397949
0.979803
2.65924
7.98387
15.8183
17.75
15.6577
12.7478
10.0935
8.11208
7.01464
6.8128
7.43135
8.86823
10.2961
8.51147
4.60888
2.12144
0.955956
0.369839
0.591954
1.40538
3.54802
8.94007
14.5697
14.8437
13.0375
11.026
9.24341
7.88152
7.10966
6.90936
7.27262
8.17146
9.80678
10.0032
6.57779
3.20628
1.5091
0.620125
0.908501
2.066
4.76722
9.79636
12.8876
12.0305
10.6492
9.40514
8.306
7.43617
6.89379
6.76113
6.95104
7.46429
8.53006
10.047
8.5893
4.89183
2.39429
1.05833
1.44031
3.10319
6.29721
10.1219
10.5902
9.46103
8.61463
7.95307
7.35041
6.843
6.5019
6.37397
6.44313
6.69403
7.24342
8.64894
9.54253
7.03181
3.85976
1.83213
2.3658
4.64319
7.75228
9.3327
8.19869
7.37086
6.97704
6.69709
6.41281
6.14018
5.92521
5.80398
5.78941
5.87282
6.10493
6.81465
8.70938
8.87512
6.08009
3.23376
3.95219
6.5202
8.13614
7.18406
6.09162
5.75747
5.68714
5.62749
5.51735
5.37871
5.23794
5.12303
5.06662
5.04535
5.09014
5.36637
6.53828
8.98532
8.70388
5.75955
6.30874
7.58406
6.57464
5.01703
4.5868
4.60192
4.66625
4.70445
4.69631
4.63013
4.53463
4.42821
4.33938
4.27927
4.2462
4.29566
4.73185
6.72747
9.84153
9.49877
7.76089
6.09724
4.17963
3.57841
3.62149
3.75648
3.88887
3.98303
4.024
4.01388
3.95493
3.86385
3.75927
3.67378
3.61548
3.59218
3.71709
4.41147
7.41036
11.4763
4.46824
2.90765
2.63407
2.8071
3.08699
3.35412
3.57411
3.73038
3.82169
3.85009
3.82719
3.75351
3.64692
3.52545
3.42578
3.36665
3.37562
3.49602
4.21756
6.98751
1.85996
2.46134
3.43021
4.39361
5.19876
5.84713
6.34122
6.68096
6.87486
6.93528
6.85337
6.66481
6.37765
6.01911
5.67532
5.37196
5.06744
4.74034
4.38144
3.91874
3.41415
9.68465
14.0102
7.05204
2.84498
1.28472
0.630823
0.330812
0.185286
0.1112
0.0720363
0.0506636
0.0386325
0.0316183
0.0273482
0.0246067
0.0227343
0.0213714
0.0203142
0.0194511
2.81759
12.122
9.86247
3.8312
1.4959
0.665275
0.323705
0.171869
0.0998946
0.0640482
0.0454826
0.0355002
0.0298925
0.0265614
0.0244399
0.0229784
0.0218879
0.0210166
0.0202779
0.0196274
2.17259
14.1398
6.82463
2.24221
0.851741
0.371391
0.182441
0.100622
0.0626805
0.0441884
0.0347698
0.0297202
0.026824
0.0250143
0.0237691
0.0228284
0.0220591
0.0213936
0.0207919
0.0202355
1.55855
12.0528
4.23861
1.2885
0.490971
0.218483
0.112352
0.0666701
0.0457106
0.035622
0.030501
0.0277025
0.026015
0.024876
0.0240192
0.0233152
0.0226978
0.0221348
0.0216047
0.021099
1.06293
8.61157
2.54498
0.769474
0.29927
0.140177
0.0774499
0.0502887
0.0379195
0.0320206
0.0290025
0.0272872
0.0261799
0.02537
0.0247135
0.0241402
0.0236134
0.0231157
0.0226344
0.0221625
0.699255
5.68704
1.50446
0.473229
0.19619
0.099335
0.0595186
0.0421462
0.0343633
0.0306896
0.0287732
0.0276248
0.026831
0.0262119
0.0256832
0.0252019
0.0247443
0.0242995
0.0238606
0.0234147
0.424228
3.58666
0.884678
0.308106
0.141474
0.0774033
0.0498539
0.0380135
0.0328841
0.0304817
0.0291888
0.0283713
0.0277768
0.0272941
0.026868
0.0264674
0.0260745
0.0256818
0.0252876
0.0248635
0.217226
2.21785
0.559088
0.222054
0.112186
0.0648103
0.0443535
0.0359821
0.0325156
0.0308857
0.0299775
0.0293823
0.0289411
0.0285774
0.0282495
0.0279312
0.0276068
0.0272723
0.0269305
0.0265272
0.111158
1.37145
0.384691
0.176106
0.0949819
0.0568169
0.0411421
0.0351652
0.0327945
0.0316585
0.0310156
0.0305968
0.0302953
0.0300506
0.0298268
0.0295994
0.0293533
0.0290891
0.0288114
0.0284348
0.108721
0.857875
0.286783
0.150382
0.0836539
0.0513849
0.0393684
0.0351112
0.0334778
0.0326792
0.032247
0.0319905
0.0318311
0.0317146
0.0316074
0.0314848
0.0313326
0.0311565
0.0309574
0.0306272
0.117787
0.549109
0.23149
0.135193
0.0753535
0.0476139
0.0385828
0.0355558
0.0344304
0.0338883
0.0336477
0.0335559
0.0335496
0.0335763
0.0336035
0.0336055
0.0335694
0.0335039
0.0333999
0.0331554
0.126388
0.364998
0.201615
0.125244
0.0687507
0.0450807
0.0385005
0.0363332
0.0355781
0.0352591
0.0352095
0.0352935
0.0354567
0.0356468
0.0358314
0.0359841
0.0360938
0.0361657
0.0361809
0.0360794
0.133499
0.256956
0.188291
0.117498
0.0632556
0.0435427
0.0389122
0.0373418
0.0368831
0.0367817
0.0369314
0.0372075
0.0375575
0.0379362
0.0383087
0.0386477
0.0389406
0.0391872
0.0393686
0.0394533
0.139493
0.229026
0.1854
0.110134
0.0586636
0.0428209
0.0396598
0.0385257
0.0383288
0.0384491
0.0388055
0.0392924
0.0398576
0.0404574
0.0410558
0.0416238
0.0421458
0.0426154
0.0430147
0.0433318
0.144959
0.231281
0.184386
0.102196
0.0549883
0.0427573
0.0406295
0.0398647
0.0398953
0.0402459
0.0408298
0.0415525
0.0423634
0.0432212
0.0440897
0.0449381
0.0457463
0.0465007
0.0471824
0.0477898
0.150581
0.245822
0.182722
0.0938026
0.0522927
0.0431998
0.0417751
0.0412994
0.0415717
0.04217
0.0430035
0.0439885
0.045078
0.0462342
0.0474227
0.0486118
0.0497762
0.0508938
0.0519414
0.0529181
0.15691
0.265112
0.178108
0.0850673
0.0505282
0.0440425
0.042992
0.0428228
0.0433536
0.0442181
0.0453237
0.046598
0.0479994
0.0494961
0.051058
0.0526551
0.0542585
0.0558379
0.0573613
0.0588189
0.164286
0.288521
0.168153
0.0761324
0.0496492
0.0450162
0.0442725
0.0444312
0.0452376
0.0463865
0.0477856
0.0493748
0.0511197
0.0529969
0.0549848
0.0570595
0.059194
0.0613534
0.0634952
0.0655905
0.173075
0.306574
0.1516
0.0675832
0.0494766
0.0460578
0.0456246
0.0461255
0.047222
0.0486703
0.0503811
0.052307
0.0544224
0.0567141
0.0591729
0.0617879
0.064543
0.0674104
0.0703456
0.0732977
0.174582
0.327234
0.126093
0.0612197
0.049742
0.0471899
0.0470722
0.0479075
0.0493024
0.0510596
0.0530959
0.0553753
0.0578814
0.0606117
0.0635711
0.0667672
0.0702064
0.0738876
0.0777937
0.0818873
0.166103
0.14861
0.129454
0.115338
0.104994
0.0972608
0.0915738
0.0874929
0.0847913
0.0833134
0.083661
0.0854113
0.0883489
0.0927517
0.0988217
0.107059
0.118034
0.133026
0.152814
0.170388
0.304007
0.277184
0.249011
0.227151
0.210749
0.198435
0.190654
0.18573
0.183301
0.182656
0.182505
0.18372
0.186779
0.192818
0.202014
0.21607
0.234142
0.258209
0.283106
0.30677
0.0872292
0.0915363
0.0932657
0.093041
0.0916297
0.0902238
0.0891729
0.088413
0.0879646
0.0878988
0.087942
0.088193
0.0888606
0.0898369
0.0911242
0.0928005
0.0943788
0.0946082
0.0925799
0.0870019
0.0569435
0.0589226
0.0604533
0.0611735
0.0615794
0.0618532
0.0620497
0.0621633
0.062273
0.0624152
0.0624545
0.0624133
0.0623992
0.0623781
0.0622747
0.0620911
0.0617633
0.0610423
0.0594766
0.0572754
0.0498136
0.0510637
0.0520547
0.0527819
0.0533744
0.0538632
0.0542593
0.0545644
0.0548076
0.0550128
0.0550403
0.054914
0.0547359
0.0544917
0.0541502
0.0537134
0.053168
0.0524702
0.0514643
0.0501931
0.0479779
0.0490338
0.0499544
0.0507328
0.051435
0.0520424
0.05255
0.0529639
0.0532923
0.0535479
0.0535679
0.053383
0.0531104
0.0527478
0.0522885
0.0517269
0.051067
0.0503269
0.0494331
0.0483976
0.0481924
0.0492935
0.0503043
0.0512201
0.0520581
0.0527964
0.0534297
0.053954
0.0543684
0.0546776
0.0546931
0.0544517
0.0540899
0.0536139
0.0530264
0.0523314
0.0515343
0.0506579
0.0496814
0.0486125
0.0493492
0.050619
0.0518166
0.0529289
0.053954
0.0548661
0.0556567
0.0563135
0.0568282
0.0571992
0.0572117
0.0569077
0.0564447
0.0558354
0.05509
0.0542209
0.0532363
0.052162
0.0509989
0.0497623
0.0510508
0.052564
0.0540126
0.0553729
0.0566311
0.0577599
0.0587416
0.0595565
0.0601888
0.0606304
0.0606409
0.0602662
0.0596857
0.0589184
0.057982
0.056896
0.0556781
0.054355
0.0529406
0.0514594
0.0531283
0.0549403
0.0566896
0.0583463
0.0598846
0.0612719
0.0624802
0.0634811
0.0642501
0.064772
0.064781
0.0643261
0.0636094
0.0626569
0.0614943
0.06015
0.0586518
0.0570318
0.0553154
0.0535334
0.0555053
0.0576658
0.0597659
0.0617674
0.0636343
0.0653243
0.0667976
0.068015
0.068942
0.0695549
0.0695629
0.0690171
0.068143
0.0669747
0.0655478
0.0639013
0.0620744
0.0601093
0.0580409
0.0559088
0.0581528
0.0607108
0.0632139
0.0656134
0.0678616
0.0699032
0.0716847
0.0731537
0.0742632
0.074979
0.0749863
0.0743372
0.0732813
0.0718624
0.070128
0.0681304
0.0659226
0.0635591
0.0610872
0.0585566
0.0610645
0.0640737
0.067037
0.0698942
0.0725828
0.0750324
0.0771722
0.0789334
0.0802539
0.0810868
0.0810937
0.0803269
0.0790604
0.0773501
0.0752583
0.0728533
0.0702052
0.067384
0.0644517
0.061469
0.0642475
0.0677683
0.0712569
0.0746403
0.0778384
0.0807616
0.0833188
0.0854204
0.0869857
0.0879521
0.0879589
0.0870575
0.0855465
0.0834964
0.080988
0.0781099
0.0749526
0.0716052
0.0681474
0.0646525
0.0677193
0.0718201
0.0759096
0.079899
0.0836875
0.0871624
0.0902071
0.0927068
0.0945574
0.0956771
0.0956842
0.0946279
0.0928316
0.090384
0.0873886
0.0839592
0.0802117
0.0762583
0.0721995
0.0681241
0.071505
0.0762647
0.0810428
0.0857323
0.0902074
0.0943273
0.097944
0.100911
0.103096
0.104393
0.1044
0.103165
0.101034
0.0981195
0.0945524
0.0904783
0.0860444
0.081391
0.0766434
0.0719087
0.0756365
0.0811465
0.0867165
0.0922176
0.0974945
0.102372
0.106662
0.110181
0.11276
0.114262
0.114271
0.112827
0.110303
0.106836
0.102595
0.0977636
0.0925281
0.087063
0.0815235
0.0760379
0.0801509
0.086519
0.0930031
0.0994491
0.105666
0.111437
0.116527
0.120701
0.123745
0.125488
0.125498
0.123811
0.12082
0.116698
0.111658
0.105933
0.0997567
0.0933467
0.086893
0.0805489
0.0850916
0.0924451
0.0999892
0.107541
0.114867
0.121697
0.127739
0.132695
0.136295
0.138321
0.138333
0.13636
0.132812
0.127907
0.121914
0.115129
0.107844
0.100329
0.0928146
0.0854848
0.0905125
0.0990013
0.10778
0.116631
0.12527
0.133366
0.140548
0.146444
0.15071
0.153072
0.153086
0.150774
0.146558
0.140713
0.133579
0.125528
0.116929
0.108114
0.0993648
0.0908984
0.0242018
0.0261207
0.0286081
0.031895
0.0363276
0.0424296
0.0510206
0.0634208
0.0818133
0.109926
0.154302
0.22697
0.35151
0.577874
1.02097
1.98539
4.46231
8.62603
7.09135
1.98797
0.0212184
0.0218573
0.0226461
0.0236708
0.025057
0.0269987
0.0298106
0.0340136
0.0404987
0.0508376
0.0678945
0.0970776
0.149032
0.246116
0.439998
0.864301
1.93616
4.76871
7.62831
1.26936
0.0220885
0.0224519
0.0228309
0.0232665
0.0238054
0.0245203
0.0255323
0.0270483
0.0294389
0.0333916
0.0402247
0.0525373
0.0756143
0.120681
0.213498
0.421488
0.950703
2.66659
6.58963
0.788832
0.0238649
0.02418
0.0244501
0.0247173
0.0250056
0.0253456
0.0257878
0.0264155
0.0273802
0.0289772
0.0318147
0.0371831
0.0478638
0.0699198
0.116991
0.223076
0.492521
1.35913
4.28755
0.463608
0.0261003
0.0264199
0.0266313
0.026811
0.026979
0.0271544
0.0273672
0.0276594
0.0280987
0.028813
0.0300789
0.0325435
0.0377602
0.049384
0.0757103
0.135095
0.274631
0.675493
2.36856
0.220782
0.0288026
0.0291429
0.0292838
0.0293694
0.0294237
0.0294611
0.0295092
0.0295998
0.0297747
0.0300981
0.0306966
0.0318854
0.0345342
0.0410044
0.0573658
0.0972208
0.184509
0.39319
1.22345
0.118302
0.0321058
0.032435
0.0324762
0.0324288
0.0323365
0.0322111
0.0320803
0.0319763
0.0319345
0.0320022
0.0322466
0.0328209
0.0341856
0.0377855
0.0481432
0.0782112
0.145684
0.277027
0.659165
0.113339
0.0362775
0.0364227
0.036319
0.0360822
0.0357831
0.0354444
0.0350927
0.0347614
0.0344833
0.0343057
0.0342762
0.0344844
0.0351778
0.0371659
0.0433371
0.0664154
0.125173
0.227796
0.406748
0.122708
0.0415548
0.0413546
0.0409684
0.0404465
0.0398516
0.0392209
0.0385846
0.0379753
0.0374263
0.036973
0.0366619
0.0365644
0.036841
0.037972
0.0413339
0.0584113
0.110705
0.209469
0.293088
0.131646
0.0481394
0.047457
0.0466161
0.0456579
0.0446424
0.0436132
0.0426028
0.041641
0.0407574
0.0399834
0.0393613
0.0389574
0.0389002
0.0395072
0.0412529
0.0531418
0.0977541
0.206339
0.294973
0.140571
0.0563366
0.0549363
0.0534122
0.0518226
0.0502288
0.0486739
0.047186
0.0457873
0.0444989
0.0433449
0.0423606
0.0416048
0.0411961
0.0414007
0.0424648
0.0503034
0.0843009
0.20252
0.332253
0.150476
0.0664375
0.0639357
0.061424
0.0589728
0.0566288
0.0544163
0.0523459
0.0504245
0.0486592
0.0470636
0.045663
0.0445063
0.0436985
0.0434673
0.0441943
0.0492062
0.0722054
0.189352
0.38566
0.162101
0.0784222
0.0742935
0.0704947
0.0669943
0.0637681
0.0607944
0.0580545
0.0555343
0.0532261
0.0511312
0.0492644
0.0476638
0.0464205
0.0457314
0.0460331
0.0494107
0.0630634
0.154674
0.435509
0.177004
)
;
boundaryField
{
inlet
{
type turbulentMixingLengthDissipationRateInlet;
mixingLength 0.01;
phi phi;
k k;
value uniform 3.77336;
}
outlet
{
type inletOutlet;
inletValue uniform 0.01;
value nonuniform List<scalar>
41
(
0.23137
0.0826801
0.0337404
0.0177696
0.0129245
0.0121466
0.0136748
0.0183576
0.030375
0.0597064
0.126318
0.25966
0.485724
0.799475
1.14652
1.45059
1.65471
1.74609
1.78511
1.93947
2.44165
3.28906
4.05583
4.38848
4.52604
5.16748
6.99841
9.98697
12.6271
12.8597
8.50726
2.72709
0.38844
0.0422021
0.0158964
0.0119254
0.0118351
0.0153729
0.0282157
0.0681326
0.186263
)
;
}
dymWall
{
Cmu 0.09;
kappa 0.41;
E 9.8;
type epsilonWallFunction;
value nonuniform List<scalar>
73
(
3.41415
2.81759
2.17259
1.55855
1.06293
0.699255
0.424228
0.217226
0.111158
0.108721
0.117787
0.126388
0.133499
0.139493
0.144959
0.150581
0.15691
0.164286
0.173075
0.174582
1.85996
2.46134
3.43021
4.39361
5.19876
5.84713
6.34122
6.68096
6.87486
6.93528
6.85337
6.66481
6.37765
6.01911
5.67532
5.37196
5.06744
4.74034
4.38144
3.91874
1.98797
1.26936
0.788832
0.463608
0.220782
0.118302
0.113339
0.122708
0.131646
0.140571
0.150476
0.162101
0.177004
0.166103
0.14861
0.129454
0.115338
0.104994
0.0972608
0.0915738
0.0874929
0.0847913
0.0833134
0.083661
0.0854113
0.0883489
0.0927517
0.0988217
0.107059
0.118034
0.133026
0.152814
0.170388
)
;
}
AMI1
{
type cyclicAMI;
value nonuniform List<scalar>
73
(
0.0329257
0.0726114
0.297121
2.02052
10.2545
21.6212
19.8132
13.7117
9.97464
8.65571
7.2224
4.70731
2.30431
1.03537
0.501084
0.235296
0.103798
0.04764
0.0267166
0.0202797
0.019002
0.0192293
0.0198516
0.020718
0.0217823
0.0230364
0.0244882
0.0261544
0.0280674
0.030288
0.0329173
0.0359936
0.0395168
0.0435449
0.0481614
0.0534629
0.0595605
0.0665634
0.0745562
0.0835354
0.0927905
0.101915
0.111435
0.121117
0.130648
0.139646
0.147679
0.154299
0.159091
0.161721
0.161738
0.159155
0.154412
0.147842
0.139857
0.130903
0.121413
0.111766
0.102276
0.093173
0.0234163
0.0208537
0.021769
0.0235362
0.0257432
0.0283735
0.0316665
0.0360599
0.0416059
0.0484749
0.0570048
0.0675445
0.0802268
)
;
}
AMI2
{
type cyclicAMI;
value nonuniform List<scalar>
162
(
0.0321928
0.0332345
0.0665944
0.0723917
0.240659
0.280134
1.52449
1.91657
7.9902
10.3799
19.0691
22.2143
21.0511
19.7845
15.9773
13.4895
11.2274
9.86434
9.16428
8.6756
8.07124
7.29688
6.16567
4.7609
3.6127
2.30032
1.70411
1.02498
0.810647
0.500347
0.413202
0.235956
0.199658
0.104271
0.0912338
0.0479617
0.0439665
0.0268673
0.0259071
0.0203154
0.0201863
0.018988
0.0190166
0.0191869
0.0192736
0.0197861
0.0199199
0.0206289
0.020811
0.0216661
0.0219032
0.0228875
0.0231906
0.0242992
0.0246828
0.0259148
0.0263995
0.0277606
0.0283786
0.0298881
0.0306899
0.032387
0.033445
0.0353865
0.0365922
0.0388471
0.0401714
0.042816
0.0442524
0.0473782
0.0489172
0.0526263
0.0542673
0.0586717
0.0604129
0.0656254
0.067462
0.0735736
0.0754975
0.082517
0.0845118
0.0918253
0.0936379
0.100507
0.102755
0.109563
0.112238
0.118826
0.121851
0.128033
0.131282
0.136863
0.140156
0.14494
0.148054
0.151865
0.154547
0.157244
0.159239
0.16074
0.161816
0.162034
0.16183
0.160778
0.159302
0.157329
0.154659
0.151997
0.148215
0.14512
0.140364
0.137087
0.131535
0.1283
0.122145
0.119131
0.112567
0.1099
0.103114
0.100871
0.0940193
0.0922092
0.0236342
0.0234832
0.0231733
0.0209362
0.0208047
0.020902
0.0214953
0.0216846
0.0219115
0.0229901
0.023411
0.0237304
0.0249296
0.025561
0.0259796
0.0272361
0.0281001
0.0286579
0.0299939
0.0311945
0.0320523
0.0336111
0.0353478
0.0365319
0.0383598
0.0406731
0.0420423
0.0441439
0.0473068
0.0488461
0.0511781
0.0555842
0.0572878
0.0597257
0.0658617
0.0677183
0.0700323
0.0782901
0.0802731
0.0822301
)
;
}
walls
{
Cmu 0.09;
kappa 0.41;
E 9.8;
type epsilonWallFunction;
value nonuniform List<scalar>
80
(
0.525302
0.58067
0.63945
0.705365
0.779959
0.862646
0.952291
1.04767
1.14725
1.24892
1.35057
1.44999
1.54552
1.636
1.71872
1.79095
1.84883
1.88807
1.90876
1.90663
1.87897
1.83031
1.76998
1.70263
1.63064
1.55607
1.48065
1.40571
1.33212
1.2605
1.19123
1.12461
1.06078
0.999852
0.94184
0.886722
0.834437
0.78489
0.73794
0.693378
0.685375
0.77249
0.838605
0.902661
0.965585
1.0331
1.1048
1.18146
1.26223
1.34537
1.42985
1.51473
1.59847
1.67873
1.7513
1.81327
1.86263
1.89467
1.90989
1.90397
1.87433
1.82467
1.75951
1.68976
1.61724
1.54343
1.46955
1.39653
1.32493
1.25515
1.18747
1.1221
1.05923
0.998964
0.94138
0.886513
0.834361
0.784873
0.73794
0.69338
)
;
}
front
{
type empty;
}
back
{
type empty;
}
}
// ************************************************************************* //
| |
861833582ada98edc661c48cb2784b353756a233 | b967a36f905d6fea718261b7888d1aeb33a40e78 | /ComboBox.h | 4bfa6f6d24945aac78014a6e10f693fea41e1886 | [] | no_license | SharpShooter17/WinAPI | ef482d760f37477149b955d9a65467bd96a36a46 | ca3560067303657c322776950bc449041e7b08bb | refs/heads/master | 2021-08-08T14:06:01.101490 | 2017-11-10T12:35:32 | 2017-11-10T12:35:32 | 110,242,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 376 | h | ComboBox.h | #pragma once
#include <string>
#include "Control.h"
class ComboBox : public Control
{
public:
ComboBox() = delete;
ComboBox(HWND & hWnd, HINSTANCE & hInstance, unsigned short height, unsigned short width, unsigned short x, unsigned short y);
~ComboBox();
void addItem(const char * item);
std::string getItem();
unsigned int getItemIndex();
};
|
b30070b1cb742a0c98a327f6fd970623ce755856 | 592640e3420f7ac3814fe7f8c4f755e8fe046ca2 | /Pacman/src/Practica4/CollisionSystem.h | 15096f6778da2009a54445b17af05632cc28d4bf | [] | no_license | nestcmartin/SDL2-Projects | 9e3a233b29c3b171623d0868928bb1d76689c41c | 58929acb94ca3df723d4999d03564b9b107c590c | refs/heads/master | 2022-11-14T07:12:17.828667 | 2020-07-06T16:07:36 | 2020-07-06T16:07:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | h | CollisionSystem.h | #ifndef __COLLISION_SYSTEM_H__
#define __COLLISION_SYSTEM_H__
#include "System.h"
class CollisionSystem: public System
{
public:
CollisionSystem();
void update() override;
};
#endif // !__COLLISION_SYSTEM_H__ |
93ba41de5b3318be0846b69d29273da72b6dc023 | b4fa442ef49c1c47583e382a880ff504aed855eb | /UVA340/UVA340.cpp | 1e77769cb98622ce00637a35acec95d16b0f4ea0 | [] | no_license | jackyhobingo/uva_practice | 5c671ba2331adc74f96a83dca921c200c8859382 | a4beb14d7e3f6c3601896b4c7bcbc35831586f6c | refs/heads/master | 2020-12-18T19:25:39.813842 | 2018-07-02T16:11:05 | 2018-07-02T16:11:05 | 34,815,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,267 | cpp | UVA340.cpp | #include<iostream>
using namespace std;
int main()
{
int n;
int game = 0;
int ans[1000];
int a[1000];
bool ans_[1000];
bool a_[1000];
int tmp;
while(1) {
game ++;
cin >> n;
if(n == 0){
break;
}
cout << "Game " << game << ":" << endl;
for(int i=0; i< n ; i++) {
cin >> ans[i];
}
while (1) {
int t = 0, f=0;
bool b = 1;
for(int i=0; i< n ; i++) {
cin >> a[i];
ans_[i] = false;
a_[i] = false;
if (ans[i] == a[i]) {
t ++;
ans_[i] = true;
a_[i] = true;
}
}
for(int i=0; i<n; i++) {
if (a[i]==0) {
b= false;
}
}
if (!b) {
break;
}
for (int i=0; i < n; i++) {
if(a_[i]) {
continue;
}
for (int j=0; j < n; j++) {
if(ans_[j]) {
continue;
}
if (a[i] == ans[j] && i != j) {
f ++;
a_[i] = true;
ans_[j] = true;
break;
}
}
}
cout << " (" << t << ","<< f << ")" << endl;
}
}
}
|
8bb22e96bae6e549ac0fdf63e8b7ad44d0f2427c | 63bbddf136093fec8f31eab26cf500d45b1ff9cd | /draw.cpp | adae064db53acab19261d317fb5338516707d835 | [] | no_license | soodoshll/lese2 | 15804e20fd5224d54bc7a162760353049509470f | e2e3aef62e4a5ea88e3475d7e0beffb5db81a5b1 | refs/heads/master | 2020-03-24T05:56:00.763953 | 2018-07-27T00:47:47 | 2018-07-27T00:47:47 | 142,509,202 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,234 | cpp | draw.cpp | #include "SDL2_header.h"
#include "draw.h"
Image *imagePlayer, *imageBullet, *imageFighter, *imageCircle, *imageMissile, *imageBonus,
*imageProtect, *imageBackground, * imageButton, *imageRBackground, *imageExplode, *imageWelcome;
void loadPictures()
{
imageCircle = loadImage( "circle.png" );
imageBullet = loadImage( "bullets.png" );
imageFighter = loadImage( "fighter.png" );
imageMissile = loadImage( "missile.png" );
imageBonus = loadImage( "bonus.png" );
imageProtect = loadImage( "protect.png" );
imageBackground = loadImage( "background.png" );
imageButton = loadImage( "button.png" );
imageRBackground = loadImage( "rbackground.png" );
imageExplode = loadImage( "red_strip24.png" );
imageWelcome = loadImage( "welcome.png" );
}
void DrawButton(std::string caption, int x, int y, bool highlight){
int ButtonW,ButtonH;
getImageSize(imageButton, ButtonW, ButtonH);
ButtonH /= 2;
Rect rect = {0, highlight * ButtonH, ButtonW, ButtonH};
drawImage(imageButton, x, y, 1, 1, 0, NULL, FLIP_NONE, &rect);
int w,h;
getImageSize(imageButton, w, h);
int upmargin = 12;
int leftmargin = 16;
drawText(caption, x + leftmargin , y + upmargin);
}
void DrawFighterHP(Object * obj){
int fullHP = FighterTypeList[obj->type_id].hp;
int HP = obj -> hp;
const double rat = 0.05;
double leftpart = HP * rat;
double rightpart = (fullHP - HP) * rat;
const int h = 10;
SDL_Rect rect1 = {obj->pos.x - fullHP * rat / 2, obj -> pos.y - h / 2, leftpart, h};
SDL_Rect rect2 = {obj->pos.x - fullHP * rat / 2 , obj -> pos.y - h / 2, fullHP * rat, h};
setPenColor(255,0,0,95);
drawRect(rect1, true);
setPenColor(255,0,0,100);
drawRect(rect2, false);
}
int DrawObject(Object * obj){
int w,h;
SDL_Rect rect;
switch (obj->type){
case(t_fighter):
if (obj -> recovery_time > 0){
getImageSize( imageProtect, w, h );
drawImage(imageProtect, obj->pos.x - w/2, obj->pos.y - h/2);
}
if (obj -> dietime >= 0){
int flip = (GameTime - obj->dietime)/50;
SDL_Rect frect = {32 * flip, 0, 32 ,32};
if (flip >= 24) obj -> valid = false;
drawImage( imageExplode, obj->pos.x - 16 , obj->pos.y - 16,
1, 1, 0,NULL, FLIP_NONE,
&frect);
return 1;
}
rect = FighterTypeList[obj->type_id].clip;
drawImage( obj->img, obj->pos.x - rect.w / 2 , obj->pos.y - rect.h / 2,
1, 1, obj->team * 180,NULL, FLIP_NONE,
&FighterTypeList[obj->type_id].clip);
DrawFighterHP(obj);
if (obj->team == 0)
drawImage( imageCircle, obj->pos.x - FighterTypeList[obj->type_id].r , obj->pos.y - FighterTypeList[obj->type_id].r
, obj->r/32, obj->r/32);
break;
case(t_missile):
getImageSize( obj->img, w, h );
drawImage( obj->img, obj->pos.x - w/2, obj->pos.y - h/2, 1, 1, atan2(obj->vel.y, obj->vel.x)/pi*180);
break;
case(t_bullet):
drawImage( obj->img, obj->pos.x - BIwidth / 2 , obj->pos.y - BIheight / 2,
1, 1, atan2(obj->vel.y, obj->vel.x)/pi*180,NULL, FLIP_NONE,
&BulletTypeList[obj->type_id].clip);
break;
case(t_bonus):
rect = {BonusImageSize[0] * obj->type_id, 0, BonusImageSize[0], BonusImageSize[1]};
drawImage( obj->img, obj->pos.x - BonusImageSize[0]/2, obj->pos.y - BonusImageSize[1]/2, 1, 1, 0, NULL, FLIP_NONE,
&rect);
break;
}
return 0;
}
int DrawObjects(){
int i;
for (i = ObjNumber -1 ; i >= 0 ; --i)
if (ObjList[i] -> valid)
DrawObject(ObjList[i]);
return 0;
}
static int line = 0;
inline void DisplayTextLine(char * text){
drawText( text, LeftMargin + SPACE_WIDTH, UpperMargin + (fontSize + LineSpace) * line );
++line;
}
void DrawInformation(){
char str[30];
line = 0;
sprintf(str, "Time: %d", GameTime/1000);
DisplayTextLine(str);
sprintf(str, "Life: %d", Life);
DisplayTextLine(str);
sprintf(str, "Score: %d", Score);
DisplayTextLine(str);
sprintf(str, "SuperWeapon: %d", SuperWeapon);
DisplayTextLine(str);
sprintf(str, "P: %d", BonusScore[0]);
DisplayTextLine(str);
sprintf(str, "R: %d", BonusScore[1]);
DisplayTextLine(str);
sprintf(str, "S: %d", BonusScore[2]);
DisplayTextLine(str);
//sprintf(str, "Object Number: %d", ObjNumber);
//DisplayTextLine(str);
//sprintf(str, "Enemy Alive: %d", EnemyAlive);
//DisplayTextLine(str);
if (Suspend)
DisplayTextLine( "PAUSE");
}
double BackgroundH;
void DrawBackground(){
drawImage(imageBackground, 0, BackgroundH);
BackgroundH += BackgroundSpeed;
if (BackgroundH > 0) {
int bw,bh;
getImageSize(imageBackground, bw, bh);
BackgroundH = -bh + SPACE_HEIGHT;
}
}
|
266d6c135a64d5097cf144ed3e89362085b93c1b | 4486d0897d08dad8d286548d72dd3a57792da3fc | /Sample.cpp | 89bde9834498fcf3df3dc0c4c87340eb732f5ea3 | [] | no_license | zenkee/AsyncHttpd | e56dbfbf470a2a6c9f51b8b54b9db7c0faceed11 | 394ec43af54891348a98ad892cb7945e1f2fc858 | refs/heads/main | 2023-03-11T05:41:15.644845 | 2021-02-26T07:33:32 | 2021-02-26T07:33:32 | 342,481,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | cpp | Sample.cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include "AsyncHttpd.h"
#pragma comment(lib, "AsyncHttpd.lib")
//your customized function to handle http requests
IAsyncHttpServer::HANDLER_RESULT handler(IAsyncHttpServer::REQUEST* req, LBUF* lbuf,
uint16_t callback_port, void* callback_ptr, uint32_t callback_uint)
{
//print out the incoming request
printf("path:[%s]\n", req->file_path);
printf("file name:[%s]\n", req->file_name);
printf("file extention:[%s]\n", req->file_ext);
printf("query strings:\n");
for (int i = 0; i < req->v_qs.size(); i += 2) {
printf("\t[%s]:[%s]\n", req->v_qs[i], req->v_qs[i + 1]);
}
printf("content-length:[%d]\n", req->content_length);
if (lbuf->len == 0) {
//the net work connection failed
//you should clear any asynchronous operation for the specific skt_ptr
//...
return IAsyncHttpServer::HR_COMPLETED;
}
//let the default handler do the work
return IAsyncHttpServer::HR_DEFAULT;
//send a simple response
lbuf->len = sprintf(lbuf->buf, "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nContent-Length: %d\r\n\r\n%s", 2, "ok");
return IAsyncHttpServer::HR_COMPLETED;
//Asynchronous handling
//Create a thead to do the handling, send a ASYNC_NOTIFY_MSG through local udp when finish.
//Return IAsyncHttpServer::HR_ASYNC immediately.
return IAsyncHttpServer::HR_ASYNC;
}
int main()
{
//put your web pages in d:/work/www, the default file name is index.html
auto svr = IAsyncHttpServer::Create("d:/work/www/", &handler);
svr->Run(0, 80);
} |
7a68c0f06fdf6d12d090bfa5b9823996ea04997d | bc4fec047b886c08e3ffdabcb1723e8eab3e2386 | /hw2-src/main.cpp | 887813ac106b388c10020fb7d1fef409fc836e9e | [
"MIT"
] | permissive | frankyn/CSGraphics-Fall13 | d917787592ae15e4284f4b0373a6ae377e0de596 | e4e5bf8b2ae130a263bfdbcd7359b43a93f478e6 | refs/heads/master | 2016-09-10T11:27:35.899356 | 2013-12-05T23:51:22 | 2013-12-05T23:51:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,091 | cpp | main.cpp | #include <cmath>
#include <unistd.h>
#include "../include/Angel.h"
int NumberOfLines = 10;
int ArraySize;
void init ( ) {
int i = 0;
float p, a, p2, a2;
float inc = 360.0f / NumberOfLines;
//SUPER DIRTY
for ( p = -180.0f ; p <= 180.0f ; p += inc ) {
for ( a = -180.0f; a <= 180.0f; a += inc ) {
i++;
}
}
ArraySize = i*2;
vec3 * sphere = new vec3 [ ArraySize ]; // Need to points for the poles
i = 0;
//Compute Latitude and Longitude lines.
for ( p = -180.0f ; p <= 180.0f ; p += inc ) {
p2 = p * DegreesToRadians;
for ( a = -180.0f; a <= 180.0f; a += inc ) {
a2 = a * DegreesToRadians;
sphere [ i++ ] = 0.5f * vec3 ( sin ( a2 ) * cos ( p2 ) ,
sin ( p2 ) ,
cos ( a2 ) * cos ( p2 ) );
}
}
for ( a = -180.0f ; a <= 180.0f ; a += inc ) {
a2 = a * DegreesToRadians;
for ( p = -180.0f; p <= 180.0f; p += inc ) {
p2 = p * DegreesToRadians;
sphere [ i++ ] = 0.5f * vec3 ( sin ( a2 ) * cos ( p2 ) ,
sin ( p2 ) ,
cos ( a2 ) * cos ( p2 ) );
}
}
GLuint vao;
_glGenVertexArrays ( 1 , &vao );
_glBindVertexArray ( vao );
GLuint buffer;
glGenBuffers ( 1 , &buffer );
glBindBuffer ( GL_ARRAY_BUFFER , buffer );
glBufferData ( GL_ARRAY_BUFFER , sizeof ( vec3 ) * ArraySize ,
sphere , GL_STATIC_DRAW );
glPolygonMode( GL_FRONT_AND_BACK, GL_LINE );
GLuint program = InitShader ( "vshader.glsl" , "fshader.glsl" );
glUseProgram ( program );
GLint location = glGetAttribLocation ( program , "vPosition" );
glEnableVertexAttribArray ( location );
glVertexAttribPointer ( location , 3 , GL_FLOAT , GL_FALSE ,
0 , BUFFER_OFFSET ( 0 ) );
glEnable ( GL_DEPTH_TEST );
glClearColor ( 0.0f , 0.0f , 0.0f , 1.0f );
delete sphere;
}
void display ( ) {
glClear ( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ); // clear the window
glDrawArrays ( GL_LINE_STRIP, 0 , ArraySize );
glFlush ( );
}
void keyboard ( unsigned char key , int x , int y ) {
switch ( key ) {
case 033:
exit ( EXIT_SUCCESS );
break;
}
}
int main ( int argc , char ** argv ) {
glutInit ( &argc, argv );
glutInitDisplayMode ( GLUT_RGBA | GLUT_DEPTH );
glutInitWindowSize ( 512 , 512 );
glutCreateWindow ( "Sphere for Days" );
#ifndef __APPLE__
glewInit ( );
#endif
int nTemp, c;
while ((c = getopt (argc, argv, "n:")) != -1) {
switch ( c ) {
case 'n':
{
nTemp = atoi(optarg);
if ( nTemp > 0 ) {
NumberOfLines = nTemp;
}
}
break;
}
}
init ( );
glutDisplayFunc ( display );
glutKeyboardFunc ( keyboard );
glutMainLoop ( );
return 0;
}
|
26314ed25df83c829cb9f5ad2b9abe49226caa10 | f0c79580c37e23d11fbbc2a8d7b79cec646f23e1 | /src/caffe/layers/irnn_layer.cpp | 9b3212c3297856d26ef3cbce8638f766fee0324f | [
"Apache-2.0"
] | permissive | wpfhtl/DSC | 314cb5afd10991b7a6af71a472e63192cdd09845 | 6dda239b871f8e66aedc1f2db2971cb8890a149e | refs/heads/master | 2020-03-26T20:54:20.343522 | 2018-08-24T06:10:21 | 2018-08-24T06:10:21 | 145,353,875 | 0 | 0 | null | 2018-08-20T02:00:10 | 2018-08-20T02:00:10 | null | UTF-8 | C++ | false | false | 2,488 | cpp | irnn_layer.cpp | // ------------------------------------------------------------------
// Copyright (c) 2017
// The Chinese University of Hong Kong
// Written by Hu Xiaowei
//
// Spatial RNN with identity matrix at four directions
// ------------------------------------------------------------------
#include <vector>
#include <iostream>
#include "caffe/filler.hpp"
#include "caffe/layers/irnn_layer.hpp"
#include "caffe/util/math_functions.hpp"
using namespace std;
namespace caffe {
template <typename Dtype>
void IRNNLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
IRNNParameter irnn_parameter = this->layer_param_.irnn_param();
weight_fixed = irnn_parameter.weight_fixed();
channels_ = bottom[0]->channels();
height_ = bottom[0]->height();
width_ = bottom[0]->width();
if (this->blobs_.size() > 0) {
LOG(INFO) << "Skipping parameter initialization";
} else {
this->blobs_.resize(1);
this->blobs_[0].reset(new Blob<Dtype>(vector<int>(1, channels_*4)));
}
shared_ptr<Filler<Dtype> > filler;
FillerParameter filler_param;
filler_param.set_type("constant");
filler_param.set_value(1.0);
filler.reset(GetFiller<Dtype>(filler_param));
filler->Fill(this->blobs_[0].get());
// Propagate gradients to the parameters (as directed by backward pass).
if (!weight_fixed)
this->param_propagate_down_.resize(this->blobs_.size(), true);
}
template <typename Dtype>
void IRNNLayer<Dtype>::Reshape(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
for (int i=0;i<4;i++) //left up right down
{
top[i]->Reshape(bottom[0]->shape(0), channels_, height_, width_);
}
if (!weight_fixed)
weight_diff_map.Reshape(bottom[0]->shape(0), channels_*4, height_, width_);
}
template <typename Dtype>
void IRNNLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
NOT_IMPLEMENTED;
//Dtype* top_data[4];
//const Dtype* bottom_data[1];
//for (int i=0; i<4; i++)
//{
// top_data[i] = top[i]->mutable_cpu_data();
//}
//bottom_data[0] = bottom[0]->cpu_data();
}
template <typename Dtype>
void IRNNLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top,
const vector<bool>& propagate_down, const vector<Blob<Dtype>*>& bottom) {
NOT_IMPLEMENTED;
}
#ifdef CPU_ONLY
STUB_GPU(IRNNLayer);
#endif
INSTANTIATE_CLASS(IRNNLayer);
REGISTER_LAYER_CLASS(IRNN);
} // namespace caffe
|
df8cd6ed4e9e9f0d3719a6bd98d1a87a3b28a22f | 7d7b31999ff5951b32560640b027f4ae120290fe | /rutil/ParseBuffer.cxx | 7694697320e2a9c45a1400fc71a172551673be8e | [
"BSD-3-Clause",
"VSL-1.0",
"BSD-2-Clause"
] | permissive | portsip/resiprocate | d462a3c722507d33df55cbb1d3e4e84e8cf0cd15 | 0b15ea2516e5fb0c15850eb91d668274cca666a8 | refs/heads/master | 2022-01-03T09:47:55.478983 | 2021-12-13T22:01:03 | 2021-12-13T22:01:03 | 263,042,889 | 1 | 0 | NOASSERTION | 2020-05-11T12:58:11 | 2020-05-11T12:58:10 | null | UTF-8 | C++ | false | false | 23,614 | cxx | ParseBuffer.cxx | #include "rutil/ResipAssert.h"
#include "rutil/Logger.hxx"
#include "rutil/ParseBuffer.hxx"
#include "rutil/ParseException.hxx"
#include "rutil/DataStream.hxx"
#include "rutil/WinLeakCheck.hxx"
using namespace resip;
#define RESIPROCATE_SUBSYSTEM Subsystem::SIP
const char* ParseBuffer::ParamTerm = ";?"; // maybe include "@>,"?
const char* ParseBuffer::Whitespace = " \t\r\n";
const Data ParseBuffer::Pointer::msg("dereferenced ParseBuffer eof");
ParseBuffer::ParseBuffer(const char* buff, size_t len,
const Data& errorContext)
: mBuff(buff),
mPosition(buff),
mEnd(buff+len),
mErrorContext(errorContext)
{}
ParseBuffer::ParseBuffer(const char* buff,
const Data& errorContext)
: mBuff(buff),
mPosition(buff),
mEnd(buff+strlen(buff)),
mErrorContext(errorContext)
{}
ParseBuffer::ParseBuffer(const Data& data,
const Data& errorContext)
: mBuff(data.data()),
mPosition(mBuff),
mEnd(mBuff + data.size()),
mErrorContext(errorContext)
{}
ParseBuffer::ParseBuffer(const ParseBuffer& rhs)
: mBuff(rhs.mBuff),
mPosition(rhs.mPosition),
mEnd(rhs.mEnd),
mErrorContext(rhs.mErrorContext)
{}
ParseBuffer&
ParseBuffer::operator=(const ParseBuffer& rhs)
{
mBuff = rhs.mBuff;
mPosition = rhs.mPosition;
mEnd = rhs.mEnd;
return *this;
}
ParseBuffer::CurrentPosition
ParseBuffer::skipChar(char c)
{
if (eof())
{
fail(__FILE__, __LINE__,"skipped over eof");
}
if (*mPosition != c)
{
Data msg("expected '");
msg += c;
msg += "'";
fail(__FILE__, __LINE__,msg);
}
++mPosition;
return CurrentPosition(*this);
}
ParseBuffer::CurrentPosition
ParseBuffer::skipChars(const char* cs)
{
const char* match = cs;
while (*match != 0)
{
if (eof() || (*match != *mPosition))
{
Data msg("Expected \"");
msg += cs;
msg += "\"";
fail(__FILE__, __LINE__,msg);
}
match++;
mPosition++;
}
return CurrentPosition(*this);
}
ParseBuffer::CurrentPosition
ParseBuffer::skipChars(const Data& cs)
{
const char* match = cs.data();
for(Data::size_type i = 0; i < cs.size(); i++)
{
if (eof() || (*match != *mPosition))
{
Data msg( "Expected \"");
msg += cs;
msg += "\"";
fail(__FILE__, __LINE__,msg);
}
match++;
mPosition++;
}
return CurrentPosition(*this);
}
ParseBuffer::CurrentPosition
ParseBuffer::skipNonWhitespace()
{
assertNotEof();
while (mPosition < mEnd)
{
switch (*mPosition)
{
case ' ' :
case '\t' :
case '\r' :
case '\n' :
return CurrentPosition(*this);
default :
mPosition++;
}
}
return CurrentPosition(*this);
}
ParseBuffer::CurrentPosition
ParseBuffer::skipWhitespace()
{
while (mPosition < mEnd)
{
switch (*mPosition)
{
case ' ' :
case '\t' :
case '\r' :
case '\n' :
{
mPosition++;
break;
}
default :
return CurrentPosition(*this);
}
}
return CurrentPosition(*this);
}
// "SIP header field values can be folded onto multiple lines if the
// continuation line begins with a space or horizontal tab"
// CR can be quote with \ within "" and comments -- treat \CR as whitespace
ParseBuffer::CurrentPosition
ParseBuffer::skipLWS()
{
enum State {WS, CR, LF};
State state = WS;
while (mPosition < mEnd)
{
char c = *mPosition++;
if (c == '\\')
{
// treat escaped CR and LF as space
c = *mPosition++;
if (c == '\r' || c == '\n')
{
c = ' ';
}
}
switch (*mPosition++)
{
case ' ' :
case '\t' :
{
state = WS;
break;
}
case '\r' :
{
state = CR;
break;
}
case '\n' :
{
if (state == CR)
{
state = LF;
}
else
{
state = WS;
}
break;
}
default :
{
// terminating CRLF not skipped
if (state == LF)
{
mPosition -= 3;
}
else
{
mPosition--;
}
return CurrentPosition(*this);
}
}
}
return CurrentPosition(*this);
}
static Data CRLF("\r\n");
ParseBuffer::CurrentPosition
ParseBuffer::skipToTermCRLF()
{
while (mPosition < mEnd)
{
skipToChars(CRLF);
mPosition += 2;
if ((*mPosition != ' ' &&
*mPosition != '\t' &&
// check for \CRLF -- not terminating
// \\CRLF -- terminating
((mPosition-3 < mBuff || *(mPosition-3) != '\\') ||
(mPosition-4 > mBuff && *(mPosition-4) == '\\'))))
{
mPosition -= 2;
return CurrentPosition(*this);
}
}
return CurrentPosition(*this);
}
ParseBuffer::CurrentPosition
ParseBuffer::skipToChars(const char* cs)
{
resip_assert(cs);
unsigned int l = (unsigned int)strlen(cs);
const char* rpos;
const char* cpos;
// Checking mPosition >= mEnd - l +1 is unnecessary because there won't be
// enough bytes left to find [cs].
while (mPosition < mEnd - l + 1)
{
rpos = mPosition;
cpos = cs;
for (unsigned int i = 0; i < l; i++)
{
if (*cpos++ != *rpos++)
{
mPosition++;
goto skip;
}
}
return CurrentPosition(*this);
skip: ;
}
// Advance to the end since we didn't find a match.
mPosition = mEnd;
return CurrentPosition(*this);
}
ParseBuffer::CurrentPosition
ParseBuffer::skipToChars(const Data& sub)
{
const char* begSub = sub.mBuf;
const char* endSub = sub.mBuf + sub.mSize;
if(begSub == endSub)
{
fail(__FILE__, __LINE__, "ParseBuffer::skipToChars() called with an "
"empty string. Don't do this!");
}
while (true)
{
next:
const char* searchPos = mPosition;
const char* subPos = sub.mBuf;
while (subPos != endSub)
{
if (searchPos == mEnd)
{
// nope
mPosition = mEnd;
return CurrentPosition(*this);
}
if (*subPos++ != *searchPos++)
{
// nope, but try the next position
++mPosition;
goto next;
}
}
// found a match
return CurrentPosition(*this);
}
}
bool
ParseBuffer::oneOf(char c, const char* cs)
{
while (*cs)
{
if (c == *(cs++))
{
return true;
}
}
return false;
}
bool
ParseBuffer::oneOf(char c, const Data& cs)
{
for (Data::size_type i = 0; i < cs.size(); i++)
{
if (c == cs[i])
{
return true;
}
}
return false;
}
ParseBuffer::CurrentPosition
ParseBuffer::skipToOneOf(const char* cs)
{
while (mPosition < mEnd)
{
if (oneOf(*mPosition, cs))
{
return CurrentPosition(*this);
}
else
{
mPosition++;
}
}
return CurrentPosition(*this);
}
ParseBuffer::CurrentPosition
ParseBuffer::skipToOneOf(const char* cs1,
const char* cs2)
{
while (mPosition < mEnd)
{
if (oneOf(*mPosition, cs1) ||
oneOf(*mPosition, cs2))
{
return CurrentPosition(*this);
}
else
{
mPosition++;
}
}
return CurrentPosition(*this);
}
ParseBuffer::CurrentPosition
ParseBuffer::skipToOneOf(const Data& cs)
{
while (mPosition < mEnd)
{
if (oneOf(*mPosition, cs))
{
return CurrentPosition(*this);
}
else
{
mPosition++;
}
}
return CurrentPosition(*this);
}
ParseBuffer::CurrentPosition
ParseBuffer::skipToOneOf(const Data& cs1,
const Data& cs2)
{
while (mPosition < mEnd)
{
if (oneOf(*mPosition, cs1) ||
oneOf(*mPosition, cs2))
{
return CurrentPosition(*this);
}
else
{
mPosition++;
}
}
return CurrentPosition(*this);
}
const char*
ParseBuffer::skipToEndQuote(char quote)
{
while (mPosition < mEnd)
{
// !dlb! mark character encoding
if (*mPosition == '\\')
{
mPosition += 2;
}
else if (*mPosition == quote)
{
return mPosition;
}
else
{
mPosition++;
}
}
{
Data msg("Missing '");
msg += quote;
msg += "'";
fail(__FILE__,__LINE__,msg);
}
return 0;
}
const char*
ParseBuffer::skipBackChar()
{
if (bof())
{
fail(__FILE__, __LINE__,"backed over beginning of buffer");
}
mPosition--;
return mPosition;
}
const char*
ParseBuffer::skipBackWhitespace()
{
while (!bof())
{
switch (*(--mPosition))
{
case ' ' :
case '\t' :
case '\r' :
case '\n' :
{
break;
}
default :
return ++mPosition;
}
}
return mBuff;
}
// abcde
// ^
// skipBackChar('d');
// abcde
// ^
// skipChar('d');
// abcde
// ^
const char*
ParseBuffer::skipBackChar(char c)
{
if (bof())
{
fail(__FILE__, __LINE__,"backed over beginning of buffer");
}
if (*(--mPosition) != c)
{
Data msg( "Expected '");
msg += c;
msg += "'";
fail(__FILE__, __LINE__,msg);
}
return mPosition;
}
// abcde
// ^
// skipBackToChar('c');
// abcde
// ^
const char*
ParseBuffer::skipBackToChar(char c)
{
while (!bof())
{
if (*(--mPosition) == c)
{
return ++mPosition;
}
}
return mBuff;
}
const char*
ParseBuffer::skipBackToOneOf(const char* cs)
{
while (!bof())
{
if (oneOf(*(--mPosition),cs))
{
return ++mPosition;
}
}
return mBuff;
}
void
ParseBuffer::data(Data& data, const char* start) const
{
if (!(mBuff <= start && start <= mPosition))
{
fail(__FILE__, __LINE__,"Bad anchor position");
}
if (data.mShareEnum == Data::Take)
{
delete[] data.mBuf;
}
data.mSize = (unsigned int)(mPosition - start);
data.mBuf = const_cast<char*>(start);
data.mCapacity = data.mSize;
data.mShareEnum = Data::Share;
}
static const unsigned char hexToByte[256] =
{
// 0 1 2 3 4 5 6 7 8 9 a b c d e f
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//0
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//1
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//2
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'k','k','k','k','k','k', //3
'k',0xA,0xB,0xC,0xD,0xE,0xF,'k','k','k','k','k','k','k','k','k', //4
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//5
'k',0xA,0xB,0xC,0xD,0xE,0xF,'k','k','k','k','k','k','k','k','k', //6
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//8
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//9
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//a
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//b
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//c
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//d
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k',//e
'k','k','k','k','k','k','k','k','k','k','k','k','k','k','k','k' //f
};
void
ParseBuffer::dataUnescaped(Data& dataToUse, const char* start) const
{
if (!(mBuff <= start && start <= mPosition))
{
fail(__FILE__, __LINE__, "Bad anchor position");
}
{
const char* current = start;
while (current < mPosition)
{
if (*current == '%')
{
// needs to be unencoded
goto copy;
}
current++;
}
// can use an overlay
data(dataToUse, start);
return;
}
copy:
if ((size_t)(mPosition-start) > dataToUse.mCapacity)
{
dataToUse.resize(mPosition-start, false);
}
char* target = dataToUse.mBuf;
const char* current = start;
while (current < mPosition)
{
if (*current == '%')
{
current++;
if (mPosition - current < 2)
{
fail(__FILE__, __LINE__,"Illegal escaping");
}
const char high = hexToByte[(unsigned char)*current];
const char low = hexToByte[(unsigned char)*(current + 1)];
if (high!='k' && low!='k')
{
unsigned char escaped = 0;
escaped = high << 4 | low;
// !bwc! I think this check is bogus, especially the ':' (58) check
// You could maybe argue that the point of %-escaping is to allow
// the use of UTF-8 data (including ASCII that is not allowed in an
// on-the-wire representation of whatever it is we're unescaping),
// and not unprintable characters (the unprintable codes are not
// used by UTF-8).
if (escaped > 31 && escaped != 127 && escaped != 58)
{
*target++ = escaped;
current+= 2;
}
else
{
*target++ = '%';
*target++ = *current++;
*target++ = *current++;
}
}
else
{
fail(__FILE__, __LINE__,"Illegal escaping, not hex");
}
}
else
{
*target++ = *current++;
}
}
*target = 0;
dataToUse.mSize = target - dataToUse.mBuf;
}
Data
ParseBuffer::data(const char* start) const
{
if (!(mBuff <= start && start <= mPosition))
{
fail(__FILE__, __LINE__,"Bad anchor position");
}
Data data(start, mPosition - start);
return data;
}
int
ParseBuffer::integer()
{
if (this->eof())
{
fail(__FILE__, __LINE__,"Expected a digit, got eof ");
}
bool negative = false;
if (*mPosition == '-')
{
negative = true;
++mPosition;
assertNotEof();
}
else if (*mPosition == '+')
{
++mPosition;
assertNotEof();
}
if (!isdigit(*mPosition))
{
Data msg("Expected a digit, got: ");
msg += Data(mPosition, (mEnd - mPosition));
fail(__FILE__, __LINE__,msg);
}
// The absolute value limit depending on the detected sign
const unsigned int absoluteLimit = negative ? -(unsigned int)INT_MIN : INT_MAX;
// maximum value for full number except last digit
const unsigned int border = absoluteLimit / 10;
// value the last digit must not exceed
const unsigned int digitLimit = absoluteLimit % 10;
unsigned int num = 0;
while (!eof() && isdigit(*mPosition))
{
const unsigned int c = *mPosition++ - '0';
if (num > border || (num == border && c > digitLimit)) {
fail(__FILE__, __LINE__,"Overflow detected.");
}
num *= 10;
num += c;
}
if (negative)
{
num = -num;
}
return num;
}
UInt8
ParseBuffer::uInt8()
{
const char* begin=mPosition;
UInt8 num = 0;
UInt8 last = 0;
while (!eof() && isdigit(*mPosition))
{
last = num;
num = num*10 + (*mPosition-'0');
if(last>num)
{
fail(__FILE__, __LINE__,"Overflow detected.");
}
++mPosition;
}
if(mPosition==begin)
{
fail(__FILE__, __LINE__,"Expected a digit");
}
return num;
}
//!dcm! -- merge these, ask about length checks
UInt32
ParseBuffer::uInt32()
{
const char* begin=mPosition;
UInt32 num = 0;
while (!eof() && isdigit(*mPosition))
{
num = num*10 + (*mPosition-'0');
++mPosition;
}
switch(mPosition-begin)
{
case 0:
fail(__FILE__, __LINE__,"Expected a digit");
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
case 9:
break;
case 10:
if(*begin<'4')
{
break;
}
else if(*begin=='4' && num >= 4000000000UL)
{
break;
}
default:
fail(__FILE__, __LINE__,"Overflow detected");
}
return num;
}
UInt64
ParseBuffer::uInt64()
{
const char* begin=mPosition;
UInt64 num = 0;
while (!eof() && isdigit(*mPosition))
{
num = num*10 + (*mPosition-'0');
++mPosition;
}
switch(mPosition-begin)
{
case 0:
fail(__FILE__, __LINE__,"Expected a digit");
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
case 9:
case 10:
case 11:
case 12:
case 13:
case 14:
case 15:
case 16:
case 17:
case 18:
case 19:
break;
case 20:
if(*begin=='1' && num >= 10000000000000000000ULL)
{
break;
}
default:
fail(__FILE__, __LINE__,"Overflow detected");
}
return num;
}
#ifndef RESIP_FIXED_POINT
float
ParseBuffer::floatVal()
{
const char* s = mPosition;
try
{
float mant = 0.0;
int num = integer();
if (*mPosition == '.')
{
skipChar();
const char* pos = mPosition;
mant = float(integer());
int s = int(mPosition - pos);
while (s--)
{
mant /= 10.0;
}
}
return num + mant;
}
catch (ParseException&)
{
Data msg("Expected a floating point value, got: ");
msg += Data(s, mPosition - s);
fail(__FILE__, __LINE__,msg);
return 0.0;
}
}
#endif
int
ParseBuffer::qVal()
{
// parse a qvalue into an integer between 0 and 1000 (ex: 1.0 -> 1000, 0.8 -> 800, 0.05 -> 50)
const char* s = mPosition;
try
{
int num = integer();
if (num == 1)
{
num = 1000;
}
else if (num != 0)
{
// error: qvalue must start with 1 or 0
return 0;
}
if (!eof() && *mPosition == '.')
{
skipChar();
int i = 100;
while(!eof() && isdigit(*mPosition) && i)
{
num += (*mPosition-'0') * i;
i /= 10;
skipChar();
}
}
return num;
}
catch (ParseException&)
{
Data msg("Expected a floating point value, got: ");
msg += Data(s, mPosition - s);
fail(__FILE__, __LINE__,msg);
return 0;
}
}
Data
spaces(unsigned int numSpaces)
{
Data sps(numSpaces, Data::Preallocate);
for (unsigned int i = 0; i < numSpaces; i++)
{
sps += ' ';
}
return sps;
}
Data
escapeAndAnnotate(const char* buffer,
Data::size_type size,
const char* position)
{
Data ret(2*size+16, Data::Preallocate);
const char* lastReturn = buffer;
int lineCount = 0;
bool doneAt = false;
const char* p = buffer;
for (unsigned int i = 0; i < size; i++)
{
unsigned char c = *p++;
switch (c)
{
case 0x0D: // CR
{
continue;
}
case 0x0A: // LF
{
if (!doneAt && p >= position)
{
ret += "[CRLF]\n";
ret += spaces((unsigned int)(position - lastReturn));
ret += "^[CRLF]\n";
doneAt = true;
}
else
{
lastReturn = p;
ret += c;
}
lineCount++;
continue;
}
}
if (iscntrl(c) || (c >= 0x7F))
{
ret +='*'; // indicates unprintable character
continue;
}
ret += c;
}
if (!doneAt && p >= position)
{
ret += "\n";
ret += spaces((unsigned int)(position - lastReturn));
ret += "^\n";
}
return ret;
}
void
ParseBuffer::fail(const char* file, unsigned int line, const Data& detail) const
{
Data errmsg;
{
DataStream ds(errmsg);
ds << file << ":" << line
<< ", Parse failed ";
if (detail != Data::Empty) ds << detail << ' ' ;
ds << "in context: " << mErrorContext
<< std::endl
<< escapeAndAnnotate(mBuff, mEnd - mBuff, mPosition);
ds.flush();
}
DebugLog(<<errmsg);
throw ParseException(errmsg, mErrorContext, file, line);
}
ParseBuffer::Pointer::Pointer(const ParseBuffer& pb,
const char* position,
bool atEof)
: mPb(pb),
mPosition(position),
mIsValid(!atEof)
{}
ParseBuffer::Pointer::Pointer(const CurrentPosition& pos) :
mPb(pos.mPb),
mPosition(pos),
mIsValid(pos.mPb.valid())
{}
const char&
ParseBuffer::Pointer::operator*() const
{
if (mIsValid)
{
return *mPosition;
}
else
{
throw ParseException(msg, mPb.getContext(), __FILE__, __LINE__);
}
}
/* ====================================================================
* The Vovida Software License, Version 1.0
*
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The names "VOCAL", "Vovida Open Communication Application Library",
* and "Vovida Open Communication Application Library (VOCAL)" must
* not be used to endorse or promote products derived from this
* software without prior written permission. For written
* permission, please contact vocal@vovida.org.
*
* 4. Products derived from this software may not be called "VOCAL", nor
* may "VOCAL" appear in their name, without prior written
* permission of Vovida Networks, Inc.
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
* NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA
* NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT DAMAGES
* IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.
*
* ====================================================================
*
* This software consists of voluntary contributions made by Vovida
* Networks, Inc. and many individuals on behalf of Vovida Networks,
* Inc. For more information on Vovida Networks, Inc., please see
* <http://www.vovida.org/>.
*
*/
|
aa4573a4f5d8c2ec4bd5bd409f403656dce07468 | bf5024f69acca285ca6857e2ca01e6e33af9a885 | /Leetcode2615.cpp | 9d1013ce1c34fa34e1a27c3083217755cfa3a40b | [
"Apache-2.0"
] | permissive | dezhonger/LeetCode | 08c37177916e4a71bc07cbb27b1573221d96ee92 | 892ae5c14b92788611b86be6a05d1d02e137822f | refs/heads/master | 2023-08-14T00:34:42.570110 | 2023-07-28T06:54:27 | 2023-07-28T06:54:27 | 48,811,775 | 3 | 0 | null | 2021-02-05T06:22:58 | 2015-12-30T17:26:37 | Java | UTF-8 | C++ | false | false | 735 | cpp | Leetcode2615.cpp | class Solution {
public:
vector<long long> distance(vector<int> &nums) {
int n = nums.size();
unordered_map<int, vector<int>> groups;
for (int i = 0; i < n; ++i) groups[nums[i]].push_back(i);
vector<long long> ans(n);
for (auto &[_, a]: groups) {
int m = a.size();
long long s = 0;
for (int x: a) s += x - a[0];
ans[a[0]] = s;
for (int i = 1; i < m; ++i)
// 从计算 a[i-1] 到计算 a[i],考虑 s 增加了多少
//变小: m - i 变大:i
//i - m + i= i * 2 - m
ans[a[i]] = s += (long long) (i * 2 - m) * (a[i] - a[i - 1]);
}
return ans;
}
};
|
ade768041dfd3e2c7a7c95e838d5cb6ba818e758 | f4cf35b2f9d346f6e8be6ae7b9106cbdf0c879b5 | /sd_hardware_interface/src/i2c_comm_test_node.cpp | 5acfafaa2d64bc7d59e05f16a19d4c16f0db8482 | [] | no_license | coreygamache/senior_design | c9394f1d5b617436a75a680e360cd7a34bfb5fc0 | 16cf373e44f9fac6a63b14a9a4c8fcf2698878df | refs/heads/master | 2020-03-28T19:03:24.376767 | 2019-04-22T16:03:57 | 2019-04-22T16:03:57 | 148,940,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,470 | cpp | i2c_comm_test_node.cpp | #include <errno.h>
#include <ros/ros.h>
#include <sstream>
#include <wiringPiI2C.h>
int main(int argc, char **argv)
{
//send notification that node is launching
ROS_INFO("[NODE LAUNCH]: starting i2c_comm_test_node");
//initialize node and create node handler
ros::init(argc, argv, "i2c_comm_test_node");
ros::NodeHandle node_private("~");
//set loop rate in Hz
ros::Rate loop_rate(50);
//initialize i2c communication and data values
int fd;
int result;
unsigned char data[2] = {0, 0};
//initialize i2c protocol and verify connection
fd = wiringPiI2CSetup(0x04);
ROS_INFO("i2c connection result: %d", fd);
while (ros::ok())
{
//update data values then check if they are above PWM limit
for (int i = 0; i < 2; i++)
{
//iterate data values
if (i == 0)
{
data[i]++;
}
else
{
data[i]--;
}
//verify data values are within PWM limits
if (data[i] > 255)
{
data[i] = 0;
}
else if (data[i] < 0)
{
data[i] = 255;
}
}
//notify of message to be sent
ROS_INFO("sending message: %d %d", data[0], data[1]);
//output motor PWM values via i2c protocol
result = write(fd, data, 2);
//output notification message if error occurs
if (result == -1)
{
ROS_INFO("error: %d", errno);
}
//sleep until next cycle
ros::spinOnce();
loop_rate.sleep();
}
return 0;
}
|
9ca2094d8c3fd84efa212fafe118d86ec1d673af | ec2b851ac2f7086612a93cf0bce49fc325b86fbf | /src/RedEye.cpp | adc60148ce1263caf6e14a1253e1370f16ae2fbc | [] | no_license | wbvreeuwijk/xiao-redeye | da723137c726aa49ef8b939b41a1a73788e2e4d6 | 33318d55f1442bec4014dfe0571aba285617f9b2 | refs/heads/master | 2023-01-02T11:34:27.224191 | 2020-10-25T12:10:50 | 2020-10-25T12:10:50 | 306,606,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,042 | cpp | RedEye.cpp | #include "RedEye.h"
#include <TimerTC3.h>
char time = 0;
volatile int state = STATE_IDLE;
volatile int subCycle = 0;
volatile int pulse = 0;
volatile int startBit = 0;
volatile int eccHalfBit = 0;
volatile int dataHalfBit = 0;
volatile byte eccByte = 0;
volatile int_fast16_t eccPulses = 0;
volatile byte dataByte = 0;
volatile int_fast16_t dataPulses = 0;
volatile boolean prevPulseDetected = false;
/*
Calculate the checksum for the received bytes
*/
static byte calcECC(byte data)
{
byte ret = 0x00;
if ((data & 0x01) != 0)
ret ^= 0x03;
if ((data & 0x02) != 0)
ret ^= 0x05;
if ((data & 0x04) != 0)
ret ^= 0x06;
if ((data & 0x08) != 0)
ret ^= 0x09;
if ((data & 0x10) != 0)
ret ^= 0x0A;
if ((data & 0x20) != 0)
ret ^= 0x0C;
if ((data & 0x40) != 0)
ret ^= 0x0E;
if ((data & 0x80) != 0)
ret ^= 0x07;
return ret;
}
/*
Calculate Parity
*/
int parity(byte d)
{
int p = 0;
while (d > 0)
{
p += d & 0x01;
d >>= 1;
}
return p % 2;
}
/*
Calculate missing bits
*/
byte getMissing(int_fast16_t b)
{
byte m = 0;
while (b > 0)
{
m = (m << 1) | !((b & 1) ^ ((b >> 1) & 1));
b = b >> 2;
}
return m;
}
/*
Process halfbit
*/
byte getHalfBit(byte data, int halfBit)
{
return data = data << 1 | ((halfBit % 2) == 0 ? 1 : 0);
}
/*
Process halfbits that are part of the frame
*/
void pulseProcess()
{
// Make sure that the timing is correct
// digitalWrite(txPin, true);
if (subCycle == 3)
{
TimerTc3.setPeriod(cycleTime + 1);
subCycle = 0;
}
else
{
TimerTc3.setPeriod(cycleTime);
subCycle++;
}
// Did we get a pulse in this halbit
boolean pulseDetected = pulse >= 6;
//if (pulseDetected)
pulse = 0;
// Start halfbit processing
if (state == STATE_START)
{
// Count the start halfbits
if (pulseDetected)
startBit++;
// After three start halfbits we start on the ECC code
if (startBit >= 3)
{
state = STATE_ECC;
eccByte = 0;
eccPulses = 0;
eccHalfBit = 0;
}
}
else if (state == STATE_ECC)
{
// Check for a puls in this half bit period
// If we have a pulse in the first (even) halfbit
// We receive a one otherwise a zero
if (pulseDetected)
eccByte = getHalfBit(eccByte, eccHalfBit);
eccPulses |= ((pulseDetected) ? 1 : 0) << eccHalfBit;
eccHalfBit++;
// Go to data part of the frame after 8 halfbits
if (eccHalfBit == 8)
{
state = STATE_DATA;
dataHalfBit = 0;
dataPulses = 0;
dataByte = 0;
}
}
else if (state == STATE_DATA)
{
// Check for data halfbits
if (pulseDetected)
dataByte = getHalfBit(dataByte, dataHalfBit);
dataPulses |= ((pulseDetected) ? 1 : 0) << dataHalfBit;
dataHalfBit++;
// After 16 halfbits we have a data byte
// Check if the ECC matches the calculated ECC
if (dataHalfBit == 16)
{
state = STATE_IDLE;
startBit = 0;
byte missingECCBits = getMissing(eccPulses);
byte missingDataBits = getMissing(dataHalfBit);
// Only check error correction when we have no missing ECC bits
if (missingECCBits == 0 && missingECCBits == 0)
{ // Complete error free frame
Serial.write(dataByte);
#ifdef DEBUG
Serial.println();
#endif
}
else if (missingECCBits != 0)
{ // Error in ECC
#ifdef DEBUG
Serial.print(missingECCBits, BIN);
Serial.write(":");
Serial.write(dataByte);
Serial.println();
#else
Serial.write(dataByte);
#endif
}
else if (missingDataBits != 0)
{
while (missingDataBits != 0x00)
{
for (byte i = 0; i < 4; i++)
{
byte mask = H[i];
byte x = missingDataBits & mask;
if (parity(x) == 1)
{
if (parity(dataByte & mask) != ((eccByte >> (3 - i)) & 0x01))
dataByte |= x;
missingDataBits &= ~x;
break;
}
}
}
#ifdef DEBUG
Serial.print(missingDataBits, BIN);
Serial.write(":");
Serial.write(dataByte);
Serial.println();
#else
Serial.write(dataByte);
#endif
}
TimerTc3.stop();
}
}
prevPulseDetected = pulseDetected;
}
/*
Simply count incoming pulses and start time when first frame pulse is detected.
*/
void pulseCount()
{
pulse++;
if (state == STATE_IDLE)
{
TimerTc3.start();
state = STATE_START;
}
}
/*
Setup serial output en define timers and interrupts
*/
void setup()
{
// Setup serial output
Serial.begin(115200);
while (!Serial)
;
//Serial.println("Start");
// Setup Pins
pinMode(rxPin, INPUT_PULLUP);
pinMode(txPin, OUTPUT);
digitalWrite(txPin, HIGH);
// Set pulse processing timer
TimerTc3.initialize(cycleTime);
TimerTc3.attachInterrupt(pulseProcess);
TimerTc3.stop();
// Set pulse counter interrupt
attachInterrupt(digitalPinToInterrupt(rxPin), pulseCount, FALLING);
}
void loop()
{
// Nothing to do
}
|
becf0a41e78b0b1097ae18eb1f9b24f8a80631db | 34ab31d7d506e9551862fad1300635bf946052de | /auto_raid_Re/auto_raid_Re.ino | 95ba715a808a44f22130a2870a28b682b5c687eb | [] | no_license | Nagan0/AutoPokeController | 6a75a3b545b7e3309b0559cb627cd2f67eb7cda1 | 91a265f90d2ab70679e1cf7c2984ab2373fa288b | refs/heads/master | 2023-06-29T07:45:34.112112 | 2021-07-08T15:13:25 | 2021-07-08T15:13:25 | 275,913,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | ino | auto_raid_Re.ino | /**
* レイドバトル→ポケモンを捕獲→ボックスに預ける→願いの塊を投げ入れるを繰り返すスケッチ
* ボックスに空きがある限り、レイドバトルを続ける
*
* 初期条件は以下の通り
* 1. 願いの塊を投げ入れた巣穴の前にいること
* 2. 手持ちが1体のみのこと
* 3. Aボタン連打でレイドバトルで勝てるようにすること
* 4. ボックスが空のこと
* 5. 願いの塊を大量に持っていること
*/
#include <auto_command_util.h>
// レイドバトルが終わるまでの時間
const int BATTLE_FINISH_SEC = 180;
// 巣穴の前からひとりレイドを始め、レイドポケモンを倒し、捕まえる
void startRaidBattle(){
// ひとりではじめる
pushButton(Button::A, 1500);
pushHatButton(Hat::DOWN, 500);
// レイドバトル中はA連打
for(int i=0; i<BATTLE_FINISH_SEC; i++){
pushButton(Button::A, 500, 2);
}
}
// レイドバトル後もしばらく続くAボタン連打の後の画面から、
// 巣穴の前の最初のポジションに戻す
void resetState(){
tiltJoystick(0,0,0,0,100);
pushButton(Button::B, 1000, 4);
delay(1000);
pushButton(Button::A, 1000, 2);
pushButton(Button::B, 1000, 3);
}
// 自動ボックス処理機能削除
void execRaidBattleSequence(){
startRaidBattle();
resetState();
}
void setup(){
pushButton(Button::B, 500, 5);
}
void loop(){
execRaidBattleSequence();
}
|
5ee813e73a962fa1465cf6ba5ae2fd35d1cb6eea | c96881ff116f4a28398546569011399b3092b01a | /Random/C++/Help.cpp | e3abed76f8633ef70289c56fca7cc67d5405b9e8 | [
"MIT"
] | permissive | akimikimikimikimikimikimika/shellCommands | e574e30f8419e9c13782094143acaaff8aa343a5 | f6970f3827ac7491db9b168c8f7929bfb1440940 | refs/heads/master | 2021-06-19T13:17:52.211186 | 2021-04-24T08:19:01 | 2021-04-24T08:19:01 | 195,595,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,546 | cpp | Help.cpp | #include <iostream>
#include <random>
using namespace std;
void help() {
cout << endl << endl;
cout << "使い方" << endl << endl;
cout << " random help" << endl;
cout << " このページを表示します" << endl;
cout << endl;
cout << " random version" << endl;
cout << " このソフトウェアのバージョンを表示します" << endl;
cout << endl;
cout << " random [options]" << endl;
cout << " 以下のオプションに基づき乱数を生成します" << endl;
cout << endl;
cout << " -m,-mode [string] : 乱数生成方法を指定 (初期値:device)" << endl;
cout << " [string] には以下の値が指定できます" << endl;
cout << " • rand : C言語由来の通常の乱数生成器を使用" << endl;
cout << " このデバイスでの取り得る値の範囲は次の通り: 0~" << RAND_MAX << endl;
cout << " • device : 予測不能な乱数生成器で乱数を生成" << endl;
cout << " コンピュータのハードウェア的ノイズなどから乱数が生成されます" << endl;
cout << " -sのシードは無視されます" << endl;
cout << " このデバイスでの取り得る値の範囲は次の通り: " << random_device::min() << "~" << random_device::max() << endl;
cout << " • default : 標準的な方法に基づく擬似乱数を生成" << endl;
cout << " このモードは,非専門的な利用の場合に適しています" << endl;
cout << " 以下に示すモードのうちいづれかを利用します" << endl;
cout << " • minstd0 : 最小標準法による擬似乱数を生成 (オリジナル版)" << endl;
cout << " • minstd : 最小標準法による擬似乱数を生成" << endl;
cout << " • knuth : 最小標準法+並び替えによる擬似乱数を生成" << endl;
cout << " • ranlux3 : RANLUX法による擬似乱数を生成 (贅沢さレベル3)" << endl;
cout << " • ranlux4 : RANLUX法による擬似乱数を生成 (贅沢さレベル4)" << endl;
cout << " • mt : メルセンヌツイスター法による擬似乱数を生成 (32bit)" << endl;
cout << " • mt64 : メルセンヌツイスター法による擬似乱数を生成 (64bit)" << endl;
cout << endl;
cout << " -s,-seed [string|int] : 乱数シードを指定します (初期値:device)" << endl;
cout << " -m device 以外の場合に指定可能です" << endl;
cout << " • none" << endl;
cout << " シードを与えません" << endl;
cout << " このオプションでは常に同じ乱数が生成される可能性があります" << endl;
cout << " • device" << endl;
cout << " 予測不能な乱数をシードとして指定します" << endl;
cout << " -m device で得られる乱数をシードとして利用します" << endl;
cout << " • time" << endl;
cout << " 現在時刻 (Unixエポック) に基づくシードを指定します" << endl;
cout << " • [int]" << endl;
cout << " 0以上の整数をシードとして与えます" << endl;
cout << endl;
cout << " -l,-length [int] : 生成する乱数の数を指定します (初期値:1)" << endl << endl;
cout << endl;
cout << " -d,-discard [int] : 擬似乱数において指定した数だけ状態を進めます (初期値:0)" << endl;
cout << " -m rand,device 以外の場合に指定可能です" << endl;
cout << endl;
cout << " -i,-int [min] [max] : 整数の乱数を出力します" << endl;
cout << " min,maxを指定すると, min≤x≤max の範囲内の値に絞ります" << endl;
cout << " 指定しない場合は,指定された乱数モード特有の範囲で出力します" << endl;
cout << " -r,-real [min] [max] : 実数の乱数を出力します (初期値)" << endl;
cout << " min,maxを指定すると, min≤x<max の範囲内の値に絞ります" << endl;
cout << " 指定しない場合は,0≤x<1の範囲の実数を出力します" << endl;
cout << endl;
cout << " -parallel : 並列処理により乱数を生成します" << endl;
cout << " -hidden : 生成した乱数を表示しません (ベンチマーク等に最適)" << endl;
cout << endl << endl;
}
void version() {
cout << endl;
cout << "Random (C++ version)" << endl;
cout << "ビルド: 2019/7/31" << endl << endl;
cout << "C++ で書かれた乱数生成システムです。" << endl;
cout << "シェルから簡単に乱数を呼び出すことができます。" << endl;
cout << endl;
} |
941f8c9c82b870d70ae58d6b89f71f99370500d0 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/angle/src/compiler/translator/TranslatorMetalDirect/IdGen.h | 65238592971c12b4c20d0ca922c01e0c56ca5050 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 1,372 | h | IdGen.h | //
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#ifndef COMPILER_TRANSLATOR_TRANSLATORMETALDIRECT_IDGEN_H_
#define COMPILER_TRANSLATOR_TRANSLATORMETALDIRECT_IDGEN_H_
#include "common/angleutils.h"
#include "compiler/translator/TranslatorMetalDirect/Name.h"
namespace sh
{
// For creating new fresh names.
// All names created are marked as SymbolType::AngleInternal.
class IdGen : angle::NonCopyable
{
public:
IdGen();
Name createNewName(const ImmutableString &baseName);
Name createNewName(const Name &baseName);
Name createNewName(const char *baseName);
Name createNewName(std::initializer_list<ImmutableString> baseNames);
Name createNewName(std::initializer_list<Name> baseNames);
Name createNewName(std::initializer_list<const char *> baseNames);
Name createNewName();
private:
template <typename String, typename StringToImmutable>
Name createNewName(size_t count, const String *baseNames, const StringToImmutable &toImmutable);
private:
unsigned mNext = 0; // `unsigned` because of "%u" use in sprintf
std::string mNewNameBuffer; // reusable buffer to avoid tons of reallocations
};
} // namespace sh
#endif // COMPILER_TRANSLATOR_TRANSLATORMETALDIRECT_IDGEN_H_
|
94aaf78dda59524df8151534f4391ce52e7b5ab4 | 34e85672fad576629ad0531af9ee452861710428 | /src/ImgLib.cpp | e3306db83d6ed241272319b17ee88d93e38a9ffa | [] | no_license | Boosting/stereo-gaze-tracker | d61b2a3ac490a231e7b8681937dd13c016188418 | eee2b7fed271fbec20cf12ecd913b869fab31cf3 | refs/heads/master | 2021-01-20T17:34:14.031358 | 2014-03-30T01:42:04 | 2014-03-30T01:42:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,225 | cpp | ImgLib.cpp | #include "ImgLib.h"
void ImgLib::DrawComponent(const CvConnectedComp& comp, IplImage* image, int line_width)
{
CvScalar color;
color = CV_RGB(255,0,0);
cvRectangle(image, cvPoint(comp.rect.x, comp.rect.y), cvPoint(comp.rect.x + comp.rect.width, comp.rect.y + comp.rect.height), color, line_width);
}
int ImgLib::CountNonZero(IplImage *image, CvRect rect)
{
int result;
cvSetImageROI(image, rect);
result = cvCountNonZero(image);
cvResetImageROI(image);
return result;
}
double ImgLib::GetAngle(int x1, int y1, int x2, int y2)
{
int xl = x1 < x2 ? x1 : x2;
int xr = x1 < x2 ? x2 : x1;
int yd = x1 < x2 ? y1 : y2;
int yu = x1 < x2 ? y2 : y1;
double rad = atan2((double)yu - yd, (double)xr - xl);
return (360 * rad) / (2 * 3.1415926535);
}
void ImgLib::RotateImage(IplImage *src, IplImage *dst, int centerX, int centerY, float angle)
{
float m[6];
double factor = 1;
CvMat M = cvMat(2, 3, CV_32F, m);
/* m[0] = (float)(factor*cos(-angle*2*CV_PI/180.));
m[1] = (float)(factor*sin(-angle*2*CV_PI/180.));
m[2] = centerX;
m[3] = -m[1];
m[4] = m[0];
m[5] = centerY;*/
cv2DRotationMatrix( cvPoint2D32f(centerX, centerY), angle,
1.0, &M);
cvWarpAffine(src, dst, &M);
// cvGetQuadrangleSubPix(image, m_rotatedImg, &M, 1, cvScalarAll(0));
}
int ImgLib::SymmetryTest(IplImage *src, CvRect rect, int max_diff)
{
int ret = 1;
ClipRect(rect, src->width, src->height);
if ( (rect.width < 1) || (rect.height < 1) )
return -1;
CvRect half1 = cvRect(rect.x, rect.y, rect.width / 2, rect.height);
CvRect half2 = cvRect(rect.x + half1.width, rect.y, rect.width - half1.width, rect.height);
//CvMat *colMat = cvCreateMatHeader(rect.height, 1, CV_8UC1);
CvMat colMat;
int i;
cvSetImageROI(src, half1);
double sum1 = cvSum(src).val[0];
double *profile1 = new double[half1.width];
double *profile2 = new double[half2.width];
for (i = 0; i < half1.width; i++)
{
cvGetCol(src, &colMat, i);
profile1[i] = cvSum(&colMat).val[0] / sum1;
}
cvSetImageROI(src, half2);
double sum2 = cvSum(src).val[0];
for (i = 0; i < half2.width; i++)
{
cvGetCol(src, &colMat, i);
profile2[i] = cvSum(&colMat).val[0] / sum2;
}
for (i = 0; i < half1.width - 3; i += 3)
{
int j = half2.width - i - 1;
sum1 = profile1[i] + profile1[i + 1] + profile1[i + 2];
sum2 = profile2[j] + profile2[j - 1] + profile2[j - 2];
if ( abs( (sum1 - sum2) * 100.0 ) > max_diff)
{
ret = -1;
break;
}
}
cvResetImageROI(src);
delete profile1;
delete profile2;
return ret;
}
void ImgLib::CopyRect(IplImage *src, IplImage *dst, CvRect srcRect, CvPoint dstPoint)
{
ClipRect(srcRect, src->width, src->height);
if ( (srcRect.width < 1) || (srcRect.height < 1) )
return;
CvMat mat;
IplImage *img, temp;
cvGetSubRect(src, &mat, srcRect);
img = cvGetImage(&mat, &temp);
cvSetImageROI(dst, cvRect(dstPoint.x,
dstPoint.y,
srcRect.width,
srcRect.height) );
// cvCvtColor(img, dst, CV_GRAY2BGR);
IntelligentCopy(img, dst);
cvResetImageROI(dst);
}
void ImgLib::ClipRect(CvRect& rect, int width, int height)
{
rect.x = rect.x < 0 ? 0 : rect.x;
rect.y = rect.y < 0 ? 0 : rect.y;
rect.width = rect.x + rect.width > width ? width - rect.x : rect.width;
rect.height = rect.y + rect.height > height ? height - rect.y : rect.height;
}
void ImgLib::IntelligentCopy(IplImage *src, IplImage *dst)
{
// if (!CV_ARE_SIZES_EQ(src, dst))
// return;
if (src->nChannels == dst->nChannels)
cvCopy(src, dst);
else if ( (src->nChannels == 1) && (dst->nChannels == 3) )
cvCvtColor(src, dst, CV_GRAY2BGR);
else if ( (src->nChannels == 3) && (dst->nChannels == 1) )
cvCvtColor(src, dst, CV_BGR2GRAY);
}
void ImgLib::DrawCross(IplImage *image,
const CvPoint ¢er,
const int width,
const int height,
CvScalar color,
int thickness)
{
cvLine(image, cvPoint(center.x, center.y - (height / 2)),
cvPoint(center.x, center.y + (height / 2)),
color, thickness);
cvLine(image, cvPoint(center.x - (width / 2), center.y),
cvPoint(center.x + (width / 2), center.y),
color, thickness);
} |
da106426137d5545ba8ee060b5ce82996fcff503 | 63a832f68d83254465f171bab8795418807c8d1a | /src/app/genesis/namespace.xcpp | f6a337d52d96ae69cf558c90aee34add5d1fe5f9 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | yahoo/tunitas-scarpet | 2e615a3725daaa75dd34e41ccea290d262e2cee6 | 0b05121ab0ed5679c551ea10db897e1716f9d50d | refs/heads/master | 2023-08-29T07:54:48.445490 | 2022-12-16T16:48:42 | 2022-12-16T16:48:42 | 198,708,574 | 3 | 2 | Apache-2.0 | 2023-03-21T03:36:39 | 2019-07-24T20:55:04 | C++ | UTF-8 | C++ | false | false | 627 | xcpp | namespace.xcpp | // This is -*- c++ -*- nearly C++23 with Modules TS but in the S.C.O.L.D. stylings that are so popular these days.
// Copyright Yahoo Inc. 2021.
// Licensed under the terms of the Apache-2.0 license.
// See the LICENSE file at https://github.com/yahoo/tunitas-scarpet/blob/master/LICENSE for terms.
// See the LICENSE file at https://git.tunitas.technology/all/services/scarpet/tree/LICENSE
#divert <fpp>
#import app
namespace app::genesis { }
#endiv
#divert <hpp>
namespace app::genesis {
[[deprecated("instead use cfg.NAME which is nearby or else options::Program{...}")]] inline auto const NAME = "did-genesis"s;
}
#endiv
|
8b1477d7a8afccaf6516c49f5012a7bfcc94b106 | 1b4ef75ce0e320bd8d1ee6a9ad5c9d89b4d91a7b | /account.h | 4cbc285c8aed8bae79ddf2bd71ead979277f16e0 | [] | no_license | sunghyungi/BakingSystem_QT | 9d4590bcde8501f0f868152628905e936d79d4b1 | 608f01cc7158a9015fc163c8ed85a3686ab21edc | refs/heads/master | 2020-12-20T17:59:54.712700 | 2020-01-26T07:43:16 | 2020-01-26T07:43:16 | 236,162,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | h | account.h | #ifndef ACCOUNT_H
#define ACCOUNT_H
#include <cstring>
#include <iostream>
#include "mainwindow.h"
#include <QtSql>
#include <QSqlDatabase>
#include <QMessageBox>
using namespace std;
class Account
{
private:
int accNum;
int passWord;
char cusName[20];
char cusBirth[20];
int balance;
public:
QSqlDatabase db;
Account(int num, int pass, char* name, char* birth, int money);
Account();
void CreateAcc();
QSqlQuery InquiryAcc();
void Deposit();
void Withdraw();
void Remittance(int yourNum);
~Account();
};
#endif // ACCOUNT_H
|
f1653b7b55e7853f50c9f798e506e00e2b191df7 | 06d29665d614aaafd707a643d7465ca6c13be42f | /QT_project/WeerProject/settings.cpp | 7846b64f66641dd56bc2f66e44df6ad30f94f406 | [] | no_license | TheKayneGame/AlWEER-een-project | 716c1eaacc3bb125d42933441c5916320a0e2a31 | 0e06efd6f4508c19dcfe51dc70252603783cdab5 | refs/heads/master | 2020-03-27T22:06:29.833485 | 2018-10-26T12:38:43 | 2018-10-26T12:38:43 | 147,204,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,706 | cpp | settings.cpp | #include "settings.h"
#include "ui_settings.h"
#include "Mainwindow.h"
Settings::Settings(QWidget *parent) : QDialog(parent), ui(new Ui::Settings)
{
ui->setupUi(this);
setGraphSettings(localAmount, false, false, false, false);
}
Settings::~Settings()
{
delete ui;
}
/*
* Adds some extra parameters to the query
*/
QString Settings::getQuery(QString q)
{
return q + " ORDER BY ID DESC LIMIT 10000";
}
/*
* Applies the changes to the settings
*/
void Settings::on_ApplyAllButton_clicked()
{
MainWindow *window;
window = new MainWindow();
//set the logindata tot a file
window->setLogin("Login.txt",
ui->AddressText->toPlainText(),
ui->PortText->toPlainText(),
ui->UsernameText->toPlainText(),
ui->PasswordText->toPlainText(),
ui->NameText->toPlainText(),
ui->NameText_2->toPlainText());
//read the logindata from the file
window->getLogin("Login.txt");
setLoginText(window->address, window->port, window->username, window->password, window->databaseName, window->queryText);
//read values from the inputbox
localAmount = ui->AmountValue->toPlainText().toInt();
//correct overshoot values
localAmount = setLimits(localAmount, amountLowerLimit, amountLimit);
//set the correct overshot values back in with the correct number
ui->AmountValue->setText(QString::number(localAmount));
//set public variables to the input values for usage in other functions
amount = ui->AmountValue->toPlainText().toInt();
//transfer the local booleans to the public so it can be used outside the function
publicTemp = localTemp;
publicHumid = localHumid;
publicSpeed = localSpeed;
publicBright = localBright;
this->close();
window->ErrorMessage("Message", "Settings applied, please refresh the window", nullptr, nullptr);
}
void Settings::on_CancelButton_clicked()
{
this->close();
}
/*
* sets the login values to the labels
*/
void Settings::setLoginText(QString address,
QString port,
QString username,
QString password,
QString name,
QString query)
{
ui->AddressText->setText(address);
ui->PortText->setText(port);
ui->UsernameText->setText(username);
ui->PasswordText->setText(password);
ui->NameText->setText(name);
ui->NameText_2->setText(query);
}
/*
* sets the graphsettings
*/
void Settings::setGraphSettings(int amount, bool temp, bool humid, bool speed, bool bright)
{
ui->AmountValue->setText(QString::number(amount));
ui->cbTemp->setCheckState(Qt::CheckState(temp));
ui->cbHumid->setCheckState(Qt::CheckState(humid));
ui->cbSpeed->setCheckState(Qt::CheckState(speed));
ui->cbBright->setCheckState(Qt::CheckState(bright));
}
/*
*
*/
void Settings::on_cbTemp_stateChanged(int arg1)
{
localTemp = arg1;
}
void Settings::on_cbHumid_stateChanged(int arg1)
{
localHumid = arg1;
}
void Settings::on_cbBright_stateChanged(int arg1)
{
localBright = arg1;
}
void Settings::on_cbSpeed_stateChanged(int arg1)
{
localSpeed = arg1;
}
void Settings::on_checkBox_stateChanged(int arg1)
{
isLabled = arg1;
}
/*
* limit function that checks wether or not a variable overshoots
* a upper limit and a lower limit and return that limit if it overshoots it
*/
int Settings::setLimits(int var, int min, int max)
{
if (var < min)
{
var = min;
return var;
}
else if (var > max)
{
var = max;
return var;
}
else return var;
}
|
9ec6fe42e581abe0342290fdb9468d0f2bac9fd0 | a98732dc66998ce7ef7fa88b2f4e8a08ead9bfa3 | /tablebrowser.h | cc0a1e624c32e12be684fd4d38a7c5b7cad57520 | [] | no_license | ndenzako/QEUBusiness | de5579feedd8ea54b1916d504dcc16a57c8f06d0 | 1ee330c0d63b8201fdae6084e7a9264d5995d11c | refs/heads/master | 2021-04-09T13:47:07.634143 | 2018-03-18T12:34:52 | 2018-03-18T12:34:52 | 125,721,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | h | tablebrowser.h | #ifndef TABLEBROWSER_H
#define TABLEBROWSER_H
//#include <QTabWidget>
//#include<QTableView>
#include<QDialog>
#include<QSqlDatabase>
QT_BEGIN_NAMESPACE
class QTableView;
class QFile;
class QDataStream;
class QDebug;
class QMessageBox;
class QTableView;
class QSqlDatabase;
class QSqlQueryModel;
class QSqlError;
class QHBoxLayout;
class QVBoxLayout;
class QTabWidget;
QT_END_NAMESPACE
class tableBrowser : public QDialog
{
Q_OBJECT
public:
tableBrowser(QWidget *parent = 0);
bool createConnexion(QString &);
void getTableView(const QSqlDatabase&);
void connectSlots();
void init();
private:
QTableView *tableView;
QStringList lis;
QSqlDatabase testDb;
QPushButton *okPushButton;
QHBoxLayout *okHBoxLayout;
QVBoxLayout *mainVBoxLayout;
QTabWidget *tabWidget;
};
#endif //TABLEBROWSER_H
|
3a75f5abba0df68cfa7e7719e5ba7ffbcda38540 | c01e1920c20516fcf4b68f8e22ab03b440a48974 | /src/util.hpp | 4406f016f9ccac8b2fb8f1fbf3f9f98d1e9f9448 | [] | no_license | mattpollack/slangc- | 74198b1e13c687907c1398acd4923683a9847899 | d7b5326b34a7f111fbf417aad88e8b2a32b29420 | refs/heads/master | 2021-03-27T16:11:13.546804 | 2017-10-31T15:26:59 | 2017-10-31T15:26:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | hpp | util.hpp | #ifndef _UTIL_H
#define _UTIL_H
namespace slang {
enum class option_type { SET, NIL };
template <class T>
struct option {
option_type type;
T data;
};
};
#endif
|
c12db3fa6224a1eee62849be5d33db1346879219 | 828e1216320cc2ff030c44c980cda5645627348d | /Arduino/sketch_apr26b/sketch_apr26b.ino | 7ca6794d0b7d0ecdd9686549f92e767b788fd486 | [] | no_license | TakIt/ardu | 75555662d5c627f0f3fd033024bf6552ec7135b3 | 7de6ad1a2a44cd47ec0016a26b72bd3d59d83f0a | refs/heads/master | 2020-05-16T04:59:48.403883 | 2019-05-27T15:42:55 | 2019-05-27T15:42:55 | 182,797,707 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,406 | ino | sketch_apr26b.ino | #include <Boards.h>
#include <Firmata.h>
#include <FirmataConstants.h>
#include <FirmataDefines.h>
#include <FirmataMarshaller.h>
#include <FirmataParser.h>
#define LED_BUILTIN 11
#define anlg A0
long recv_data = 0;
void setup() {
Serial.begin(9600);
pinMode(LED_BUILTIN,OUTPUT);
}
void loop() {
byte data_size = Serial.available();
int sensorValue = analogRead(A0);
sensorValue=sensorValue/4;
byte buf[data_size], degree = 1;
long recv_data = 0, dub = 1;
Serial.println("Please typer 1-10");
delay(3000);
for (byte i = 0 ; i < data_size ; i++){
buf[i] = Serial.read() - '0';
Serial.print(buf[i]);
delay(1000);
}
byte x=buf[0];
byte y=buf[1];
if(x==1&&y==0){
Serial.println("LED=10");
recv_data = 10;
goto label1;
}
recv_data=x;
if(recv_data != -1){
Serial.println(recv_data);
goto label1;
}
else
{
goto label2;
}
label1:
if(Serial.available()>0);{
switch(recv_data){
case 10:
analogWrite(LED_BUILTIN,255);
Serial.write(recv_data);
Serial.println(" LED-on FULL");
Serial.println(sensorValue);
delay(5000);
break;
case 9:
analogWrite(LED_BUILTIN,229);
Serial.print(recv_data);
Serial.println("= LED");
Serial.println(sensorValue);
delay(5000);
break;
case 8:
analogWrite(LED_BUILTIN,204);
Serial.print(recv_data);
Serial.println("= LED");
Serial.println(sensorValue);
delay(5000);
break;
case 7:
analogWrite(LED_BUILTIN,178);
Serial.print(recv_data);
Serial.println("= LED");
Serial.println(sensorValue);
delay(5000);
break;
case 6:
analogWrite(LED_BUILTIN,153);
Serial.print(recv_data);
Serial.println("= LED");
Serial.println(sensorValue);
delay(5000);
break;
case 5:
analogWrite(LED_BUILTIN,127);
Serial.print(recv_data);
Serial.println("= LED");
Serial.println(sensorValue);
delay(5000);
break;
case 4:
analogWrite(LED_BUILTIN,102);
Serial.print(recv_data);
Serial.println("= LED");
Serial.println(sensorValue);
delay(5000);
break;
case 3:
analogWrite(LED_BUILTIN,76);
Serial.print(recv_data);
Serial.println("= LED");
Serial.println(sensorValue);
delay(5000);
break;
case 2:
analogWrite(LED_BUILTIN,51);
Serial.print(recv_data);
Serial.println("= LED");
Serial.println(sensorValue);
delay(5000);
break;
case 1:
analogWrite(LED_BUILTIN,25);
Serial.print(recv_data);
Serial.println("= LED");
Serial.println(sensorValue);
delay(5000);
break;
case 0:
analogWrite(LED_BUILTIN,0);
Serial.write(recv_data);
Serial.println("= LED-OFF");
Serial.println(sensorValue);
break;
default :
Serial.println("End of routine");
break;
}
}
label2:
Serial.println("End of program");
delay(3000);
}
|
93f6fef1c7c5a876cc695520bd007ac4304c0164 | c705652e2d57354a4c42e8eef83868933f6e432d | /pages/xqsetup.cpp | d396ff2a52301e765a7602ccb383779e6fd1e7b0 | [] | no_license | xuzheyang/XQSetup | 5071f4112c54c7b2f84a5c1b85681f06309996b2 | cea6fc7f4a5b5f006e2e105cb0c5466bc0580adf | refs/heads/master | 2020-05-31T11:48:45.985017 | 2019-06-06T11:59:41 | 2019-06-06T11:59:41 | 190,267,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,146 | cpp | xqsetup.cpp | #include "xqsetup.h"
#include "ui_xqsetup.h"
#include <QStyle>
#include <QFileDialog>
#include "xqutils.hpp"
#include "xqdef.hpp"
#include "xqconf.hpp"
XQSetup::XQSetup(QWidget *parent) :
QWidget(parent),
ui(new Ui::XQSetup)
{
ui->setupUi(this);
initStyle();
}
XQSetup::~XQSetup()
{
delete ui;
}
void XQSetup::mouseDoubleClickEvent(QMouseEvent *event)
{
if (event->button() & Qt::LeftButton) {
}
}
void XQSetup::mouseMoveEvent(QMouseEvent *event)
{
if (mousePressed && (event->buttons() & Qt::LeftButton)) {
this->move(event->globalPos() - mousePoint);
event->accept();
}
}
void XQSetup::mousePressEvent(QMouseEvent *event)
{
if (event->button() == Qt::LeftButton) {
mousePressed = true;
mousePoint = event->globalPos() - this->pos();
event->accept();
}
}
void XQSetup::mouseReleaseEvent(QMouseEvent *)
{
mousePressed = false;
}
void XQSetup::initStyle()
{
ui->XQTitle->installEventFilter(this);
this->setWindowFlags(windowFlags() | Qt::FramelessWindowHint);
on_XQBtnDiyInstall_clicked(false);
ui->XQTitle->clear();
// ui->XQIcon->setPixmap(QPixmap(DEF_IMGICON).copy(0, 0, 200, 200).scaled(55, 55, Qt::KeepAspectRatio));
ui->XQBtnMin->setIcon(QIcon(QPixmap(DEF_TITLEBARBTN).copy(0, 48, 48, 48)));
ui->XQBtnClose->setIcon(QIcon(QPixmap(DEF_TITLEBARBTN).copy(144, 48, 48, 48)));
QStringList slideshow = QStringList() << DEF_INDEX;
foreach (QString var, slideshow) {
QLabel *slideshowImg = new QLabel;
slideshowImg->setPixmap(QPixmap(var).scaled(750, 240));
ui->XQSlideshow->addWidget(slideshowImg);
}
ui->XQSlideshow->setCurrentIndex(0);
}
void XQSetup::on_XQBtnMin_clicked()
{
this->showMinimized();
}
void XQSetup::on_XQBtnClose_clicked()
{
this->close();
}
void XQSetup::on_XQBtnInstall_clicked()
{
}
void XQSetup::on_XQBtnDiyInstall_clicked(bool checked)
{
if (checked) {
ui->XQMore->show();
this->setMinimumSize(900, 720);
this->setMaximumSize(900, 720);
ui->XQBtnInstall->setText(tr("开 始 安 装"));
ui->XQBtnDiyInstall->setText(tr("快速安装 <"));
} else {
ui->XQMore->hide();
this->setMinimumSize(900, 620);
this->setMaximumSize(900, 620);
ui->XQBtnInstall->setText(tr("快 速 安 装"));
ui->XQBtnDiyInstall->setText(tr("自定义安装 >"));
}
}
void XQSetup::on_XQBtnSelect_clicked()
{
QString dir = ui->XQInstallPath->text();
if (!XQUtils::GetInstance()->XQIsDir(dir)) {
dir = DEF_INSTALLPATH;
}
dir = QFileDialog::getExistingDirectory(this, tr("选择安装位置"), dir, QFileDialog::ShowDirsOnly);
if (dir.isEmpty()) {
return;
}
ui->XQInstallPath->setText(dir);
}
void XQSetup::on_XQRBLicense_clicked(bool checked)
{
ui->XQBtnInstall->setEnabled(checked);
ui->XQBtnInstall->style()->unpolish(ui->XQBtnInstall);
ui->XQBtnInstall->style()->polish(ui->XQBtnInstall);
}
|
e9546eb71e51ba79d33bffb7e62f5a153c9fddd5 | 882a20fdf88ec1598b1e0031c2f21f521fbbb3f6 | /duff2/Source/PropertyPageStatusLog.cpp | f63b3f3d99c91d25cf19f724f2e12107feb1758f | [] | no_license | presscad/duff | 39fb6db6884c0e46f7b2862842334915ec17375e | eabfd1aa440883cbd5fd172aa9c10e2b6902d068 | refs/heads/master | 2021-04-17T09:16:21.042836 | 2012-01-30T22:42:40 | 2012-01-30T22:42:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,420 | cpp | PropertyPageStatusLog.cpp | // StatusLogPropertyPage.cpp : implementation file
//
#include "stdafx.h"
#include "duff.h"
#include "PropertyPageStatusLog.h"
#include "duffdlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStatusLogPropertyPage property page
IMPLEMENT_DYNCREATE(CStatusLogPropertyPage, CResizablePage)
CStatusLogPropertyPage::CStatusLogPropertyPage() : CResizablePage(CStatusLogPropertyPage::IDD)
{
//{{AFX_DATA_INIT(CStatusLogPropertyPage)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CStatusLogPropertyPage::~CStatusLogPropertyPage()
{
}
void CStatusLogPropertyPage::DoDataExchange(CDataExchange* pDX)
{
CResizablePage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CStatusLogPropertyPage)
DDX_Control(pDX, IDC_STATUS_LOG, m_StatusLog);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CStatusLogPropertyPage, CResizablePage)
//{{AFX_MSG_MAP(CStatusLogPropertyPage)
ON_BN_CLICKED(IDC_SAVE_LOG, OnSaveLog)
ON_BN_CLICKED(IDC_CLEAR_LOG, OnClearLog)
ON_WM_SIZE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStatusLogPropertyPage message handlers
BOOL CStatusLogPropertyPage::OnInitDialog()
{
CResizablePage::OnInitDialog();
LOGFONT LogFont;
long FontHeight = 12;
if ( CWnd::GetFont()->GetLogFont(&LogFont) )
{
FontHeight = abs(LogFont.lfHeight);
// Msg.Format("Font Height: %d",FontHeight);
}
else
{
// Msg = "Unable to get font";
}
RECT rect;
m_StatusLog.GetWindowRect(&rect);
UINT StatusLogWidth = (rect.right - rect.left);
m_StatusLog.SetExtendedStyle( LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES | LVS_EX_HEADERDRAGDROP );
m_StatusLog.InsertColumn(0, StringFromResource(IDS_LOGCOLUMN_DATETIME) , LVCFMT_LEFT,(int)(FontHeight * 9) );
m_StatusLog.InsertColumn(1, StringFromResource(IDS_LOGCOLUMN_DESCRIPTION) ,LVCFMT_LEFT,(int)(StatusLogWidth * 0.80701754385964912280701754385965) );
m_DescriptionColumn = (rect.right - rect.left)-m_StatusLog.GetColumnWidth(1);
// preset resize layout
AddAnchor(IDC_STATUS_LOG_FRAME, TOP_LEFT,BOTTOM_RIGHT);
AddAnchor(IDC_STATUS_LOG, TOP_LEFT,BOTTOM_RIGHT);
AddAnchor(IDC_SAVE_LOG, BOTTOM_LEFT);
AddAnchor(IDC_CLEAR_LOG, BOTTOM_LEFT);
//
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CStatusLogPropertyPage::OnSaveLog()
{
((CDuffDlg*)GetParent()->GetParent())->SaveLog();
}
void CStatusLogPropertyPage::OnClearLog()
{
m_StatusLog.DeleteAllItems();
((CDuffDlg*)GetParent()->GetParent())->Log( StringFromResource(IDS_LOG_CLEARED) );
}
BOOL CStatusLogPropertyPage::PreTranslateMessage(MSG* pMsg)
{
bool ret;
if ( IsDialogMessage( pMsg ) )
{
if ( TranslateAccelerator ( GetSafeHwnd(),((CDuffDlg*)GetParent()->GetParent())->m_hAccel,pMsg) )
{
TranslateMessage(pMsg);
DispatchMessage(pMsg);
ret = false;
}
ret = true;
}
else
{
ret = ( CWnd::PreTranslateMessage( pMsg ) != 0);
}
return ret;
}
void CStatusLogPropertyPage::OnSize(UINT nType, int cx, int cy)
{
CResizablePage::OnSize(nType, cx, cy);
if (m_StatusLog)
{
RECT rect;
m_StatusLog.GetWindowRect(&rect);
m_StatusLog.SetColumnWidth(1,(rect.right - rect.left) - int(m_DescriptionColumn) );
}
}
|
e3da9526db80892be5e78251bebcdcf8b04aedbc | c964a9b36a3d3203ceec0f3e63a8bf680bb94ea4 | /MyAssist/nlp++/perceptron/PerceptronModelWriter.h | c3971c8f60b7ca8075cccfb538aae91150de5a55 | [] | no_license | benlm54/myassist-repo | f95bc3c5b033acd19294047b67e35e9fcfa91bd5 | fd24c3bb4eeb86b88e2d0052a6d272f3cdbc6c7f | refs/heads/master | 2021-03-12T22:22:40.330433 | 2013-01-09T23:18:56 | 2013-01-09T23:18:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,503 | h | PerceptronModelWriter.h | #ifndef PERCEPTRONMODELWRITER
#define PERCEPTRONMODELWRITER
#include "../model/AbstractModelWriter.h"
#include "../model/Context.h"
#include "../model/AbstractModel.h"
#include "../model/ComparablePredicate.h"
#include <string>
#include <vector>
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace opennlp
{
namespace perceptron
{
using opennlp::model::AbstractModel;
using opennlp::model::AbstractModelWriter;
using opennlp::model::ComparablePredicate;
using opennlp::model::Context;
using opennlp::model::IndexHashTable;
/// <summary>
/// Abstract parent class for Perceptron writers. It provides the persist method
/// which takes care of the structure of a stored document, and requires an
/// extending class to define precisely how the data should be stored.
///
/// </summary>
class PerceptronModelWriter : public AbstractModelWriter
{
protected:
//ORIGINAL LINE: protected opennlp.model.Context[] PARAMS;
//JAVA TO C++ CONVERTER WARNING: Since the array size is not known in this declaration, Java to C++ Converter has converted this array to a pointer. You will need to call 'delete[]' where appropriate:
Context *PARAMS;
//ORIGINAL LINE: protected String[] OUTCOME_LABELS;
//JAVA TO C++ CONVERTER WARNING: Since the array size is not known in this declaration, Java to C++ Converter has converted this array to a pointer. You will need to call 'delete[]' where appropriate:
std::string *OUTCOME_LABELS;
//ORIGINAL LINE: protected String[] PRED_LABELS;
//JAVA TO C++ CONVERTER WARNING: Since the array size is not known in this declaration, Java to C++ Converter has converted this array to a pointer. You will need to call 'delete[]' where appropriate:
std::string *PRED_LABELS;
public:
int numOutcomes;
PerceptronModelWriter(AbstractModel *model);
protected:
virtual ComparablePredicate *sortValues();
virtual std::vector<std::vector<ComparablePredicate*>> computeOutcomePatterns(ComparablePredicate sorted[]);
/// <summary>
/// Writes the model to disk, using the <code>writeX()</code> methods
/// provided by extending classes.
///
/// <p>If you wish to create a PerceptronModelWriter which uses a different
/// structure, it will be necessary to override the persist method in
/// addition to implementing the <code>writeX()</code> methods.
/// </summary>
public:
virtual void persist() throw(IOException);
};
}
}
#endif //#ifndef PERCEPTRONMODELWRITER
|
9dbfd061c8fef5caada105b35d5a12cd2a9b6829 | b4330417dd1590cf7ea3484c4dda20a0ecfee3b4 | /Online_judge/HDU/hdoj_1049.cpp | 42ed6f5eea6c6d7cb6e63dded5ff60d1574b667d | [] | no_license | Q10Viking/ACM_ICPC | d2b2c69e451a4e8de2fafdf346797900c61e65ee | d3d6547313a4400ed9c3eef1339a79466ffa5d97 | refs/heads/master | 2021-01-01T17:26:04.629801 | 2014-07-03T06:54:15 | 2014-07-03T06:54:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | cpp | hdoj_1049.cpp | #include<stdio.h>
int main()
{
int n,u,d;
while(scanf("%d%d%d",&n,&u,&d),n)
{
int t=(n-u)/(u-d);
if(t*(u-d)<(n-u)) t++;
t*=2;
t++;
printf("%d\n",t);
}
return 0;
} |
4f2dd03086fdec9609c7a3767a2bb54c07f7bd0a | 521a7099004abc1e4d48ce516fa4509e4ec9d4d1 | /src/kpoint.h | e58ffb86c159bd6b667567e740b299cd27e6604b | [] | no_license | DmitriiNabok/sirius | 0d92d32a572a1e79f29d27c405d09ae5f4ce7681 | ab0e342df841e58eaa2deff37f630f0b906885e2 | refs/heads/master | 2021-01-18T02:57:41.089125 | 2013-05-15T11:24:44 | 2013-05-15T11:24:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99,369 | h | kpoint.h | namespace sirius
{
/// Descriptor of the APW+lo basis function
/** APW+lo basis consists of two different sets of functions: APW functions \f$ \varphi_{{\bf G+k}} \f$ defined over
entire unit cell:
\f[
\varphi_{{\bf G+k}}({\bf r}) = \left\{ \begin{array}{ll}
\displaystyle \sum_{L} \sum_{\nu=1}^{O_{\ell}^{\alpha}} a_{L\nu}^{\alpha}({\bf G+k})u_{\ell \nu}^{\alpha}(r)
Y_{\ell m}(\hat {\bf r}) & {\bf r} \in {\rm MT} \alpha \\
\displaystyle \frac{1}{\sqrt \Omega} e^{i({\bf G+k}){\bf r}} & {\bf r} \in {\rm I} \end{array} \right.
\f]
and Bloch sums of local orbitals defined inside muffin-tin spheres only:
\f[
\begin{array}{ll} \displaystyle \varphi_{j{\bf k}}({\bf r})=\sum_{{\bf T}} e^{i{\bf kT}}
\varphi_{j}({\bf r - T}) & {\rm {\bf r} \in MT} \end{array}
\f]
Each local orbital is composed of radial and angular parts:
\f[
\varphi_{j}({\bf r}) = \phi_{\ell_j}^{\zeta_j,\alpha_j}(r) Y_{\ell_j m_j}(\hat {\bf r})
\f]
Radial part of local orbital is defined as a linear combination of radial functions (minimum two radial functions
are required) such that local orbital vanishes at the sphere boundary:
\f[
\phi_{\ell}^{\zeta, \alpha}(r) = \sum_{p}\gamma_{p}^{\zeta,\alpha} u_{\ell \nu_p}^{\alpha}(r)
\f]
Arbitrary number of local orbitals may be introduced for each angular quantum number.
Radial functions are m-th order (with zero-order being a function itself) energy derivatives of the radial
Schrödinger equation:
\f[
u_{\ell \nu}^{\alpha}(r) = \frac{\partial^{m_{\nu}}}{\partial^{m_{\nu}}E}u_{\ell}^{\alpha}(r,E)\Big|_{E=E_{\nu}}
\f]
*/
struct apwlo_basis_descriptor
{
int idxglob;
int igk;
int ig;
int ia;
int l;
int lm;
int order;
int idxrf;
};
class kpoint
{
private:
/// global set of parameters
Global& parameters_;
/// weight of k-poitn
double weight_;
/// fractional k-point coordinates
double vk_[3];
/// G+k vectors
mdarray<double, 2> gkvec_;
/// global index (in the range [0, N_G - 1]) of G-vector by the index of G+k vector in the range [0, N_Gk - 1]
std::vector<int> gvec_index_;
/// first-variational eigen values
std::vector<double> fv_eigen_values_;
/// first-variational eigen vectors
mdarray<complex16, 2> fv_eigen_vectors_;
/// second-variational eigen vectors
mdarray<complex16, 2> sv_eigen_vectors_;
/// position of the G vector (from the G+k set) inside the FFT buffer
std::vector<int> fft_index_;
/// first-variational states, distributed along the columns of the MPI grid
mdarray<complex16, 2> fv_states_col_;
/// first-variational states, distributed along the rows of the MPI grid
mdarray<complex16, 2> fv_states_row_;
/// two-component (spinor) wave functions describing the bands
mdarray<complex16, 3> spinor_wave_functions_;
/// band occupation numbers
std::vector<double> band_occupancies_;
/// band energies
std::vector<double> band_energies_;
/// phase factors \f$ e^{i ({\bf G+k}) {\bf r}_{\alpha}} \f$
mdarray<complex16, 2> gkvec_phase_factors_;
/// spherical harmonics of G+k vectors
mdarray<complex16, 2> gkvec_ylm_;
/// precomputed values for the linear equations for matching coefficients
mdarray<complex16, 4> alm_b_;
/// length of G+k vectors
std::vector<double> gkvec_len_;
/// number of G+k vectors distributed along rows of MPI grid
int num_gkvec_row_;
/// number of G+k vectors distributed along columns of MPI grid
int num_gkvec_col_;
/// short information about each APW+lo basis function
std::vector<apwlo_basis_descriptor> apwlo_basis_descriptors_;
/// row APW+lo basis descriptors
std::vector<apwlo_basis_descriptor> apwlo_basis_descriptors_row_;
/// column APW+lo basis descriptors
std::vector<apwlo_basis_descriptor> apwlo_basis_descriptors_col_;
/// list of columns (lo block) for a given atom
std::vector< std::vector<int> > icol_by_atom_;
/// list of rows (lo block) for a given atom
std::vector< std::vector<int> > irow_by_atom_;
std::vector<complex16> zil_;
std::vector<int> l_by_lm_;
std::vector< sbessel_pw<double>* > sbessel_;
/// number of APW+lo basis functions distributed along rows of MPI grid
inline int apwlo_basis_size_row()
{
return (int)apwlo_basis_descriptors_row_.size();
}
/// Number of G+k vectors along the rows of the matrix
inline int num_gkvec_row()
{
return num_gkvec_row_;
}
/// Number of local orbitals along the rows of the matrix
inline int num_lo_row()
{
return (int)apwlo_basis_descriptors_row_.size() - num_gkvec_row_;
}
/// number of APW+lo basis functions distributed along columns of MPI grid
inline int apwlo_basis_size_col()
{
return (int)apwlo_basis_descriptors_col_.size();
}
/// Number of G+k vectors along the columns of the matrix
inline int num_gkvec_col()
{
return num_gkvec_col_;
}
/// Number of local orbitals along the columns of the matrix
inline int num_lo_col()
{
return (int)apwlo_basis_descriptors_col_.size() - num_gkvec_col_;
}
/// Local fraction of G+k vectors for a given MPI rank
/** In case of distributed matrix setup row and column G+k vectors are combined. */
inline int num_gkvec_loc()
{
if ((num_gkvec_row() == num_gkvec()) && (num_gkvec_col() == num_gkvec()))
{
return num_gkvec();
}
else
{
return (num_gkvec_row() + num_gkvec_col());
}
}
/// Return the global index of the G+k vector by the local index
inline int igkglob(int igkloc)
{
if ((num_gkvec_row() == num_gkvec()) && (num_gkvec_col() == num_gkvec()))
{
return igkloc;
}
else
{
int igk = (igkloc < num_gkvec_row()) ? apwlo_basis_descriptors_row_[igkloc].igk :
apwlo_basis_descriptors_col_[igkloc - num_gkvec_row()].igk;
assert(igk >= 0);
return igk;
}
}
/// Global index of G-vector by the index of G+k vector
inline int gvec_index(int igk)
{
assert(igk >= 0 && igk < (int)gvec_index_.size());
return gvec_index_[igk];
}
/// Generate matching coefficients for APW
void generate_matching_coefficients_order1(int ia, int iat, AtomType* type, int l, int num_gkvec_loc,
double A, mdarray<complex16, 2>& alm);
/// Generate matching coefficients for LAPW
void generate_matching_coefficients_order2(int ia, int iat, AtomType* type, int l, int num_gkvec_loc,
double R, double A[2][2], mdarray<complex16, 2>& alm);
/// Generate plane-wave matching coefficents for the radial solutions
void generate_matching_coefficients(int num_gkvec_loc, int ia, mdarray<complex16, 2>& alm);
/// Apply the muffin-tin part of the first-variational Hamiltonian to the apw basis function
/** The following vector is computed:
\f[
b_{L_2 \nu_2}^{\alpha}({\bf G'}) = \sum_{L_1 \nu_1} \sum_{L_3}
a_{L_1\nu_1}^{\alpha*}({\bf G'})
\langle u_{\ell_1\nu_1}^{\alpha} | h_{L3}^{\alpha} | u_{\ell_2\nu_2}^{\alpha}
\rangle \langle Y_{L_1} | R_{L_3} | Y_{L_2} \rangle +
\frac{1}{2} \sum_{\nu_1} a_{L_2\nu_1}^{\alpha *}({\bf G'})
u_{\ell_2\nu_1}^{\alpha}(R_{\alpha})
u_{\ell_2\nu_2}^{'\alpha}(R_{\alpha})R_{\alpha}^{2}
\f]
*/
void apply_hmt_to_apw(int num_gkvec_row, int ia, mdarray<complex16, 2>& alm, mdarray<complex16, 2>& halm);
void check_alm(int num_gkvec_loc, int ia, mdarray<complex16, 2>& alm);
void set_fv_h_o_apw_lo(AtomType* type, Atom* atom, int ia, int apw_offset_col, mdarray<complex16, 2>& alm,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o);
void set_fv_h_o_it(PeriodicFunction<double>* effective_potential,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o);
void set_fv_h_o_lo_lo(mdarray<complex16, 2>& h, mdarray<complex16, 2>& o);
void set_fv_h_o_pw_lo(PeriodicFunction<double>* effective_potential, int num_ranks,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o);
/// Setup the Hamiltonian and overlap matrices in APW+lo basis
/** The Hamiltonian matrix has the following expression:
\f[
H_{\mu' \mu} = \langle \varphi_{\mu'} | \hat H | \varphi_{\mu} \rangle
\f]
\f[
H_{\mu' \mu}=\langle \varphi_{\mu' } | \hat H | \varphi_{\mu } \rangle =
\left( \begin{array}{cc}
H_{\bf G'G} & H_{{\bf G'}j} \\
H_{j'{\bf G}} & H_{j'j}
\end{array} \right)
\f]
The overlap matrix has the following expression:
\f[
O_{\mu' \mu} = \langle \varphi_{\mu'} | \varphi_{\mu} \rangle
\f]
APW-APW block:
\f[
O_{{\bf G'} {\bf G}}^{\bf k} = \sum_{\alpha} \sum_{L\nu} a_{L\nu}^{\alpha *}({\bf G'+k})
a_{L\nu}^{\alpha}({\bf G+k})
\f]
APW-lo block:
\f[
O_{{\bf G'} j}^{\bf k} = \sum_{\nu'} a_{\ell_j m_j \nu'}^{\alpha_j *}({\bf G'+k})
\langle u_{\ell_j \nu'}^{\alpha_j} | \phi_{\ell_j}^{\zeta_j \alpha_j} \rangle
\f]
lo-APW block:
\f[
O_{j' {\bf G}}^{\bf k} =
\sum_{\nu'} \langle \phi_{\ell_{j'}}^{\zeta_{j'} \alpha_{j'}} | u_{\ell_{j'} \nu'}^{\alpha_{j'}} \rangle
a_{\ell_{j'} m_{j'} \nu'}^{\alpha_{j'}}({\bf G+k})
\f]
lo-lo block:
\f[
O_{j' j}^{\bf k} = \langle \phi_{\ell_{j'}}^{\zeta_{j'} \alpha_{j'}} |
\phi_{\ell_{j}}^{\zeta_{j} \alpha_{j}} \rangle \delta_{\alpha_{j'} \alpha_j}
\delta_{\ell_{j'} \ell_j} \delta_{m_{j'} m_j}
\f]
*/
template <processing_unit_t pu, basis_t basis>
void set_fv_h_o(PeriodicFunction<double>* effective_potential, int num_ranks,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o);
void solve_fv_evp_1stage(Band* band, mdarray<complex16, 2>& h, mdarray<complex16, 2>& o);
void solve_fv_evp_2stage(mdarray<complex16, 2>& h, mdarray<complex16, 2>& o);
/// Generate first-variational states
/** 1. setup H and O \n
2. solve \$ H\psi = E\psi \$ \n
3. senerate wave-functions from eigen-vectors
\param [in] band Pointer to Band class
\param [in] effective_potential Pointer to effective potential
*/
void generate_fv_states(Band* band, PeriodicFunction<double>* effective_potential);
inline void copy_lo_blocks(const int apwlo_basis_size_row, const int num_gkvec_row,
const std::vector<apwlo_basis_descriptor>& apwlo_basis_descriptors_row,
const complex16* z, complex16* vec);
inline void copy_pw_block(const int num_gkvec, const int num_gkvec_row,
const std::vector<apwlo_basis_descriptor>& apwlo_basis_descriptors_row,
const complex16* z, complex16* vec);
void generate_spinor_wave_functions(Band* band, bool has_sv_evec);
/// Find G+k vectors within the cutoff
void generate_gkvec();
/// Initialize G+k related data
void init_gkvec();
/// Build APW+lo basis descriptors
void build_apwlo_basis_descriptors();
/// Block-cyclic distribution of relevant arrays
void distribute_block_cyclic(Band* band);
void test_fv_states(Band* band, int use_fft)
{
std::vector<complex16> v1;
std::vector<complex16> v2;
if (use_fft == 0)
{
v1.resize(num_gkvec());
v2.resize(parameters_.fft().size());
}
if (use_fft == 1)
{
v1.resize(parameters_.fft().size());
v2.resize(parameters_.fft().size());
}
double maxerr = 0;
for (int j1 = 0; j1 < band->spl_fv_states_col().local_size(); j1++)
{
if (use_fft == 0)
{
parameters_.fft().input(num_gkvec(), &fft_index_[0],
&fv_states_col_(parameters_.mt_basis_size(), j1));
parameters_.fft().transform(1);
parameters_.fft().output(&v2[0]);
for (int ir = 0; ir < parameters_.fft().size(); ir++)
v2[ir] *= parameters_.step_function(ir);
parameters_.fft().input(&v2[0]);
parameters_.fft().transform(-1);
parameters_.fft().output(num_gkvec(), &fft_index_[0], &v1[0]);
}
if (use_fft == 1)
{
parameters_.fft().input(num_gkvec(), &fft_index_[0],
&fv_states_col_(parameters_.mt_basis_size(), j1));
parameters_.fft().transform(1);
parameters_.fft().output(&v1[0]);
}
for (int j2 = 0; j2 < band->spl_fv_states_row().local_size(); j2++)
{
complex16 zsum(0.0, 0.0);
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
int offset_wf = parameters_.atom(ia)->offset_wf();
AtomType* type = parameters_.atom(ia)->type();
AtomSymmetryClass* symmetry_class = parameters_.atom(ia)->symmetry_class();
for (int l = 0; l <= parameters_.lmax_apw(); l++)
{
int ordmax = type->indexr().num_rf(l);
for (int io1 = 0; io1 < ordmax; io1++)
for (int io2 = 0; io2 < ordmax; io2++)
for (int m = -l; m <= l; m++)
zsum += conj(fv_states_col_(offset_wf +
type->indexb_by_l_m_order(l, m, io1), j1)) *
fv_states_row_(offset_wf +
type->indexb_by_l_m_order(l, m, io2), j2) *
symmetry_class->o_radial_integral(l, io1, io2);
}
}
if (use_fft == 0)
{
for (int ig = 0; ig < num_gkvec(); ig++)
zsum += conj(v1[ig]) * fv_states_row_(parameters_.mt_basis_size() + ig, j2);
}
if (use_fft == 1)
{
parameters_.fft().input(num_gkvec(), &fft_index_[0],
&fv_states_row_(parameters_.mt_basis_size(), j2));
parameters_.fft().transform(1);
parameters_.fft().output(&v2[0]);
for (int ir = 0; ir < parameters_.fft().size(); ir++)
zsum += conj(v1[ir]) * v2[ir] * parameters_.step_function(ir) / double(parameters_.fft().size());
}
if (use_fft == 2)
{
for (int ig1 = 0; ig1 < num_gkvec(); ig1++)
{
for (int ig2 = 0; ig2 < num_gkvec(); ig2++)
{
int ig3 = parameters_.index_g12(gvec_index(ig1), gvec_index(ig2));
zsum += conj(fv_states_col_(parameters_.mt_basis_size() + ig1, j1)) *
fv_states_row_(parameters_.mt_basis_size() + ig2, j2) *
parameters_.step_function_pw(ig3);
}
}
}
if (band->spl_fv_states_col()[j1] == (band->spl_fv_states_row()[j2] % parameters_.num_fv_states()))
zsum = zsum - complex16(1, 0);
maxerr = std::max(maxerr, abs(zsum));
}
}
Platform::allreduce(&maxerr, 1,
parameters_.mpi_grid().communicator(1 << band->dim_row() | 1 << band->dim_col()));
if (parameters_.mpi_grid().side(1 << 0))
printf("k-point: %f %f %f, interstitial integration : %i, maximum error : %18.10e\n",
vk_[0], vk_[1], vk_[2], use_fft, maxerr);
}
#if 0
void test_spinor_wave_functions(int use_fft)
{
std::vector<complex16> v1[2];
std::vector<complex16> v2;
if (use_fft == 0 || use_fft == 1)
v2.resize(parameters_.fft().size());
if (use_fft == 0)
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
v1[ispn].resize(num_gkvec());
if (use_fft == 1)
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
v1[ispn].resize(parameters_.fft().size());
double maxerr = 0;
for (int j1 = 0; j1 < parameters_.num_bands(); j1++)
{
if (use_fft == 0)
{
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
{
parameters_.fft().input(num_gkvec(), &fft_index_[0],
&spinor_wave_functions_(parameters_.mt_basis_size(), ispn, j1));
parameters_.fft().transform(1);
parameters_.fft().output(&v2[0]);
for (int ir = 0; ir < parameters_.fft().size(); ir++)
v2[ir] *= parameters_.step_function(ir);
parameters_.fft().input(&v2[0]);
parameters_.fft().transform(-1);
parameters_.fft().output(num_gkvec(), &fft_index_[0], &v1[ispn][0]);
}
}
if (use_fft == 1)
{
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
{
parameters_.fft().input(num_gkvec(), &fft_index_[0],
&spinor_wave_functions_(parameters_.mt_basis_size(), ispn, j1));
parameters_.fft().transform(1);
parameters_.fft().output(&v1[ispn][0]);
}
}
for (int j2 = 0; j2 < parameters_.num_bands(); j2++)
{
complex16 zsum(0.0, 0.0);
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
{
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
int offset_wf = parameters_.atom(ia)->offset_wf();
AtomType* type = parameters_.atom(ia)->type();
AtomSymmetryClass* symmetry_class = parameters_.atom(ia)->symmetry_class();
for (int l = 0; l <= parameters_.lmax_apw(); l++)
{
int ordmax = type->indexr().num_rf(l);
for (int io1 = 0; io1 < ordmax; io1++)
for (int io2 = 0; io2 < ordmax; io2++)
for (int m = -l; m <= l; m++)
zsum += conj(spinor_wave_functions_(offset_wf +
type->indexb_by_l_m_order(l, m, io1),
ispn, j1)) *
spinor_wave_functions_(offset_wf +
type->indexb_by_l_m_order(l, m, io2),
ispn, j2) *
symmetry_class->o_radial_integral(l, io1, io2);
}
}
}
if (use_fft == 0)
{
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
{
for (int ig = 0; ig < num_gkvec(); ig++)
zsum += conj(v1[ispn][ig]) * spinor_wave_functions_(parameters_.mt_basis_size() + ig, ispn, j2);
}
}
if (use_fft == 1)
{
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
{
parameters_.fft().input(num_gkvec(), &fft_index_[0],
&spinor_wave_functions_(parameters_.mt_basis_size(), ispn, j2));
parameters_.fft().transform(1);
parameters_.fft().output(&v2[0]);
for (int ir = 0; ir < parameters_.fft().size(); ir++)
zsum += conj(v1[ispn][ir]) * v2[ir] * parameters_.step_function(ir) / double(parameters_.fft().size());
}
}
if (use_fft == 2)
{
for (int ig1 = 0; ig1 < num_gkvec(); ig1++)
{
for (int ig2 = 0; ig2 < num_gkvec(); ig2++)
{
int ig3 = parameters_.index_g12(gvec_index(ig1), gvec_index(ig2));
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
zsum += conj(spinor_wave_functions_(parameters_.mt_basis_size() + ig1, ispn, j1)) *
spinor_wave_functions_(parameters_.mt_basis_size() + ig2, ispn, j2) *
parameters_.step_function_pw(ig3);
}
}
}
zsum = (j1 == j2) ? zsum - complex16(1.0, 0.0) : zsum;
maxerr = std::max(maxerr, abs(zsum));
}
}
std :: cout << "maximum error = " << maxerr << std::endl;
}
#endif
public:
/// Constructor
kpoint(Global& parameters__, double* vk__, double weight__) : parameters_(parameters__), weight_(weight__)
{
for (int x = 0; x < 3; x++) vk_[x] = vk__[x];
band_occupancies_.resize(parameters_.num_bands());
memset(&band_occupancies_[0], 0, parameters_.num_bands() * sizeof(double));
}
~kpoint()
{
if (basis_type == pwlo)
{
for (int igkloc = 0; igkloc < num_gkvec_loc(); igkloc++) delete sbessel_[igkloc];
}
}
void initialize(Band* band)
{
Timer t("sirius::kpoint::initialize");
zil_.resize(parameters_.lmax() + 1);
for (int l = 0; l <= parameters_.lmax(); l++) zil_[l] = pow(complex16(0, 1), l);
l_by_lm_.resize(Utils::lmmax_by_lmax(parameters_.lmax()));
for (int l = 0, lm = 0; l <= parameters_.lmax(); l++)
{
for (int m = -l; m <= l; m++, lm++) l_by_lm_[lm] = l;
}
generate_gkvec();
build_apwlo_basis_descriptors();
distribute_block_cyclic(band);
init_gkvec();
icol_by_atom_.resize(parameters_.num_atoms());
irow_by_atom_.resize(parameters_.num_atoms());
for (int icol = num_gkvec_col(); icol < apwlo_basis_size_col(); icol++)
{
int ia = apwlo_basis_descriptors_col_[icol].ia;
icol_by_atom_[ia].push_back(icol);
}
for (int irow = num_gkvec_row(); irow < apwlo_basis_size_row(); irow++)
{
int ia = apwlo_basis_descriptors_row_[irow].ia;
irow_by_atom_[ia].push_back(irow);
}
if (basis_type == pwlo)
{
sbessel_.resize(num_gkvec_loc());
for (int igkloc = 0; igkloc < num_gkvec_loc(); igkloc++)
{
sbessel_[igkloc] = new sbessel_pw<double>(parameters_, parameters_.lmax_pw());
sbessel_[igkloc]->interpolate(gkvec_len_[igkloc]);
}
}
}
void find_eigen_states(Band* band, PeriodicFunction<double>* effective_potential,
PeriodicFunction<double>* effective_magnetic_field[3]);
template <index_order_t index_order>
PeriodicFunction<complex16, index_order>* spinor_wave_function_component(Band* band, int lmax, int ispn, int j);
/// APW+lo basis size
/** Total number of APW+lo basis functions is equal to the number of augmented plane-waves plus
the number of local orbitals. */
inline int apwlo_basis_size()
{
return (int)apwlo_basis_descriptors_.size();
}
/// Pointer to G+k vector
inline double* gkvec(int igk)
{
assert(igk >= 0 && igk < gkvec_.size(1));
return &gkvec_(0, igk);
}
/// Total number of G+k vectors within the cutoff distance
inline int num_gkvec()
{
assert(gkvec_.size(1) == (int)gvec_index_.size());
return gkvec_.size(1);
}
/// Total number of muffin-tin and plane-wave expansion coefficients for the first-variational state
/** APW+lo basis \f$ \varphi_{\mu {\bf k}}({\bf r}) = \{ \varphi_{\bf G+k}({\bf r}),
\varphi_{j{\bf k}}({\bf r}) \} \f$ is used to expand first-variational wave-functions:
\f[
\psi_{i{\bf k}}({\bf r}) = \sum_{\mu} c_{\mu i}^{\bf k} \varphi_{\mu \bf k}({\bf r}) =
\sum_{{\bf G}}c_{{\bf G} i}^{\bf k} \varphi_{\bf G+k}({\bf r}) +
\sum_{j}c_{j i}^{\bf k}\varphi_{j{\bf k}}({\bf r})
\f]
Inside muffin-tins the expansion is converted into the following form:
\f[
\psi_{i {\bf k}}({\bf r})= \begin{array}{ll}
\displaystyle \sum_{L} \sum_{\lambda=1}^{N_{\ell}^{\alpha}}
F_{L \lambda}^{i {\bf k},\alpha}f_{\ell \lambda}^{\alpha}(r)
Y_{\ell m}(\hat {\bf r}) & {\bf r} \in MT_{\alpha} \end{array}
\f]
Thus, the total number of coefficients representing a first-variational state is equal
to the number of muffi-tin basis functions of the form \f$ f_{\ell \lambda}^{\alpha}(r)
Y_{\ell m}(\hat {\bf r}) \f$ plust the number of G+k plane waves.
*/
inline int mtgk_size() // TODO: find a better name for this
{
return (parameters_.mt_basis_size() + num_gkvec());
}
inline void get_band_occupancies(double* band_occupancies)
{
assert((int)band_occupancies_.size() == parameters_.num_bands());
memcpy(band_occupancies, &band_occupancies_[0], parameters_.num_bands() * sizeof(double));
}
inline void set_band_occupancies(double* band_occupancies)
{
band_occupancies_.resize(parameters_.num_bands());
memcpy(&band_occupancies_[0], band_occupancies, parameters_.num_bands() * sizeof(double));
}
inline void get_band_energies(double* band_energies)
{
assert((int)band_energies_.size() == parameters_.num_bands());
memcpy(band_energies, &band_energies_[0], parameters_.num_bands() * sizeof(double));
}
inline void set_band_energies(double* band_energies)
{
band_energies_.resize(parameters_.num_bands());
memcpy(&band_energies_[0], band_energies, parameters_.num_bands() * sizeof(double));
}
inline double band_occupancy(int j)
{
return band_occupancies_[j];
}
inline double band_energy(int j)
{
return band_energies_[j];
}
inline double weight()
{
return weight_;
}
inline complex16& spinor_wave_function(int idxwf, int ispn, int j)
{
return spinor_wave_functions_(idxwf, ispn, j);
}
inline int* fft_index()
{
return &fft_index_[0];
}
inline double* vk()
{
return vk_;
}
inline double vk(int x)
{
return vk_[x];
}
void save_wave_functions(int id, Band* band__)
{
if (parameters_.mpi_grid().root(1 << band__->dim_col()))
{
hdf5_tree fout("sirius.h5", false);
fout["kpoints"].create_node(id);
fout["kpoints"][id].write("coordinates", vk_, 3);
fout["kpoints"][id].write("mtgk_size", mtgk_size());
fout["kpoints"][id].create_node("spinor_wave_functions");
fout["kpoints"][id].write("band_energies", &band_energies_[0], parameters_.num_bands());
fout["kpoints"][id].write("band_occupancies", &band_occupancies_[0], parameters_.num_bands());
}
Platform::barrier(parameters_.mpi_grid().communicator(1 << band__->dim_col()));
mdarray<complex16, 2> wfj(NULL, mtgk_size(), parameters_.num_spins());
for (int j = 0; j < parameters_.num_bands(); j++)
{
int rank = band__->spl_spinor_wf_col().location(_splindex_rank_, j);
int offs = band__->spl_spinor_wf_col().location(_splindex_offs_, j);
if (parameters_.mpi_grid().coordinate(band__->dim_col()) == rank)
{
hdf5_tree fout("sirius.h5", false);
wfj.set_ptr(&spinor_wave_functions_(0, 0, offs));
fout["kpoints"][id]["spinor_wave_functions"].write(j, wfj);
}
Platform::barrier(parameters_.mpi_grid().communicator(1 << band__->dim_col()));
}
}
void load_wave_functions(int id, Band* band__)
{
hdf5_tree fin("sirius.h5", false);
int mtgk_size_in;
fin["kpoints"][id].read("mtgk_size", &mtgk_size_in);
if (mtgk_size_in != mtgk_size()) error(__FILE__, __LINE__, "wrong wave-function size");
band_energies_.resize(parameters_.num_bands());
fin["kpoints"][id].read("band_energies", &band_energies_[0], parameters_.num_bands());
band_occupancies_.resize(parameters_.num_bands());
fin["kpoints"][id].read("band_occupancies", &band_occupancies_[0], parameters_.num_bands());
spinor_wave_functions_.set_dimensions(mtgk_size(), parameters_.num_spins(),
band__->spl_spinor_wf_col().local_size());
spinor_wave_functions_.allocate();
mdarray<complex16, 2> wfj(NULL, mtgk_size(), parameters_.num_spins());
for (int jloc = 0; jloc < band__->spl_spinor_wf_col().local_size(); jloc++)
{
int j = band__->spl_spinor_wf_col(jloc);
wfj.set_ptr(&spinor_wave_functions_(0, 0, jloc));
fin["kpoints"][id]["spinor_wave_functions"].read(j, wfj);
}
}
};
void kpoint::generate_matching_coefficients_order1(int ia, int iat, AtomType* type, int l, int num_gkvec_loc,
double A, mdarray<complex16, 2>& alm)
{
if ((fabs(A) < 1.0 / sqrt(parameters_.omega())) && (verbosity_level > 0))
{
std::stringstream s;
s << "Ill defined plane wave matching problem for atom " << ia << ", l = " << l << std::endl
<< " radial function value at the MT boundary : " << A;
warning(__FILE__, __LINE__, s);
}
A = 1.0 / A;
complex16 zt;
for (int igkloc = 0; igkloc < num_gkvec_loc; igkloc++)
{
zt = gkvec_phase_factors_(igkloc, ia) * alm_b_(l, iat, igkloc, 0) * A;
int idxb = type->indexb_by_l_m_order(l, -l, 0);
for (int m = -l; m <= l; m++)
{
// =========================================================================
// it is more convenient to store conjugated coefficients because then the
// overlap matrix is set with single matrix-matrix multiplication without
// further conjugation
// =========================================================================
alm(igkloc, idxb++) = gkvec_ylm_(Utils::lm_by_l_m(l, m), igkloc) * conj(zt);
}
}
}
void kpoint::generate_matching_coefficients_order2(int ia, int iat, AtomType* type, int l, int num_gkvec_loc,
double R, double A[2][2], mdarray<complex16, 2>& alm)
{
double det = A[0][0] * A[1][1] - A[0][1] * A[1][0];
if ((fabs(det) < 1.0 / sqrt(parameters_.omega())) && (verbosity_level > 0))
{
std::stringstream s;
s << "Ill defined plane wave matching problem for atom " << ia << ", l = " << l << std::endl
<< " radial function value at the MT boundary : " << A[0][0];
warning(__FILE__, __LINE__, s);
}
std::swap(A[0][0], A[1][1]);
A[0][0] /= det;
A[1][1] /= det;
A[0][1] = -A[0][1] / det;
A[1][0] = -A[1][0] / det;
complex16 zt[2];
complex16 zb[2];
for (int igkloc = 0; igkloc < num_gkvec_loc; igkloc++)
{
double gkR = gkvec_len_[igkloc] * R; // |G+k|*R
zt[0] = gkvec_phase_factors_(igkloc, ia) * alm_b_(l, iat, igkloc, 0);
zt[1] = gkR * gkvec_phase_factors_(igkloc, ia) * alm_b_(l, iat, igkloc, 1);
zb[0] = A[0][0] * zt[0] + A[0][1] * zt[1];
zb[1] = A[1][0] * zt[0] + A[1][1] * zt[1];
for (int m = -l; m <= l; m++)
{
int idxb0 = type->indexb_by_l_m_order(l, m, 0);
int idxb1 = type->indexb_by_l_m_order(l, m, 1);
// ===========================================================================
// it is more convenient to store conjugated coefficients because then the
// overlap matrix is set with single matrix-matrix multiplication without
// further conjugation
// ===========================================================================
alm(igkloc, idxb0) = gkvec_ylm_(Utils::lm_by_l_m(l, m), igkloc) * conj(zb[0]);
alm(igkloc, idxb1) = gkvec_ylm_(Utils::lm_by_l_m(l, m), igkloc) * conj(zb[1]);
}
}
}
void kpoint::check_alm(int num_gkvec_loc, int ia, mdarray<complex16, 2>& alm)
{
static SHT sht;
static bool sht_init = false;
if (!sht_init)
{
sht.set_lmax(parameters_.lmax_apw());
sht_init = true;
}
Atom* atom = parameters_.atom(ia);
AtomType* type = parameters_.atom(ia)->type();
mdarray<complex16, 2> z1(sht.num_points(), type->mt_aw_basis_size());
for (int i = 0; i < type->mt_aw_basis_size(); i++)
{
int lm = type->indexb(i).lm;
int idxrf = type->indexb(i).idxrf;
double rf = atom->symmetry_class()->radial_function(atom->num_mt_points() - 1, idxrf);
for (int itp = 0; itp < sht.num_points(); itp++)
{
z1(itp, i) = sht.ylm_backward(lm, itp) * rf;
}
}
mdarray<complex16, 2> z2(sht.num_points(), num_gkvec_loc);
blas<cpu>::gemm(0, 2, sht.num_points(), num_gkvec_loc, type->mt_aw_basis_size(), z1.get_ptr(), z1.ld(),
alm.get_ptr(), alm.ld(), z2.get_ptr(), z2.ld());
double vc[3];
parameters_.get_coordinates<cartesian, direct>(parameters_.atom(ia)->position(), vc);
double tdiff = 0;
for (int igloc = 0; igloc < num_gkvec_loc; igloc++)
{
double gkc[3];
parameters_.get_coordinates<cartesian, reciprocal>(gkvec(igkglob(igloc)), gkc);
for (int itp = 0; itp < sht.num_points(); itp++)
{
complex16 aw_value = z2(itp, igloc);
double r[3];
for (int x = 0; x < 3; x++) r[x] = vc[x] + sht.coord(x, itp) * type->mt_radius();
complex16 pw_value = exp(complex16(0, Utils::scalar_product(r, gkc))) / sqrt(parameters_.omega());
tdiff += abs(pw_value - aw_value);
}
}
printf("atom : %i absolute alm error : %e average alm error : %e\n",
ia, tdiff, tdiff / (num_gkvec_loc * sht.num_points()));
}
void kpoint::generate_matching_coefficients(int num_gkvec_loc, int ia, mdarray<complex16, 2>& alm)
{
Timer t("sirius::kpoint::generate_matching_coefficients");
Atom* atom = parameters_.atom(ia);
AtomType* type = atom->type();
assert(type->max_aw_order() <= 2);
int iat = parameters_.atom_type_index_by_id(type->id());
double R = type->mt_radius();
#pragma omp parallel default(shared)
{
double A[2][2];
#pragma omp for
for (int l = 0; l <= parameters_.lmax_apw(); l++)
{
int num_aw = (int)type->aw_descriptor(l).size();
for (int order = 0; order < num_aw; order++)
{
for (int order1 = 0; order1 < num_aw; order1++)
{
A[order1][order] = atom->symmetry_class()->aw_surface_dm(l, order, order1);
}
}
switch (num_aw)
{
case 1:
{
generate_matching_coefficients_order1(ia, iat, type, l, num_gkvec_loc, A[0][0], alm);
break;
}
case 2:
{
generate_matching_coefficients_order2(ia, iat, type, l, num_gkvec_loc, R, A, alm);
break;
}
default:
{
error(__FILE__, __LINE__, "wrong order of augmented wave", fatal_err);
}
}
} //l
}
// check alm coefficients
if (debug_level > 1) check_alm(num_gkvec_loc, ia, alm);
}
void kpoint::apply_hmt_to_apw(int num_gkvec_row, int ia, mdarray<complex16, 2>& alm, mdarray<complex16, 2>& halm)
{
Timer t("sirius::kpoint::apply_hmt_to_apw");
Atom* atom = parameters_.atom(ia);
AtomType* type = atom->type();
#pragma omp parallel default(shared)
{
std::vector<complex16> zv(num_gkvec_row);
#pragma omp for
for (int j2 = 0; j2 < type->mt_aw_basis_size(); j2++)
{
memset(&zv[0], 0, num_gkvec_row * sizeof(complex16));
int lm2 = type->indexb(j2).lm;
int idxrf2 = type->indexb(j2).idxrf;
for (int j1 = 0; j1 < type->mt_aw_basis_size(); j1++)
{
int lm1 = type->indexb(j1).lm;
int idxrf1 = type->indexb(j1).idxrf;
complex16 zsum = parameters_.gaunt().sum_L3_complex_gaunt(lm1, lm2,
atom->h_radial_integrals(idxrf1, idxrf2));
if (abs(zsum) > 1e-14)
{
for (int ig = 0; ig < num_gkvec_row; ig++) zv[ig] += zsum * alm(ig, j1);
}
} // j1
int l2 = type->indexb(j2).l;
int order2 = type->indexb(j2).order;
for (int order1 = 0; order1 < (int)type->aw_descriptor(l2).size(); order1++)
{
double t1 = 0.5 * pow(type->mt_radius(), 2) *
atom->symmetry_class()->aw_surface_dm(l2, order1, 0) *
atom->symmetry_class()->aw_surface_dm(l2, order2, 1);
for (int ig = 0; ig < num_gkvec_row; ig++)
zv[ig] += t1 * alm(ig, type->indexb_by_lm_order(lm2, order1));
}
memcpy(&halm(0, j2), &zv[0], num_gkvec_row * sizeof(complex16));
} // j2
}
}
void kpoint::set_fv_h_o_apw_lo(AtomType* type, Atom* atom, int ia, int apw_offset_col, mdarray<complex16, 2>& alm,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o)
{
Timer t("sirius::kpoint::set_fv_h_o_apw_lo");
// apw-lo block
for (int i = 0; i < (int)icol_by_atom_[ia].size(); i++)
{
int icol = icol_by_atom_[ia][i];
int l = apwlo_basis_descriptors_col_[icol].l;
int lm = apwlo_basis_descriptors_col_[icol].lm;
int idxrf = apwlo_basis_descriptors_col_[icol].idxrf;
int order = apwlo_basis_descriptors_col_[icol].order;
for (int j1 = 0; j1 < type->mt_aw_basis_size(); j1++)
{
int lm1 = type->indexb(j1).lm;
int idxrf1 = type->indexb(j1).idxrf;
complex16 zsum = parameters_.gaunt().sum_L3_complex_gaunt(lm1, lm, atom->h_radial_integrals(idxrf, idxrf1));
if (abs(zsum) > 1e-14)
{
for (int igkloc = 0; igkloc < num_gkvec_row(); igkloc++) h(igkloc, icol) += zsum * alm(igkloc, j1);
}
}
for (int order1 = 0; order1 < (int)type->aw_descriptor(l).size(); order1++)
{
for (int igkloc = 0; igkloc < num_gkvec_row(); igkloc++)
{
o(igkloc, icol) += atom->symmetry_class()->o_radial_integral(l, order1, order) *
alm(igkloc, type->indexb_by_lm_order(lm, order1));
}
}
}
std::vector<complex16> ztmp(num_gkvec_col());
// lo-apw block
for (int i = 0; i < (int)irow_by_atom_[ia].size(); i++)
{
int irow = irow_by_atom_[ia][i];
int l = apwlo_basis_descriptors_row_[irow].l;
int lm = apwlo_basis_descriptors_row_[irow].lm;
int idxrf = apwlo_basis_descriptors_row_[irow].idxrf;
int order = apwlo_basis_descriptors_row_[irow].order;
memset(&ztmp[0], 0, num_gkvec_col() * sizeof(complex16));
for (int j1 = 0; j1 < type->mt_aw_basis_size(); j1++)
{
int lm1 = type->indexb(j1).lm;
int idxrf1 = type->indexb(j1).idxrf;
complex16 zsum = parameters_.gaunt().sum_L3_complex_gaunt(lm, lm1, atom->h_radial_integrals(idxrf, idxrf1));
if (abs(zsum) > 1e-14)
{
for (int igkloc = 0; igkloc < num_gkvec_col(); igkloc++)
ztmp[igkloc] += zsum * conj(alm(apw_offset_col + igkloc, j1));
}
}
for (int igkloc = 0; igkloc < num_gkvec_col(); igkloc++) h(irow, igkloc) += ztmp[igkloc];
for (int order1 = 0; order1 < (int)type->aw_descriptor(l).size(); order1++)
{
for (int igkloc = 0; igkloc < num_gkvec_col(); igkloc++)
{
o(irow, igkloc) += atom->symmetry_class()->o_radial_integral(l, order, order1) *
conj(alm(apw_offset_col + igkloc, type->indexb_by_lm_order(lm, order1)));
}
}
}
}
void kpoint::set_fv_h_o_it(PeriodicFunction<double>* effective_potential,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o)
{
Timer t("sirius::kpoint::set_fv_h_o_it");
#pragma omp parallel for default(shared)
for (int igkloc2 = 0; igkloc2 < num_gkvec_col(); igkloc2++) // loop over columns
{
double v2c[3];
parameters_.get_coordinates<cartesian, reciprocal>(gkvec(apwlo_basis_descriptors_col_[igkloc2].igk), v2c);
for (int igkloc1 = 0; igkloc1 < num_gkvec_row(); igkloc1++) // for each column loop over rows
{
int ig12 = parameters_.index_g12(apwlo_basis_descriptors_row_[igkloc1].ig,
apwlo_basis_descriptors_col_[igkloc2].ig);
double v1c[3];
parameters_.get_coordinates<cartesian, reciprocal>(gkvec(apwlo_basis_descriptors_row_[igkloc1].igk), v1c);
double t1 = 0.5 * Utils::scalar_product(v1c, v2c);
h(igkloc1, igkloc2) += (effective_potential->f_pw(ig12) + t1 * parameters_.step_function_pw(ig12));
o(igkloc1, igkloc2) += parameters_.step_function_pw(ig12);
}
}
}
void kpoint::set_fv_h_o_lo_lo(mdarray<complex16, 2>& h, mdarray<complex16, 2>& o)
{
Timer t("sirius::kpoint::set_fv_h_o_lo_lo");
// lo-lo block
#pragma omp parallel for default(shared)
for (int icol = num_gkvec_col(); icol < apwlo_basis_size_col(); icol++)
{
int ia = apwlo_basis_descriptors_col_[icol].ia;
int lm2 = apwlo_basis_descriptors_col_[icol].lm;
int idxrf2 = apwlo_basis_descriptors_col_[icol].idxrf;
for (int irow = num_gkvec_row(); irow < apwlo_basis_size_row(); irow++)
{
if (ia == apwlo_basis_descriptors_row_[irow].ia)
{
Atom* atom = parameters_.atom(ia);
int lm1 = apwlo_basis_descriptors_row_[irow].lm;
int idxrf1 = apwlo_basis_descriptors_row_[irow].idxrf;
h(irow, icol) += parameters_.gaunt().sum_L3_complex_gaunt(lm1, lm2,
atom->h_radial_integrals(idxrf1, idxrf2));
if (lm1 == lm2)
{
int l = apwlo_basis_descriptors_row_[irow].l;
int order1 = apwlo_basis_descriptors_row_[irow].order;
int order2 = apwlo_basis_descriptors_col_[icol].order;
o(irow, icol) += atom->symmetry_class()->o_radial_integral(l, order1, order2);
}
}
}
}
}
template<> void kpoint::set_fv_h_o<cpu, apwlo>(PeriodicFunction<double>* effective_potential, int num_ranks,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o)
{
Timer t("sirius::kpoint::set_fv_h_o");
int apw_offset_col = (num_ranks > 1) ? num_gkvec_row() : 0;
mdarray<complex16, 2> alm(NULL, num_gkvec_loc(), parameters_.max_mt_aw_basis_size());
mdarray<complex16, 2> halm(NULL, num_gkvec_row(), parameters_.max_mt_aw_basis_size());
alm.allocate();
halm.allocate();
h.zero();
o.zero();
complex16 zone(1, 0);
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
Atom* atom = parameters_.atom(ia);
AtomType* type = atom->type();
generate_matching_coefficients(num_gkvec_loc(), ia, alm);
apply_hmt_to_apw(num_gkvec_row(), ia, alm, halm);
blas<cpu>::gemm(0, 2, num_gkvec_row(), num_gkvec_col(), type->mt_aw_basis_size(), zone, &alm(0, 0), alm.ld(),
&alm(apw_offset_col, 0), alm.ld(), zone, &o(0, 0), o.ld());
// apw-apw block
blas<cpu>::gemm(0, 2, num_gkvec_row(), num_gkvec_col(), type->mt_aw_basis_size(), zone, &halm(0, 0), halm.ld(),
&alm(apw_offset_col, 0), alm.ld(), zone, &h(0, 0), h.ld());
set_fv_h_o_apw_lo(type, atom, ia, apw_offset_col, alm, h, o);
} //ia
set_fv_h_o_it(effective_potential, h, o);
set_fv_h_o_lo_lo(h, o);
alm.deallocate();
halm.deallocate();
}
void kpoint::set_fv_h_o_pw_lo(PeriodicFunction<double>* effective_potential, int num_ranks,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o)
{
Timer t("sirius::kpoint::set_fv_h_o_pw_lo");
int offset_col = (num_ranks > 1) ? num_gkvec_row() : 0;
mdarray<Spline<complex16>*, 2> svlo(parameters_.lmmax_pw(), std::max(num_lo_col(), num_lo_row()));
// first part: compute <G+k|H|lo> and <G+k|lo>
Timer t1("sirius::kpoint::set_fv_h_o_pw_lo:vlo", false);
Timer t2("sirius::kpoint::set_fv_h_o_pw_lo:ohk", false);
Timer t3("sirius::kpoint::set_fv_h_o_pw_lo:hvlo", false);
// compute V|lo>
t1.start();
for (int icol = 0; icol < num_lo_col(); icol++)
{
int ia = apwlo_basis_descriptors_col_[num_gkvec_col() + icol].ia;
int lm = apwlo_basis_descriptors_col_[num_gkvec_col() + icol].lm;
int idxrf = apwlo_basis_descriptors_col_[num_gkvec_col() + icol].idxrf;
for (int lm1 = 0; lm1 < parameters_.lmmax_pw(); lm1++)
{
svlo(lm1, icol) = new Spline<complex16>(parameters_.atom(ia)->num_mt_points(),
parameters_.atom(ia)->radial_grid());
for (int k = 0; k < parameters_.gaunt().complex_gaunt_packed_L3_size(lm1, lm); k++)
{
int lm3 = parameters_.gaunt().complex_gaunt_packed_L3(lm1, lm, k).lm3;
complex16 cg = parameters_.gaunt().complex_gaunt_packed_L3(lm1, lm, k).cg;
for (int ir = 0; ir < parameters_.atom(ia)->num_mt_points(); ir++)
{
(*svlo(lm1, icol))[ir] += (cg * effective_potential->f_rlm(lm3, ir, ia) *
parameters_.atom(ia)->symmetry_class()->radial_function(ir, idxrf));
}
}
svlo(lm1, icol)->interpolate();
}
}
t1.stop();
t2.start();
// compute overlap and kinetic energy
for (int icol = num_gkvec_col(); icol < apwlo_basis_size_col(); icol++)
{
int ia = apwlo_basis_descriptors_col_[icol].ia;
int iat = parameters_.atom_type_index_by_id(parameters_.atom(ia)->type_id());
int l = apwlo_basis_descriptors_col_[icol].l;
int lm = apwlo_basis_descriptors_col_[icol].lm;
int idxrf = apwlo_basis_descriptors_col_[icol].idxrf;
Spline<double> slo(parameters_.atom(ia)->num_mt_points(), parameters_.atom(ia)->radial_grid());
for (int ir = 0; ir < slo.num_points(); ir++)
slo[ir] = parameters_.atom(ia)->symmetry_class()->radial_function(ir, idxrf);
slo.interpolate();
#pragma omp parallel for default(shared)
for (int igkloc = 0; igkloc < num_gkvec_row(); igkloc++)
{
o(igkloc, icol) = (fourpi / sqrt(parameters_.omega())) * conj(zil_[l]) * gkvec_ylm_(lm, igkloc) *
Spline<double>::integrate(&slo, (*sbessel_[igkloc])(l, iat)) *
conj(gkvec_phase_factors_(igkloc, ia));
// kinetic part <G+k| -1/2 \nabla^2 |lo> = 1/2 |G+k|^2 <G+k|lo>
h(igkloc, icol) = 0.5 * pow(gkvec_len_[igkloc], 2) * o(igkloc, icol);
}
}
t2.stop();
t3.start();
#pragma omp parallel for default(shared)
for (int igkloc = 0; igkloc < num_gkvec_row(); igkloc++)
{
for (int icol = num_gkvec_col(); icol < apwlo_basis_size_col(); icol++)
{
int ia = apwlo_basis_descriptors_col_[icol].ia;
int iat = parameters_.atom_type_index_by_id(parameters_.atom(ia)->type_id());
//int l = apwlo_basis_descriptors_col_[icol].l;
//int lm = apwlo_basis_descriptors_col_[icol].lm;
//int idxrf = apwlo_basis_descriptors_col_[icol].idxrf;
//*// compue overlap <G+k|lo>
//*Spline<double> s(parameters_.atom(ia)->num_mt_points(), parameters_.atom(ia)->radial_grid());
//*for (int ir = 0; ir < s.num_points(); ir++)
//*{
//* s[ir] = (*sbessel_[igkloc])(ir, l, iat) *
//* parameters_.atom(ia)->symmetry_class()->radial_function(ir, idxrf);
//*}
//*s.interpolate();
//*
//*o(igkloc, icol) = (fourpi / sqrt(parameters_.omega())) * conj(zil_[l]) * gkvec_ylm_(lm, igkloc) *
//* s.integrate(2) * conj(gkvec_phase_factors_(igkloc, ia));
//*// kinetic part <G+k| -1/2 \nabla^2 |lo> = 1/2 |G+k|^2 <G+k|lo>
//*h(igkloc, icol) = 0.5 * pow(gkvec_len_[igkloc], 2) * o(igkloc, icol);
// add <G+k|V|lo>
complex16 zt1(0, 0);
for (int l1 = 0; l1 <= parameters_.lmax_pw(); l1++)
{
for (int m1 = -l1; m1 <= l1; m1++)
{
int lm1 = Utils::lm_by_l_m(l1, m1);
zt1 += Spline<complex16>::integrate(svlo(lm1, icol - num_gkvec_col()),
(*sbessel_[igkloc])(l1, iat)) *
conj(zil_[l1]) * gkvec_ylm_(lm1, igkloc);
}
}
zt1 *= ((fourpi / sqrt(parameters_.omega())) * conj(gkvec_phase_factors_(igkloc, ia)));
h(igkloc, icol) += zt1;
}
}
t3.stop();
// deallocate V|lo>
for (int icol = 0; icol < num_lo_col(); icol++)
{
for (int lm = 0; lm < parameters_.lmmax_pw(); lm++) delete svlo(lm, icol);
}
// restore the <lo|H|G+k> and <lo|G+k> bocks and exit
if (num_ranks == 1)
{
for (int igkloc = 0; igkloc < num_gkvec_col(); igkloc++)
{
for (int irow = num_gkvec_row(); irow < apwlo_basis_size_row(); irow++)
{
h(irow, igkloc) = conj(h(igkloc, irow));
o(irow, igkloc) = conj(o(igkloc, irow));
}
}
return;
}
// second part: compute <lo|H|G+k> and <lo|G+k>
// compute V|lo>
t1.start();
for (int irow = 0; irow < num_lo_row(); irow++)
{
int ia = apwlo_basis_descriptors_row_[num_gkvec_row() + irow].ia;
int lm = apwlo_basis_descriptors_row_[num_gkvec_row() + irow].lm;
int idxrf = apwlo_basis_descriptors_row_[num_gkvec_row() + irow].idxrf;
for (int lm1 = 0; lm1 < parameters_.lmmax_pw(); lm1++)
{
svlo(lm1, irow) = new Spline<complex16>(parameters_.atom(ia)->num_mt_points(),
parameters_.atom(ia)->radial_grid());
for (int k = 0; k < parameters_.gaunt().complex_gaunt_packed_L3_size(lm1, lm); k++)
{
int lm3 = parameters_.gaunt().complex_gaunt_packed_L3(lm1, lm, k).lm3;
complex16 cg = parameters_.gaunt().complex_gaunt_packed_L3(lm1, lm, k).cg;
for (int ir = 0; ir < parameters_.atom(ia)->num_mt_points(); ir++)
{
(*svlo(lm1, irow))[ir] += (cg * effective_potential->f_rlm(lm3, ir, ia) *
parameters_.atom(ia)->symmetry_class()->radial_function(ir, idxrf));
}
}
svlo(lm1, irow)->interpolate();
}
}
t1.stop();
t2.start();
for (int irow = num_gkvec_row(); irow < apwlo_basis_size_row(); irow++)
{
int ia = apwlo_basis_descriptors_row_[irow].ia;
int iat = parameters_.atom_type_index_by_id(parameters_.atom(ia)->type_id());
int l = apwlo_basis_descriptors_row_[irow].l;
int lm = apwlo_basis_descriptors_row_[irow].lm;
int idxrf = apwlo_basis_descriptors_row_[irow].idxrf;
// compue overlap <lo|G+k>
Spline<double> slo(parameters_.atom(ia)->num_mt_points(), parameters_.atom(ia)->radial_grid());
for (int ir = 0; ir < slo.num_points(); ir++)
slo[ir] = parameters_.atom(ia)->symmetry_class()->radial_function(ir, idxrf);
slo.interpolate();
#pragma omp parallel for default(shared)
for (int igkloc = 0; igkloc < num_gkvec_col(); igkloc++)
{
o(irow, igkloc) = (fourpi / sqrt(parameters_.omega())) * zil_[l] *
conj(gkvec_ylm_(lm, offset_col + igkloc)) *
Spline<double>::integrate(&slo, (*sbessel_[offset_col + igkloc])(l, iat)) *
gkvec_phase_factors_(offset_col + igkloc, ia);
// kinetic part <li| -1/2 \nabla^2 |G+k> = 1/2 |G+k|^2 <lo|G+k>
h(irow, igkloc) = 0.5 * pow(gkvec_len_[offset_col + igkloc], 2) * o(irow, igkloc);
}
}
t2.stop();
t3.start();
#pragma omp parallel for default(shared)
for (int igkloc = 0; igkloc < num_gkvec_col(); igkloc++)
{
for (int irow = num_gkvec_row(); irow < apwlo_basis_size_row(); irow++)
{
int ia = apwlo_basis_descriptors_row_[irow].ia;
int iat = parameters_.atom_type_index_by_id(parameters_.atom(ia)->type_id());
//int l = apwlo_basis_descriptors_row_[irow].l;
//int lm = apwlo_basis_descriptors_row_[irow].lm;
//int idxrf = apwlo_basis_descriptors_row_[irow].idxrf;
//*// compue overlap <lo|G+k>
//*Spline<double> s(parameters_.atom(ia)->num_mt_points(), parameters_.atom(ia)->radial_grid());
//*for (int ir = 0; ir < s.num_points(); ir++)
//* s[ir] = (*sbessel_[offset_col + igkloc])(ir, l, iat) *
//* parameters_.atom(ia)->symmetry_class()->radial_function(ir, idxrf);
//*s.interpolate();
//*
//*o(irow, igkloc) = (fourpi / sqrt(parameters_.omega())) * zil_[l] *
//* conj(gkvec_ylm_(lm, offset_col + igkloc)) * s.integrate(2) *
//* gkvec_phase_factors_(offset_col + igkloc, ia);
//*// kinetic part <li| -1/2 \nabla^2 |G+k> = 1/2 |G+k|^2 <lo|G+k>
//*h(irow, igkloc) = 0.5 * pow(gkvec_len_[offset_col + igkloc], 2) * o(irow, igkloc);
// add <lo|V|G+k>
complex16 zt1(0, 0);
for (int l1 = 0; l1 <= parameters_.lmax_pw(); l1++)
{
for (int m1 = -l1; m1 <= l1; m1++)
{
int lm1 = Utils::lm_by_l_m(l1, m1);
zt1 += conj(Spline<complex16>::integrate(svlo(lm1, irow - num_gkvec_row()),
(*sbessel_[offset_col + igkloc])(l1, iat))) *
zil_[l1] * conj(gkvec_ylm_(lm1, offset_col + igkloc));
}
}
zt1 *= ((fourpi / sqrt(parameters_.omega())) * gkvec_phase_factors_(offset_col + igkloc, ia));
h(irow, igkloc) += zt1;
}
}
t3.stop();
for (int irow = 0; irow < num_lo_row(); irow++)
{
for (int lm = 0; lm < parameters_.lmmax_pw(); lm++) delete svlo(lm, irow);
}
}
template<> void kpoint::set_fv_h_o<cpu, pwlo>(PeriodicFunction<double>* effective_potential, int num_ranks,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o)
{
Timer t("sirius::kpoint::set_fv_h_o");
h.zero();
o.zero();
#pragma omp parallel for default(shared)
for (int igkloc2 = 0; igkloc2 < num_gkvec_col(); igkloc2++) // loop over columns
{
for (int igkloc1 = 0; igkloc1 < num_gkvec_row(); igkloc1++) // for each column loop over rows
{
if (apwlo_basis_descriptors_row_[igkloc1].idxglob == apwlo_basis_descriptors_col_[igkloc2].idxglob)
{
h(igkloc1, igkloc2) = 0.5 * pow(gkvec_len_[igkloc1], 2);
o(igkloc1, igkloc2) = complex16(1, 0);
}
int ig12 = parameters_.index_g12(apwlo_basis_descriptors_row_[igkloc1].ig,
apwlo_basis_descriptors_col_[igkloc2].ig);
h(igkloc1, igkloc2) += effective_potential->f_pw(ig12);
}
}
set_fv_h_o_pw_lo(effective_potential, num_ranks, h, o);
set_fv_h_o_lo_lo(h, o);
}
#ifdef _GPU_
template<> void kpoint::set_fv_h_o<gpu, apwlo>(PeriodicFunction<double>* effective_potential, int num_ranks,
mdarray<complex16, 2>& h, mdarray<complex16, 2>& o)
{
Timer t("sirius::kpoint::set_fv_h_o");
int apw_offset_col = (num_ranks > 1) ? num_gkvec_row() : 0;
mdarray<complex16, 2> alm(NULL, num_gkvec_loc(), parameters_.max_mt_aw_basis_size());
mdarray<complex16, 2> halm(NULL, num_gkvec_row(), parameters_.max_mt_aw_basis_size());
alm.allocate();
alm.pin_memory();
alm.allocate_on_device();
halm.allocate();
halm.pin_memory();
halm.allocate_on_device();
h.allocate_on_device();
h.zero_on_device();
o.allocate_on_device();
o.zero_on_device();
complex16 zone(1, 0);
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
Atom* atom = parameters_.atom(ia);
AtomType* type = atom->type();
generate_matching_coefficients(num_gkvec_loc(), ia, alm);
apply_hmt_to_apw(num_gkvec_row(), ia, alm, halm);
alm.copy_to_device();
halm.copy_to_device();
blas<gpu>::gemm(0, 2, num_gkvec_row(), num_gkvec_col(), type->mt_aw_basis_size(), &zone,
alm.get_ptr_device(), alm.ld(), &(alm.get_ptr_device()[apw_offset_col]), alm.ld(),
&zone, o.get_ptr_device(), o.ld());
blas<gpu>::gemm(0, 2, num_gkvec_row(), num_gkvec_col(), type->mt_aw_basis_size(), &zone,
halm.get_ptr_device(), halm.ld(), &(alm.get_ptr_device()[apw_offset_col]), alm.ld(),
&zone, h.get_ptr_device(), h.ld());
set_fv_h_o_apw_lo(type, atom, ia, apw_offset_col, alm, h, o);
} //ia
cublas_get_matrix(num_gkvec_row(), num_gkvec_col(), sizeof(complex16), h.get_ptr_device(), h.ld(),
h.get_ptr(), h.ld());
cublas_get_matrix(num_gkvec_row(), num_gkvec_col(), sizeof(complex16), o.get_ptr_device(), o.ld(),
o.get_ptr(), o.ld());
set_fv_h_o_it(effective_potential, h, o);
set_fv_h_o_lo_lo(h, o);
h.deallocate_on_device();
o.deallocate_on_device();
alm.deallocate_on_device();
alm.unpin_memory();
alm.deallocate();
halm.deallocate_on_device();
halm.unpin_memory();
halm.deallocate();
}
#endif
inline void kpoint::copy_lo_blocks(const int apwlo_basis_size_row, const int num_gkvec_row,
const std::vector<apwlo_basis_descriptor>& apwlo_basis_descriptors_row,
const complex16* z, complex16* vec)
{
for (int j = num_gkvec_row; j < apwlo_basis_size_row; j++)
{
int ia = apwlo_basis_descriptors_row[j].ia;
int lm = apwlo_basis_descriptors_row[j].lm;
int order = apwlo_basis_descriptors_row[j].order;
vec[parameters_.atom(ia)->offset_wf() + parameters_.atom(ia)->type()->indexb_by_lm_order(lm, order)] = z[j];
}
}
inline void kpoint::copy_pw_block(const int num_gkvec, const int num_gkvec_row,
const std::vector<apwlo_basis_descriptor>& apwlo_basis_descriptors_row,
const complex16* z, complex16* vec)
{
memset(vec, 0, num_gkvec * sizeof(complex16));
for (int j = 0; j < num_gkvec_row; j++) vec[apwlo_basis_descriptors_row[j].igk] = z[j];
}
void kpoint::solve_fv_evp_1stage(Band* band, mdarray<complex16, 2>& h, mdarray<complex16, 2>& o)
{
Timer *t1 = new Timer("sirius::kpoint::generate_fv_states:genevp");
generalized_evp* solver = NULL;
switch (parameters_.eigen_value_solver())
{
case lapack:
{
solver = new generalized_evp_lapack(-1.0);
break;
}
case scalapack:
{
solver = new generalized_evp_scalapack(parameters_.cyclic_block_size(), band->num_ranks_row(),
band->num_ranks_col(), band->blacs_context(), -1.0);
break;
}
case elpa:
{
solver = new generalized_evp_elpa(parameters_.cyclic_block_size(), apwlo_basis_size_row(),
band->num_ranks_row(), band->rank_row(),
apwlo_basis_size_col(), band->num_ranks_col(),
band->rank_col(), band->blacs_context(),
parameters_.mpi_grid().communicator(1 << band->dim_row()),
parameters_.mpi_grid().communicator(1 << band->dim_col()),
parameters_.mpi_grid().communicator(1 << band->dim_col() |
1 << band->dim_row()));
break;
}
case magma:
{
solver = new generalized_evp_magma();
break;
}
default:
{
error(__FILE__, __LINE__, "eigen value solver is not defined", fatal_err);
}
}
solver->solve(apwlo_basis_size(), parameters_.num_fv_states(), h.get_ptr(), h.ld(), o.get_ptr(), o.ld(),
&fv_eigen_values_[0], fv_eigen_vectors_.get_ptr(), fv_eigen_vectors_.ld());
delete solver;
delete t1;
}
void kpoint::solve_fv_evp_2stage(mdarray<complex16, 2>& h, mdarray<complex16, 2>& o)
{
if (parameters_.eigen_value_solver() != lapack) error(__FILE__, __LINE__, "implemented for LAPACK only");
standard_evp_lapack s;
std::vector<double> o_eval(apwlo_basis_size());
mdarray<complex16, 2> o_tmp(apwlo_basis_size(), apwlo_basis_size());
memcpy(o_tmp.get_ptr(), o.get_ptr(), o.size() * sizeof(complex16));
mdarray<complex16, 2> o_evec(apwlo_basis_size(), apwlo_basis_size());
s.solve(apwlo_basis_size(), o_tmp.get_ptr(), o_tmp.ld(), &o_eval[0], o_evec.get_ptr(), o_evec.ld());
int num_dependent_apwlo = 0;
for (int i = 0; i < apwlo_basis_size(); i++)
{
if (fabs(o_eval[i]) < 1e-4)
{
num_dependent_apwlo++;
}
else
{
o_eval[i] = 1.0 / sqrt(o_eval[i]);
}
}
//std::cout << "num_dependent_apwlo = " << num_dependent_apwlo << std::endl;
mdarray<complex16, 2> h_tmp(apwlo_basis_size(), apwlo_basis_size());
// compute h_tmp = Z^{h.c.} * H
blas<cpu>::gemm(2, 0, apwlo_basis_size(), apwlo_basis_size(), apwlo_basis_size(), o_evec.get_ptr(),
o_evec.ld(), h.get_ptr(), h.ld(), h_tmp.get_ptr(), h_tmp.ld());
// compute \tilda H = Z^{h.c.} * H * Z = h_tmp * Z
blas<cpu>::gemm(0, 0, apwlo_basis_size(), apwlo_basis_size(), apwlo_basis_size(), h_tmp.get_ptr(),
h_tmp.ld(), o_evec.get_ptr(), o_evec.ld(), h.get_ptr(), h.ld());
int reduced_apwlo_basis_size = apwlo_basis_size() - num_dependent_apwlo;
for (int i = 0; i < reduced_apwlo_basis_size; i++)
{
for (int j = 0; j < reduced_apwlo_basis_size; j++)
{
double d = o_eval[num_dependent_apwlo + j] * o_eval[num_dependent_apwlo + i];
h(num_dependent_apwlo + j, num_dependent_apwlo + i) *= d;
}
}
std::vector<double> h_eval(reduced_apwlo_basis_size);
s.solve(reduced_apwlo_basis_size, &h(num_dependent_apwlo, num_dependent_apwlo), h.ld(), &h_eval[0],
h_tmp.get_ptr(), h_tmp.ld());
for (int i = 0; i < reduced_apwlo_basis_size; i++)
{
for (int j = 0; j < reduced_apwlo_basis_size; j++) h_tmp(j, i) *= o_eval[num_dependent_apwlo + j];
}
for (int i = 0; i < parameters_.num_fv_states(); i++) fv_eigen_values_[i] = h_eval[i];
blas<cpu>::gemm(0, 0, apwlo_basis_size(), parameters_.num_fv_states(), reduced_apwlo_basis_size,
&o_evec(0, num_dependent_apwlo), o_evec.ld(), h_tmp.get_ptr(), h_tmp.ld(),
fv_eigen_vectors_.get_ptr(), fv_eigen_vectors_.ld());
}
void kpoint::generate_fv_states(Band* band, PeriodicFunction<double>* effective_potential)
{
Timer t("sirius::kpoint::generate_fv_states");
mdarray<complex16, 2> h(NULL, apwlo_basis_size_row(), apwlo_basis_size_col());
mdarray<complex16, 2> o(NULL, apwlo_basis_size_row(), apwlo_basis_size_col());
// Magma requires special allocation
h.allocate();
o.allocate();
#ifdef _MAGMA_
if (parameters_.eigen_value_solver() == magma)
{
h.pin_memory();
o.pin_memory();
}
#endif
// setup Hamiltonian and overlap
switch (parameters_.processing_unit())
{
case cpu:
{
set_fv_h_o<cpu, basis_type>(effective_potential, band->num_ranks(), h, o);
break;
}
#ifdef _GPU_
case gpu:
{
set_fv_h_o<gpu, basis_type>(effective_potential, band->num_ranks(), h, o);
break;
}
#endif
default:
{
error(__FILE__, __LINE__, "wrong processing unit");
}
}
// TODO: move debug code to a separate function
if ((debug_level > 0) && (parameters_.eigen_value_solver() == lapack))
{
Utils::check_hermitian("h", h);
Utils::check_hermitian("o", o);
}
//sirius_io::hdf5_write_matrix("h.h5", h);
//sirius_io::hdf5_write_matrix("o.h5", o);
//Utils::write_matrix("h.txt", true, h);
//Utils::write_matrix("o.txt", true, o);
//** if (verbosity_level > 1)
//** {
//** double h_max = 0;
//** double o_max = 0;
//** int h_irow = 0;
//** int h_icol = 0;
//** int o_irow = 0;
//** int o_icol = 0;
//** std::vector<double> h_diag(apwlo_basis_size(), 0);
//** std::vector<double> o_diag(apwlo_basis_size(), 0);
//** for (int icol = 0; icol < apwlo_basis_size_col(); icol++)
//** {
//** int idxglob = apwlo_basis_descriptors_col_[icol].idxglob;
//** for (int irow = 0; irow < apwlo_basis_size_row(); irow++)
//** {
//** if (apwlo_basis_descriptors_row_[irow].idxglob == idxglob)
//** {
//** h_diag[idxglob] = abs(h(irow, icol));
//** o_diag[idxglob] = abs(o(irow, icol));
//** }
//** if (abs(h(irow, icol)) > h_max)
//** {
//** h_max = abs(h(irow, icol));
//** h_irow = irow;
//** h_icol = icol;
//** }
//** if (abs(o(irow, icol)) > o_max)
//** {
//** o_max = abs(o(irow, icol));
//** o_irow = irow;
//** o_icol = icol;
//** }
//** }
//** }
//** Platform::allreduce(&h_diag[0], apwlo_basis_size(),
//** parameters_.mpi_grid().communicator(1 << band->dim_row() | 1 << band->dim_col()));
//**
//** Platform::allreduce(&o_diag[0], apwlo_basis_size(),
//** parameters_.mpi_grid().communicator(1 << band->dim_row() | 1 << band->dim_col()));
//**
//** if (parameters_.mpi_grid().root(1 << band->dim_row() | 1 << band->dim_col()))
//** {
//** std::stringstream s;
//** s << "h_diag : ";
//** for (int i = 0; i < apwlo_basis_size(); i++) s << h_diag[i] << " ";
//** s << std::endl;
//** s << "o_diag : ";
//** for (int i = 0; i < apwlo_basis_size(); i++) s << o_diag[i] << " ";
//** warning(__FILE__, __LINE__, s, 0);
//** }
//** std::stringstream s;
//** s << "h_max " << h_max << " irow, icol : " << h_irow << " " << h_icol << std::endl;
//** s << " (row) igk, ig, ia, l, lm, irdrf, order : " << apwlo_basis_descriptors_row_[h_irow].igk << " "
//** << apwlo_basis_descriptors_row_[h_irow].ig << " "
//** << apwlo_basis_descriptors_row_[h_irow].ia << " "
//** << apwlo_basis_descriptors_row_[h_irow].l << " "
//** << apwlo_basis_descriptors_row_[h_irow].lm << " "
//** << apwlo_basis_descriptors_row_[h_irow].idxrf << " "
//** << apwlo_basis_descriptors_row_[h_irow].order
//** << std::endl;
//** s << " (col) igk, ig, ia, l, lm, irdrf, order : " << apwlo_basis_descriptors_col_[h_icol].igk << " "
//** << apwlo_basis_descriptors_col_[h_icol].ig << " "
//** << apwlo_basis_descriptors_col_[h_icol].ia << " "
//** << apwlo_basis_descriptors_col_[h_icol].l << " "
//** << apwlo_basis_descriptors_col_[h_icol].lm << " "
//** << apwlo_basis_descriptors_col_[h_icol].idxrf << " "
//** << apwlo_basis_descriptors_col_[h_icol].order
//** << std::endl;
//** s << "o_max " << o_max << " irow, icol : " << o_irow << " " << o_icol << std::endl;
//** s << " (row) igk, ig, ia, l, lm, irdrf, order : " << apwlo_basis_descriptors_row_[o_irow].igk << " "
//** << apwlo_basis_descriptors_row_[o_irow].ig << " "
//** << apwlo_basis_descriptors_row_[o_irow].ia << " "
//** << apwlo_basis_descriptors_row_[o_irow].l << " "
//** << apwlo_basis_descriptors_row_[o_irow].lm << " "
//** << apwlo_basis_descriptors_row_[o_irow].idxrf << " "
//** << apwlo_basis_descriptors_row_[o_irow].order
//** << std::endl;
//** s << " (col) igk, ig, ia, l, lm, irdrf, order : " << apwlo_basis_descriptors_col_[o_icol].igk << " "
//** << apwlo_basis_descriptors_col_[o_icol].ig << " "
//** << apwlo_basis_descriptors_col_[o_icol].ia << " "
//** << apwlo_basis_descriptors_col_[o_icol].l << " "
//** << apwlo_basis_descriptors_col_[o_icol].lm << " "
//** << apwlo_basis_descriptors_col_[o_icol].idxrf << " "
//** << apwlo_basis_descriptors_col_[o_icol].order
//** << std::endl;
//** warning(__FILE__, __LINE__, s, 0);
//** }
assert(apwlo_basis_size() > parameters_.num_fv_states());
fv_eigen_values_.resize(parameters_.num_fv_states());
fv_eigen_vectors_.set_dimensions(apwlo_basis_size_row(), band->spl_fv_states_col().local_size());
fv_eigen_vectors_.allocate();
// debug scalapack
//** std::vector<double> fv_eigen_values_glob(parameters_.num_fv_states());
//** if ((debug_level > 2) &&
//** (parameters_.eigen_value_solver() == scalapack || parameters_.eigen_value_solver() == elpa))
//** {
//** mdarray<complex16, 2> h_glob(apwlo_basis_size(), apwlo_basis_size());
//** mdarray<complex16, 2> o_glob(apwlo_basis_size(), apwlo_basis_size());
//** mdarray<complex16, 2> fv_eigen_vectors_glob(apwlo_basis_size(), parameters_.num_fv_states());
//** h_glob.zero();
//** o_glob.zero();
//** for (int icol = 0; icol < apwlo_basis_size_col(); icol++)
//** {
//** int j = apwlo_basis_descriptors_col_[icol].idxglob;
//** for (int irow = 0; irow < apwlo_basis_size_row(); irow++)
//** {
//** int i = apwlo_basis_descriptors_row_[irow].idxglob;
//** h_glob(i, j) = h(irow, icol);
//** o_glob(i, j) = o(irow, icol);
//** }
//** }
//**
//** Platform::allreduce(h_glob.get_ptr(), (int)h_glob.size(),
//** parameters_.mpi_grid().communicator(1 << band->dim_row() | 1 << band->dim_col()));
//**
//** Platform::allreduce(o_glob.get_ptr(), (int)o_glob.size(),
//** parameters_.mpi_grid().communicator(1 << band->dim_row() | 1 << band->dim_col()));
//** Utils::check_hermitian("h_glob", h_glob);
//** Utils::check_hermitian("o_glob", o_glob);
//**
//** generalized_evp_lapack lapack_solver(-1.0);
//** lapack_solver.solve(apwlo_basis_size(), parameters_.num_fv_states(), h_glob.get_ptr(), h_glob.ld(),
//** o_glob.get_ptr(), o_glob.ld(), &fv_eigen_values_glob[0], fv_eigen_vectors_glob.get_ptr(),
//** fv_eigen_vectors_glob.ld());
//** }
if (fix_apwlo_linear_dependence)
{
solve_fv_evp_2stage(h, o);
}
else
{
solve_fv_evp_1stage(band, h, o);
}
#ifdef _MAGMA_
if (parameters_.eigen_value_solver() == magma)
{
h.unpin_memory();
o.unpin_memory();
}
#endif
h.deallocate();
o.deallocate();
//** if ((debug_level > 2) && (parameters_.eigen_value_solver() == scalapack))
//** {
//** double d = 0.0;
//** for (int i = 0; i < parameters_.num_fv_states(); i++)
//** d += fabs(fv_eigen_values_[i] - fv_eigen_values_glob[i]);
//** std::stringstream s;
//** s << "Totoal eigen-value difference : " << d;
//** warning(__FILE__, __LINE__, s, 0);
//** }
// generate first-variational wave-functions
fv_states_col_.set_dimensions(mtgk_size(), band->spl_fv_states_col().local_size());
fv_states_col_.allocate();
fv_states_col_.zero();
mdarray<complex16, 2> alm(num_gkvec_row(), parameters_.max_mt_aw_basis_size());
Timer *t2 = new Timer("sirius::kpoint::generate_fv_states:wf");
if (basis_type == apwlo)
{
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
Atom* atom = parameters_.atom(ia);
AtomType* type = atom->type();
generate_matching_coefficients(num_gkvec_row(), ia, alm);
blas<cpu>::gemm(2, 0, type->mt_aw_basis_size(), band->spl_fv_states_col().local_size(),
num_gkvec_row(), &alm(0, 0), alm.ld(), &fv_eigen_vectors_(0, 0),
fv_eigen_vectors_.ld(), &fv_states_col_(atom->offset_wf(), 0),
fv_states_col_.ld());
}
}
for (int j = 0; j < band->spl_fv_states_col().local_size(); j++)
{
copy_lo_blocks(apwlo_basis_size_row(), num_gkvec_row(), apwlo_basis_descriptors_row_,
&fv_eigen_vectors_(0, j), &fv_states_col_(0, j));
copy_pw_block(num_gkvec(), num_gkvec_row(), apwlo_basis_descriptors_row_,
&fv_eigen_vectors_(0, j), &fv_states_col_(parameters_.mt_basis_size(), j));
}
for (int j = 0; j < band->spl_fv_states_col().local_size(); j++)
{
Platform::allreduce(&fv_states_col_(0, j), mtgk_size(),
parameters_.mpi_grid().communicator(1 << band->dim_row()));
}
delete t2;
fv_eigen_vectors_.deallocate();
}
void kpoint::generate_spinor_wave_functions(Band* band, bool has_sv_evec)
{
Timer t("sirius::kpoint::generate_spinor_wave_functions");
spinor_wave_functions_.set_dimensions(mtgk_size(), parameters_.num_spins(),
band->spl_spinor_wf_col().local_size());
if (has_sv_evec)
{
spinor_wave_functions_.allocate();
spinor_wave_functions_.zero();
if (parameters_.num_mag_dims() != 3)
{
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
{
blas<cpu>::gemm(0, 0, mtgk_size(), band->spl_fv_states_col().local_size(),
band->spl_fv_states_row().local_size(),
&fv_states_row_(0, 0), fv_states_row_.ld(),
&sv_eigen_vectors_(0, ispn * band->spl_fv_states_col().local_size()),
sv_eigen_vectors_.ld(),
&spinor_wave_functions_(0, ispn, ispn * band->spl_fv_states_col().local_size()),
spinor_wave_functions_.ld() * parameters_.num_spins());
}
}
else
{
for (int ispn = 0; ispn < parameters_.num_spins(); ispn++)
{
blas<cpu>::gemm(0, 0, mtgk_size(), band->spl_spinor_wf_col().local_size(),
band->num_fv_states_row(ispn),
&fv_states_row_(0, band->offs_fv_states_row(ispn)), fv_states_row_.ld(),
&sv_eigen_vectors_(ispn * band->num_fv_states_row_up(), 0),
sv_eigen_vectors_.ld(),
&spinor_wave_functions_(0, ispn, 0),
spinor_wave_functions_.ld() * parameters_.num_spins());
}
}
for (int i = 0; i < band->spl_spinor_wf_col().local_size(); i++)
{
Platform::allreduce(&spinor_wave_functions_(0, 0, i),
spinor_wave_functions_.size(0) * spinor_wave_functions_.size(1),
parameters_.mpi_grid().communicator(1 << band->dim_row()));
}
}
else
{
spinor_wave_functions_.set_ptr(fv_states_col_.get_ptr());
memcpy(&band_energies_[0], &fv_eigen_values_[0], parameters_.num_bands() * sizeof(double));
}
}
void kpoint::generate_gkvec()
{
double gk_cutoff = parameters_.aw_cutoff() / parameters_.min_mt_radius();
if ((gk_cutoff * parameters_.max_mt_radius() > double(parameters_.lmax_apw())) && basis_type == apwlo)
{
std::stringstream s;
s << "G+k cutoff (" << gk_cutoff << ") is too large for a given lmax ("
<< parameters_.lmax_apw() << ")" << std::endl
<< "minimum value for lmax : " << int(gk_cutoff * parameters_.max_mt_radius()) + 1;
error(__FILE__, __LINE__, s);
}
if (gk_cutoff * 2 > parameters_.pw_cutoff())
error(__FILE__, __LINE__, "aw cutoff is too large for a given plane-wave cutoff");
std::vector< std::pair<double, int> > gkmap;
// find G-vectors for which |G+k| < cutoff
for (int ig = 0; ig < parameters_.num_gvec(); ig++)
{
double vgk[3];
for (int x = 0; x < 3; x++) vgk[x] = parameters_.gvec(ig)[x] + vk_[x];
double v[3];
parameters_.get_coordinates<cartesian, reciprocal>(vgk, v);
double gklen = Utils::vector_length(v);
if (gklen <= gk_cutoff) gkmap.push_back(std::pair<double, int>(gklen, ig));
}
std::sort(gkmap.begin(), gkmap.end());
gkvec_.set_dimensions(3, (int)gkmap.size());
gkvec_.allocate();
gvec_index_.resize(gkmap.size());
for (int ig = 0; ig < (int)gkmap.size(); ig++)
{
gvec_index_[ig] = gkmap[ig].second;
for (int x = 0; x < 3; x++) gkvec_(x, ig) = parameters_.gvec(gkmap[ig].second)[x] + vk_[x];
}
fft_index_.resize(num_gkvec());
for (int ig = 0; ig < num_gkvec(); ig++) fft_index_[ig] = parameters_.fft_index(gvec_index_[ig]);
}
void kpoint::init_gkvec()
{
gkvec_phase_factors_.set_dimensions(num_gkvec_loc(), parameters_.num_atoms());
gkvec_phase_factors_.allocate();
int lmax = std::max(parameters_.lmax_apw(), parameters_.lmax_pw());
gkvec_ylm_.set_dimensions(Utils::lmmax_by_lmax(lmax), num_gkvec_loc());
gkvec_ylm_.allocate();
#pragma omp parallel for default(shared)
for (int igkloc = 0; igkloc < num_gkvec_loc(); igkloc++)
{
int igk = igkglob(igkloc);
double v[3];
double vs[3];
parameters_.get_coordinates<cartesian, reciprocal>(gkvec(igk), v);
SHT::spherical_coordinates(v, vs); // vs = {r, theta, phi}
SHT::spherical_harmonics(lmax, vs[1], vs[2], &gkvec_ylm_(0, igkloc));
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
double phase = twopi * Utils::scalar_product(gkvec(igk), parameters_.atom(ia)->position());
gkvec_phase_factors_(igkloc, ia) = exp(complex16(0.0, phase));
}
}
gkvec_len_.resize(num_gkvec_loc());
for (int igkloc = 0; igkloc < num_gkvec_loc(); igkloc++)
{
int igk = igkglob(igkloc);
double v[3];
parameters_.get_coordinates<cartesian, reciprocal>(gkvec(igk), v);
gkvec_len_[igkloc] = Utils::vector_length(v);
}
if (basis_type == apwlo)
{
alm_b_.set_dimensions(parameters_.lmax_apw() + 1, parameters_.num_atom_types(), num_gkvec_loc(), 2);
alm_b_.allocate();
alm_b_.zero();
// compute values of spherical Bessel functions and first derivative at MT boundary
mdarray<double, 2> sbessel_mt(parameters_.lmax_apw() + 2, 2);
sbessel_mt.zero();
for (int igkloc = 0; igkloc < num_gkvec_loc(); igkloc++)
{
for (int iat = 0; iat < parameters_.num_atom_types(); iat++)
{
double R = parameters_.atom_type(iat)->mt_radius();
double gkR = gkvec_len_[igkloc] * R;
gsl_sf_bessel_jl_array(parameters_.lmax_apw() + 1, gkR, &sbessel_mt(0, 0));
// Bessel function derivative: f_{{n}}^{{\prime}}(z)=-f_{{n+1}}(z)+(n/z)f_{{n}}(z)
for (int l = 0; l <= parameters_.lmax_apw(); l++)
sbessel_mt(l, 1) = -sbessel_mt(l + 1, 0) * gkvec_len_[igkloc] + (l / R) * sbessel_mt(l, 0);
for (int l = 0; l <= parameters_.lmax_apw(); l++)
{
double f = fourpi / sqrt(parameters_.omega());
alm_b_(l, iat, igkloc, 0) = zil_[l] * f * sbessel_mt(l, 0);
alm_b_(l, iat, igkloc, 1) = zil_[l] * f * sbessel_mt(l, 1);
}
}
}
}
}
void kpoint::build_apwlo_basis_descriptors()
{
apwlo_basis_descriptor apwlobd;
// G+k basis functions
for (int igk = 0; igk < num_gkvec(); igk++)
{
apwlobd.igk = igk;
apwlobd.ig = gvec_index(igk);
apwlobd.ia = -1;
apwlobd.lm = -1;
apwlobd.l = -1;
apwlobd.order = -1;
apwlobd.idxrf = -1;
apwlobd.idxglob = (int)apwlo_basis_descriptors_.size();
apwlo_basis_descriptors_.push_back(apwlobd);
}
// local orbital basis functions
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
Atom* atom = parameters_.atom(ia);
AtomType* type = atom->type();
int lo_index_offset = type->mt_aw_basis_size();
for (int j = 0; j < type->mt_lo_basis_size(); j++)
{
int l = type->indexb(lo_index_offset + j).l;
int lm = type->indexb(lo_index_offset + j).lm;
int order = type->indexb(lo_index_offset + j).order;
int idxrf = type->indexb(lo_index_offset + j).idxrf;
apwlobd.igk = -1;
apwlobd.ig = -1;
apwlobd.ia = ia;
apwlobd.lm = lm;
apwlobd.l = l;
apwlobd.order = order;
apwlobd.idxrf = idxrf;
apwlobd.idxglob = (int)apwlo_basis_descriptors_.size();
apwlo_basis_descriptors_.push_back(apwlobd);
}
}
// ckeck if we count basis functions correctly
if ((int)apwlo_basis_descriptors_.size() != (num_gkvec() + parameters_.mt_lo_basis_size()))
error(__FILE__, __LINE__, "APW+lo basis descriptors array has a wrong size");
}
/// Block-cyclic distribution of relevant arrays
void kpoint::distribute_block_cyclic(Band* band)
{
// distribute APW+lo basis between rows
splindex<block_cyclic> spl_row(apwlo_basis_size(), band->num_ranks_row(), band->rank_row(),
parameters_.cyclic_block_size());
apwlo_basis_descriptors_row_.resize(spl_row.local_size());
for (int i = 0; i < spl_row.local_size(); i++)
apwlo_basis_descriptors_row_[i] = apwlo_basis_descriptors_[spl_row[i]];
// distribute APW+lo basis between columns
splindex<block_cyclic> spl_col(apwlo_basis_size(), band->num_ranks_col(), band->rank_col(),
parameters_.cyclic_block_size());
apwlo_basis_descriptors_col_.resize(spl_col.local_size());
for (int i = 0; i < spl_col.local_size(); i++)
apwlo_basis_descriptors_col_[i] = apwlo_basis_descriptors_[spl_col[i]];
#if defined(_SCALAPACK) || defined(_ELPA_)
if (parameters_.eigen_value_solver() == scalapack || parameters_.eigen_value_solver() == elpa)
{
int nr = linalg<scalapack>::numroc(apwlo_basis_size(), parameters_.cyclic_block_size(),
band->rank_row(), 0, band->num_ranks_row());
if (nr != apwlo_basis_size_row())
error(__FILE__, __LINE__, "numroc returned a different local row size");
int nc = linalg<scalapack>::numroc(apwlo_basis_size(), parameters_.cyclic_block_size(),
band->rank_col(), 0, band->num_ranks_col());
if (nc != apwlo_basis_size_col())
error(__FILE__, __LINE__, "numroc returned a different local column size");
}
#endif
// get the number of row- and column- G+k-vectors
num_gkvec_row_ = 0;
for (int i = 0; i < apwlo_basis_size_row(); i++)
if (apwlo_basis_descriptors_row_[i].igk != -1) num_gkvec_row_++;
num_gkvec_col_ = 0;
for (int i = 0; i < apwlo_basis_size_col(); i++)
if (apwlo_basis_descriptors_col_[i].igk != -1) num_gkvec_col_++;
}
void kpoint::find_eigen_states(Band* band, PeriodicFunction<double>* effective_potential,
PeriodicFunction<double>* effective_magnetic_field[3])
{
assert(band != NULL);
Timer t("sirius::kpoint::find_eigen_states");
if (band->num_ranks() > 1 &&
(parameters_.eigen_value_solver() == lapack || parameters_.eigen_value_solver() == magma))
{
error(__FILE__, __LINE__, "Can't use more than one MPI rank for LAPACK or MAGMA eigen-value solver");
}
generate_fv_states(band, effective_potential);
// distribute fv states along rows of the MPI grid
if (band->num_ranks() == 1)
{
fv_states_row_.set_dimensions(mtgk_size(), parameters_.num_fv_states());
fv_states_row_.set_ptr(fv_states_col_.get_ptr());
}
else
{
fv_states_row_.set_dimensions(mtgk_size(), band->spl_fv_states_row().local_size());
fv_states_row_.allocate();
fv_states_row_.zero();
for (int i = 0; i < band->spl_fv_states_row().local_size(); i++)
{
int ist = (band->spl_fv_states_row()[i] % parameters_.num_fv_states());
int offset_col = band->spl_fv_states_col().location(0, ist);
int rank_col = band->spl_fv_states_col().location(1, ist);
if (rank_col == band->rank_col())
memcpy(&fv_states_row_(0, i), &fv_states_col_(0, offset_col), mtgk_size() * sizeof(complex16));
Platform::allreduce(&fv_states_row_(0, i), mtgk_size(),
parameters_.mpi_grid().communicator(1 << band->dim_col()));
}
}
if (debug_level > 1) test_fv_states(band, 0);
sv_eigen_vectors_.set_dimensions(band->spl_fv_states_row().local_size(),
band->spl_spinor_wf_col().local_size());
sv_eigen_vectors_.allocate();
band_energies_.resize(parameters_.num_bands());
if (parameters_.num_spins() == 2) // or some other conditions which require second variation
{
band->solve_sv(parameters_, mtgk_size(), num_gkvec(), fft_index(), &fv_eigen_values_[0],
fv_states_row_, fv_states_col_, effective_magnetic_field, &band_energies_[0],
sv_eigen_vectors_);
generate_spinor_wave_functions(band, true);
}
else
{
generate_spinor_wave_functions(band, false);
}
/*for (int i = 0; i < 3; i++)
test_spinor_wave_functions(i); */
}
template<index_order_t index_order>
PeriodicFunction<complex16, index_order>* kpoint::spinor_wave_function_component(Band* band, int lmax, int ispn, int jloc)
{
Timer t("sirius::kpoint::spinor_wave_function_component");
int lmmax = Utils::lmmax_by_lmax(lmax);
PeriodicFunction<complex16, index_order>* func =
new PeriodicFunction<complex16, index_order>(parameters_, lmax);
func->allocate(ylm_component | it_component);
func->zero();
if (basis_type == pwlo)
{
if (index_order != radial_angular) error(__FILE__, __LINE__, "wrong order of indices");
double fourpi_omega = fourpi / sqrt(parameters_.omega());
for (int igkloc = 0; igkloc < num_gkvec_row(); igkloc++)
{
int igk = igkglob(igkloc);
complex16 z1 = spinor_wave_functions_(parameters_.mt_basis_size() + igk, ispn, jloc) * fourpi_omega;
// TODO: possilbe optimization with zgemm
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
int iat = parameters_.atom_type_index_by_id(parameters_.atom(ia)->type_id());
complex16 z2 = z1 * gkvec_phase_factors_(igkloc, ia);
#pragma omp parallel for default(shared)
for (int lm = 0; lm < lmmax; lm++)
{
int l = l_by_lm_[lm];
complex16 z3 = z2 * zil_[l] * conj(gkvec_ylm_(lm, igkloc));
for (int ir = 0; ir < parameters_.atom(ia)->num_mt_points(); ir++)
func->f_ylm(ir, lm, ia) += z3 * (*sbessel_[igkloc])(ir, l, iat);
}
}
}
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
Platform::allreduce(&func->f_ylm(0, 0, ia), lmmax * parameters_.max_num_mt_points(),
parameters_.mpi_grid().communicator(1 << band->dim_row()));
}
}
for (int ia = 0; ia < parameters_.num_atoms(); ia++)
{
for (int i = 0; i < parameters_.atom(ia)->type()->mt_basis_size(); i++)
{
int lm = parameters_.atom(ia)->type()->indexb(i).lm;
int idxrf = parameters_.atom(ia)->type()->indexb(i).idxrf;
switch (index_order)
{
case angular_radial:
{
for (int ir = 0; ir < parameters_.atom(ia)->num_mt_points(); ir++)
{
func->f_ylm(lm, ir, ia) +=
spinor_wave_functions_(parameters_.atom(ia)->offset_wf() + i, ispn, jloc) *
parameters_.atom(ia)->symmetry_class()->radial_function(ir, idxrf);
}
break;
}
case radial_angular:
{
for (int ir = 0; ir < parameters_.atom(ia)->num_mt_points(); ir++)
{
func->f_ylm(ir, lm, ia) +=
spinor_wave_functions_(parameters_.atom(ia)->offset_wf() + i, ispn, jloc) *
parameters_.atom(ia)->symmetry_class()->radial_function(ir, idxrf);
}
break;
}
}
}
}
// in principle, wave function must have an overall e^{ikr} phase factor
parameters_.fft().input(num_gkvec(), &fft_index_[0],
&spinor_wave_functions_(parameters_.mt_basis_size(), ispn, jloc));
parameters_.fft().transform(1);
parameters_.fft().output(func->f_it());
for (int i = 0; i < parameters_.fft().size(); i++) func->f_it(i) /= sqrt(parameters_.omega());
return func;
}
};
|
2b5fe52411942611e2ce3e5888d921288f32a33b | bfd7dedeca1bad71edf6327ebc1e2021bac444f1 | /Game.cpp | 6f6d6806e243bafc18eef1d38c0c9844fdb307aa | [] | no_license | pritzza/SFML-Platformer | 96c401aa66b4900d3858d9ffc0ab86df12b3aaf5 | 883684447a925ab3710cef9a7bc9d2ffc9866eb2 | refs/heads/master | 2022-12-12T04:50:03.724948 | 2020-09-07T05:04:39 | 2020-09-07T05:04:39 | 288,862,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,146 | cpp | Game.cpp | #include "Game.h"
#include "Constants.h"
#include "MenuState.h"
#include <iostream>
Game::Game()
{
window.create(sf::VideoMode(WINDOW_WIDTH, WINDOW_HEIGHT), "Window", sf::Style::Default);
window.setFramerateLimit(60);
// Puts first gamestate into play
std::cout << &gameData.assets;
gameData.stateMachine.addState(new MenuState(&gameData, &window), false);
gameLoop();
}
void Game::gameLoop()
{
sf::Clock clock;
while (window.isOpen())
{
sf::Time elapsed = clock.restart();
float dt = elapsed.asMilliseconds();
gameData.stateMachine.processStateChange();
//std::cout << "Currently: " << gameData.stateMachine.states.size() << " gameStates" << std::endl;
if (gameData.stateMachine.currentState() == nullptr)
{
std::cout << "current state was nullptr" << std::endl;
continue;
}
gameData.stateMachine.currentState()->handleInput();
gameData.stateMachine.currentState()->update();
window.clear(sf::Color::Black);
gameData.stateMachine.currentState()->draw();
window.display();
//std::cout << std::endl;
}
} |
4bbacc18a3dd506b4d53bafae15c0522ba482b43 | 6f0770bd10baea1d8deb4b9b9411748629d08894 | /src/pPointAssignML/PointAssign.cpp | c3445892f364fe7eebe3524a62c8ca6bc1705900 | [] | no_license | argupta98/moos-ivp-internship | 661933270340e314bcc5aac69981a0cce33afb3f | 05f2d241e75dd7ec6f1409bd0337264cc064ab6b | refs/heads/master | 2021-01-23T08:44:54.631989 | 2017-09-06T20:40:54 | 2017-09-06T20:40:54 | 102,546,484 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,316 | cpp | PointAssign.cpp | /************************************************************/
/* NAME: Arjun Gupta */
/* ORGN: MIT */
/* FILE: PointAssign.cpp */
/* DATE: */
/************************************************************/
#include <iterator>
#include "MBUtils.h"
#include "PointAssign.h"
#include "Point.h"
using namespace std;
//---------------------------------------------------------
// Constructor
PointAssign::PointAssign()
{
m_num_points = 0;
m_assign_by_region = false;
m_last_updated = "MOKAI_RED";
m_started=false;
m_ended=false;
m_done=false;
}
//---------------------------------------------------------
// Destructor
PointAssign::~PointAssign()
{
}
//---------------------------------------------------------
// Procedure: OnNewMail
bool PointAssign::OnNewMail(MOOSMSG_LIST &NewMail)
{
MOOSMSG_LIST::iterator p;
for(p=NewMail.begin(); p!=NewMail.end(); p++) {
CMOOSMsg &msg = *p;
string key = msg.GetKey();
string comm = msg.GetCommunity();
string sval = msg.GetString();
double mtime = msg.GetTime();
if(key == "VISIT_POINT"){
if((sval =="firstpoint")){
m_started=true;
}
else if(sval=="lastpoint"){
m_ended=true;
}
else{
Point new_point(sval);
m_points_list.push_back(new_point);
}
}
}
return(true);
}
//---------------------------------------------------------
// Procedure: OnConnectToServer
bool PointAssign::OnConnectToServer()
{
RegisterVariables();
return(true);
}
//---------------------------------------------------------
// Procedure: Iterate()
// happens AppTick times per second
bool PointAssign::Iterate()
{
Notify("POINT_STAT", "on_iterate");
if(m_points_list.size()==m_num_points and m_ended and !m_done){
Notify("VISIT_POINT_MOKAI_RED", "lastpoint");
Notify("VISIT_POINT_MOKAI_BLUE", "lastpoint");
m_done=true;
}
else if(!m_done){
Notify("POINT_STAT", "Assigning Points");
if(m_assign_by_region){
//Assign According to which region each vehicle is and where the point is
for(int index=0; index<m_points_list.size(); index++){
m_num_points+=1;
Point current_point = m_points_list[index];
if(current_point.west){
Notify("VISIT_POINT_MOKAI_BLUE", current_point.point_string);
//Notify("POINT_STAT", "sent "+current_point.point_string+" to MOKAI_BLUE");
}
else{
Notify("VISIT_POINT_MOKAI_RED", current_point.point_string);
//Notify("POINT_STAT", "sent "+current_point.point_string+" point to MOKAI_RED");
}
}
}
else{ //Assign Randomly
for(int index=0; index<m_points_list.size(); index++){
m_num_points+=1;
Point current_point= m_points_list[index];
Notify("POINT_STAT", "Last Updated Was: " + m_last_updated);
if(m_last_updated=="MOKAI_RED"){
m_last_updated="MOKAI_BLUE";
Notify("VISIT_POINT_MOKAI_BLUE", current_point.point_string);
Notify("POINT_STAT", "updated MOKAI_BLUE with "+current_point.point_string);
}
else{
m_last_updated = "MOKAI_RED";
Notify("VISIT_POINT_MOKAI_RED", current_point.point_string);
Notify("POINT_STAT", "updated MOKAI_RED with "+current_point.point_string);
}
}
}
}
//m_points_list.clear();
return(true);
}
//---------------------------------------------------------
// Procedure: OnStartUp()
// happens before connection is open
bool PointAssign::OnStartUp()
{
Notify("POINT_STAT", "started");
list<string> sParams;
m_MissionReader.EnableVerbatimQuoting(false);
if(m_MissionReader.GetConfiguration(GetAppName(), sParams)) {
list<string>::iterator p;
for(p=sParams.begin(); p!=sParams.end(); p++) {
string original_line = *p;
string param = stripBlankEnds(toupper(biteString(*p, '=')));
string value = stripBlankEnds(*p);
if(param == "FOO") {
//handled
}
else if(param == "BAR") {
//handled
}
}
}
RegisterVariables();
return(true);
}
//---------------------------------------------------------
// Procedure: RegisterVariables
void PointAssign::RegisterVariables()
{
Register("VISIT_POINT", 0);
Notify("UTS_PAUSE", "false");
}
|
4f3639c563ab3abe844f1778f090a57d36ac8706 | a1825094d35701215ce7172e56a769ee44f42c90 | /Codeforces/320A.cpp | 7537cfa4ac2611cfe864297d93d6e93598bafc84 | [] | no_license | tantrojan/GFG-Questions | 5c7a335ca5c1eafc70cf83c8f60f2eba01bde314 | 4ca81dd83b6d2bdf9f04f3cd7f7e0cc58e0944dd | refs/heads/master | 2020-03-24T12:58:00.292712 | 2018-07-29T04:22:43 | 2018-07-29T04:22:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | 320A.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
int count=0,i;
int no_of_digits=log2(n)+1;
for(i=0;i<no_of_digits;i++)
{
if(((1<<i)&(n))==(1<<i))
count++;
}
cout<<count<<endl;
return 0;
} |
e788d22270dd71d9d5e7a4f8070f27edc34852a8 | 6020f179883ac1e01baa68055c2de40398223e6e | /problem.1/main.cpp | e4ff672be0afd7ec3095d0cd70bc3b16583680c5 | [] | no_license | leiandi/AMAOEd-ComProg1-Week006 | 41e1a20356dd91a9304f88ef774c3905e82b9732 | f0d6840fa63a2ea3292f277665347da81938d2ee | refs/heads/master | 2020-04-10T09:44:08.905772 | 2018-12-08T14:41:11 | 2018-12-08T14:41:11 | 160,945,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cpp | main.cpp | //Name: Jameson Villaluna
//Date: October 14, 2018
#include<cstdlib>
#include<iostream>
#include<string>
using namespace std;
int main() {
int input;
cout << "Input number: ";
cin >> input;
if (input == 0) {
cout << "Hello World " << endl;
}else if (input == 1) {
cout << "I am Groot " << endl;
}else if (input == 2) {
cout << "To the Top " << endl;
}else if (input == 3) {
cout << "Where is the Horizon " << endl;
}else if (input == 4) {
cout << "I do not know " << endl;
} else {
cout << "Yeah, I will " << endl;
}
system("pause");
}
|
c3f869cd2f7c264c60cba8c7706822acdb4da947 | 69303db180b184889065c3e2f47d9b3ccd2459dc | /ds_algo/array_list.h | fd96123eb31865316f47298dd2fef038f2f21531 | [] | no_license | kangic/study | a146eb6ff8a51c99796c3cbf0fa6f403318a7563 | 3c6c458699ba185a6a0056b503bd46b70d9127af | refs/heads/master | 2016-09-06T01:04:46.643655 | 2016-03-04T09:44:07 | 2016-03-04T09:44:07 | 30,464,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | h | array_list.h | #ifndef _ARRAY_LIST_H_
#define _ARRAY_LIST_H_
#define MAX_SIZE 100
template <typename T>
class array_list {
public:
array_list(void);
virtual ~array_list(void);
void add_to_front(const T& data);
void add_to_back(const T& data);
void delete_data(int pos);
bool is_empty();
bool is_full();
int size();
const T& get_data(int pos);
void clear();
void display();
private:
T list[MAX_SIZE];
int length;
};
#endif // _ARRAY_LIST_H_
#include "array_list.hpp"
|
de39d037b1f6b7b2b2489ee9d97e16a8a9b1e074 | 44c32f7b4c6af597970e9c15826ed7c34539de27 | /opengl-projects/FechoConvexoTri/Fecho_Convexo_Tri.cpp | 3ef6c964d0ea8a01c680b2ddb35e974b33b186c5 | [] | no_license | ualison/others-projects | 75e74b43a6cc09941b614ca8bb411f16d7a01f40 | 7f360973f97d5e8caa2a66d5532c0f045affe8c2 | refs/heads/master | 2020-05-05T12:53:43.608291 | 2019-04-08T02:33:45 | 2019-04-08T02:33:45 | 180,049,907 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,417 | cpp | Fecho_Convexo_Tri.cpp | #include <bits/stdc++.h>
#include <GL/glut.h>
#include <stdlib.h>
using namespace std;
struct Point{
int x, y;
bool isConvex = false;
};
struct Triangulo{
Point t1, t2, t3;
};
int pos_x = 0;
int pos_y = 0;
bool apertarEnter = false;
vector<Point> vec;
vector<Point> convex;
vector<Triangulo> triangulos;
Point addPoint(int x, int y){
Point p;
p.x = x;
p.y = y;
return p;
}
int* getPoint(Point p){
int aux[2];
aux[0] = p.x;
aux[1] = p.y;
return aux;
}
bool existe_elemento(vector<Point> v, int x, int y){
for (int i = 0; i < v.size(); i++)
if(v[i].x == x && v[i].y == y)
return true;
return false;
}
int existe_elemento_indice(vector<Point> v, int x, int y){
for (int i = 0; i < v.size(); i++)
if(v[i].x == x && v[i].y == y)
return i;
return -1;
}
bool existe_elemento_tri(vector<Triangulo> tri, Triangulo tr){
for (int i = 0; i < tri.size(); i++)
if(tri[i].t1.x == tr.t1.x && tri[i].t1.y == tr.t1.y &&
tri[i].t2.x == tr.t2.x &&tri[i].t2.x == tr.t2.x &&
tri[i].t3.x == tr.t3.x &&tri[i].t3.x == tr.t3.x)
return true;
return false;
}
float area(int x1, int y1, int x2, int y2, int x3, int y3)
{
return abs((x1*(y2-y3) + x2*(y3-y1)+ x3*(y1-y2))/2.0);
}
bool estaDentro(int x1, int y1, int x2, int y2, int x3, int y3, int x, int y)
{
float A = area (x1, y1, x2, y2, x3, y3);
float A1 = area (x, y, x2, y2, x3, y3);
float A2 = area (x1, y1, x, y, x3, y3);
float A3 = area (x1, y1, x2, y2, x, y);
return (A == A1 + A2 + A3);
}
vector<Point> noConvex(){
vector<Point> p;
for (int j = 0; j < vec.size(); j++){
if(vec.size() > 3)
if(vec[j].isConvex == false){
printf("\nPONTOS NAO CONVEXOS: x %d y %d ", vec[j].x, vec[j].y);
Point r;
r.x = vec[j].x;
r.y = vec[j].y;
r.isConvex = false;
p.push_back(r);
}
}
return p;
}
int orientation(Point p, Point q, Point r)
{
int val = (q.y - p.y) * (r.x - q.x) - (q.x - p.x) * (r.y - q.y);
if (val == 0) return 0;
return (val > 0)? 1: 2; // 1 esta na ordem CC, 2 esta na ordem CCW
}
vector<Point> convexHull(Point points[], int n){
// Armazena os pontos convexos
vector<Point> hull;
int l = 0;
for (int i = 1; i < n; i++)
if (points[i].x < points[l].x){
l = i;
}
int p = l, q;
do{
if(convex.empty()){
Point t;
t.x = points[p].x;
t.y = points[p].y;
t.isConvex = true;
int r = existe_elemento_indice(vec, t.x, t.y);
vec[r].isConvex = true;
convex.push_back(t);
printf("\nENTROU: x %d y %d ", points[p].x, points[p].y);
}else{
if(existe_elemento(convex, points[p].x, points[p].y) == false){
Point t;
t.x = points[p].x;
t.y = points[p].y;
t.isConvex = true;
int r = existe_elemento_indice(vec, t.x, t.y);
vec[r].isConvex = true;
convex.push_back(t);
printf("\nENTROU: x %d y %d ", points[p].x, points[p].y);
}
}
hull.push_back(points[p]);
q = (p+1)%n;
for (int i = 0; i < n; i++)
{
if (orientation(points[p], points[i], points[q]) == 2)
q = i;
}
p = q;
} while (p != l);
return hull;
}
void desenharPonto(int x, int y) {
int i;
y = 500-y;
glPointSize(7);
glColor3f(1.0, 0.0, 0.0);
glBegin(GL_POINTS);
glVertex2f(x , y);
glEnd();
if(x != 0){
if(vec.empty()){
Point p = addPoint(x, y);
vec.push_back(p);
} else{
Point aux = vec.back();
if(aux.x != x && aux.y != y){
Point p = addPoint(x, y);
vec.push_back(p);
}
}
}
glutSwapBuffers();
}
void triangulacao(vector<Point> v){
vector<Point> vet = v;
Point p0 = vet.back();
vet.pop_back();
Point pHelper = vet.back();
vet.pop_back();
Point pTemp;
while(!vet.empty()){
pTemp = vet.back();
vet.pop_back();
if(triangulos.empty()){
Triangulo t;
t.t1 = p0;
t.t2 = pTemp;
t.t3 = pHelper;
triangulos.push_back(t);
}else{
Triangulo t;
t.t1 = p0;
t.t2 = pTemp;
t.t3 = pHelper;
if(existe_elemento_tri(triangulos, t) == false){
triangulos.push_back(t);
}
}
glLineWidth(2);
glColor3f(1.0, 0.0, 0.0);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
glBegin(GL_TRIANGLES);
glVertex2f(p0.x, p0.y);
glVertex2f(pTemp.x , pTemp.y);
glVertex2f(pHelper.x , pHelper.y);
glEnd();
pHelper = pTemp;
}
}
void display (void){
int i, j = 0;
desenharPonto(pos_x, pos_y);
if(apertarEnter == true){
Point points[vec.size()];
for(i = 0; i < vec.size(); i++){
points[i] = vec[i];
}
vector<Point> res = convexHull(points, vec.size());
triangulacao(res);
vector<Point> nConvex = noConvex();
for(int i = 0; i < nConvex.size(); i++){
for(int j = 0; j < triangulos.size(); j++){
if(estaDentro(triangulos[j].t1.x,triangulos[j].t1.y,
triangulos[j].t2.x,triangulos[j].t2.y,
triangulos[j].t3.x,triangulos[j].t3.y,
nConvex[i].x, nConvex[i].y)){
glLineWidth(2);
glColor3f(1.0, 0.0, 0.0);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
glBegin(GL_LINE_LOOP);
glVertex2f(triangulos[j].t1.x,triangulos[j].t1.y);
glVertex2f(triangulos[j].t2.x,triangulos[j].t2.y);
glVertex2f(triangulos[j].t3.x,triangulos[j].t3.y);
glVertex2f(nConvex[i].x, nConvex[i].y);
glEnd();
}
}
}
apertarEnter = false;
}
glFlush();
}
void mouse(int bin, int state , int x , int y) {
if(bin == GLUT_LEFT_BUTTON && state == GLUT_DOWN){
pos_x = x;
pos_y = y;
}
if(bin == GLUT_RIGHT_BUTTON && state == GLUT_DOWN){
apertarEnter = true;
}
glutPostRedisplay();
}
void init (){
glClearColor (0.0, 0.0, 0.0, 0.0);
glClear(GL_COLOR_BUFFER_BIT);
glViewport( 0, 0, 500, 500 );
glMatrixMode(GL_PROJECTION);
glOrtho( 0.0, 500.0, 0.0, 500.0, 1.0, -1.0 );
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
}
int main (int argc,char** argv){
glutInit(&argc,argv);
glutInitDisplayMode( GLUT_RGBA | GLUT_DOUBLE );
glutInitWindowSize(500, 500);
glutInitWindowPosition(0, 0);
glutCreateWindow("FECHO CONVEXO DE TRIANGULARIZAÇÃO");
init();
glutDisplayFunc(display);
glutMouseFunc(mouse);
glutMainLoop();
}
|
bca37ac0855f251188e5f7b20f1d06d0d6e9bcc6 | 86dde6508aa4ae3233895f159aba6c210c2a8cbc | /src/EngineClass/Stop.cpp | a6ea57ec5515b31005fb72fc698c80689b077939 | [] | no_license | kasspip/DOGLE | 84e2808bded0d60d4aa035a91624b01ab1cb0ea8 | c520d967b833fecf6bc88cbaf81c53a11857bcab | refs/heads/master | 2016-08-10T12:22:26.023025 | 2015-12-13T11:56:34 | 2015-12-13T11:56:34 | 43,964,374 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 758 | cpp | Stop.cpp | #include "Stop.hpp"
#include "Script.hpp"
// CONSTRUCTOR DESTRUCTOR //
Stop::Stop(void)
{
}
Stop::~Stop(void)
{
}
// OVERLOADS //
std::ostream &operator<<(std::ostream & o, Stop const & rhs)
{
o << rhs.toString();
return o;
}
// PUBLIC //
void Stop::RunState(Application & app, e_state & currentState)
{
PRINT_DEBUG("[MACHINE] <Stop>");
Script* script = nullptr;
for (GameObject* go : app.GetCurrentScene()->GetGameObjectList())
{
for (IComponent* compo : go->_listComponent)
{
if ((script = dynamic_cast<Script*>(compo)))
{
script->OnStop();
script = nullptr;
}
}
}
currentState = STATE_EXIT;
}
std::string Stop::toString(void) const
{
std::stringstream ss;
return ss.str();
}
// PRIVATE //
// GETTER SETTER //
|
d2102207e8f55595ca8473c82924e1711935f242 | 3e67fc1156e1477bce398f8162dd20a8c8e0a195 | /Params/inc/Domain.hpp | 92d77440064569ac9e5f065e8da233c220b9208b | [] | no_license | kergab/quorum-sensing-agents | 74336ac0ca14fa939d51e44ed2edbfdd0e47e544 | 2622f1cf0ba88775958139bd7352d0c68726da04 | refs/heads/main | 2023-03-19T17:49:14.585083 | 2021-03-16T11:07:25 | 2021-03-16T11:07:25 | 346,673,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | hpp | Domain.hpp | #ifndef Domain_HPP
#define Domain_HPP
#include "Rect.hpp"
#include "Attribute.hpp"
struct Domain {
bool filled;
Rect r;
Attribute a;
void put(QDomDocument& doc, QDomNode& node);
bool get(QDomNode& node);
};
#endif
|
e918c72888518a85b4d496009bc69794bdd4d1d9 | be9cd9a8e4fcfb0814efb458366af0a52dc7b2f4 | /Topic-Wise/Dynamic-Programming/C++/MinimumJumps.cpp | 3d2cf2c236d136f30af185eaa5ae5ef1ceb8357b | [] | no_license | mdsarfarazulh/Interview-Preparation | 30bf371903bd6d9578b3bacef9fba372b6f8c7f9 | 7f0e438fb78f85caade54f102964fc564d275560 | refs/heads/master | 2020-05-07T10:29:51.544740 | 2019-06-12T04:38:23 | 2019-06-12T04:38:23 | 180,420,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | cpp | MinimumJumps.cpp | /*
Problem: https://practice.geeksforgeeks.org/problems/minimum-number-of-jumps/0
Editorial: https://www.geeksforgeeks.org/minimum-number-of-jumps-to-reach-end-of-a-given-array/
*/
#include<bits/stdc++.h>
using namespace std;
#define LL long long int
void solve(){
int n;
cin>>n;
int arr[n];
for(int i=0;i<n;++i)
cin>>arr[i];
int jumps[n];
jumps[0] = 0;
for(int i=1;i<n;++i){
jumps[i] = INT_MAX;
for(int j=0;j<i;++j){
if(i<=j+arr[j] && jumps[j]!=INT_MAX){
jumps[i] = min(jumps[i], jumps[j]+1);
break;
}
}
}
cout<<jumps[n-1]<<endl;
}
void _solve(){
int n;
cin>>n;
int arr[n];
for(int i=0;i<n;++i)
cin>>arr[i];
int maxReach = arr[0];
int step = arr[0];
int jump = 1;
int flag = 0;
if(!arr[0]){
cout<<"-1"<<endl;
return;
}
for(int i=1;i<n;++i){
if(i == n-1){
flag = 1;
break;
}
if(i+arr[i] > maxReach)
maxReach = i + arr[i];
step--;
if(!step){
jump++;
if(i >= maxReach){
cout<<"-1"<<endl;
return;
}
step = maxReach - i;
}
}
if(flag)
cout<<jump<<endl;
else
cout<<"-1"<<endl;
}
int main(void){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int tcases;
cin>>tcases;
while(tcases--)
_solve();
return 0;
} |
2b7c14d751a5e4c2cf4b8e5db16d852bdd923deb | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_9516.cpp | ee140854fe98adbf624bffbc0fe276b9e41dcc9a | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | Kitware_CMake_repos_basic_block_block_9516.cpp | tacl_entry[4].permset |= eperm |
0c816e361d5b21de1b488792f4374e4975c64e95 | 73758c9e65e166c9a26df2bcf1719af6ed0a9708 | /rs-decoder.cpp | 816b37e2a1ba1367fd0d387fc5192019a181e51a | [] | no_license | thepaintedsnipe/rs-retrieve | 16d9e328687ad29b6bc5ad22a16a7a4fa8bfa154 | 6523b16ca4a34d61e03985092df0364b3f22b0a6 | refs/heads/master | 2020-03-19T01:10:49.134736 | 2018-05-31T12:12:29 | 2018-05-31T12:18:01 | 135,527,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,429 | cpp | rs-decoder.cpp | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.
#include <iostream>
#include <vector>
// FFmpeg
extern "C" {
#include <libavformat/avformat.h>
#include <libavcodec/avcodec.h>
#include <libavutil/avutil.h>
#include <libavutil/pixdesc.h>
#include <libswscale/swscale.h>
#include <libavutil/time.h>
}
#include <time.h>
#include <librealsense2/rs.hpp> // Include RealSense Cross Platform API
#include <opencv2/opencv.hpp> // Include OpenCV API
#include <opencv2/highgui.hpp>
/**
* @brief seeks the pFile to next packet boundary
* @details at 10 mbps, 30fps, each frame will be about 42K byes
* search_size could be specified accordingly
*
* @param[in] pFile Pointer to the file containing encoded data
* @param[in] search_size is the max no of bytes to look for
* @return 0 if ok, -1 if there was no frame found
*/
static int seek_to_frame(FILE* pFile, int search_size){
int ret;
char *ptr;
// save current file pointer
int start_pos = ftell(pFile);
char *buf = (char *) malloc(sizeof(char) * search_size);
if(buf == NULL)
return -1;
char needle[4] = {0x00, 0x00, 0x00, 0x01};
char *last_needle = NULL;
int bytes_read = fread (buf,1,search_size,pFile);
if (bytes_read > 0)
ptr = (char *) memmem((void *) buf, bytes_read, needle, 4);
if (!ptr) return -1;
int frame_size = ptr - buf;
fseek( pFile , (start_pos + frame_size) , SEEK_SET );
return 0;
}
/**
* @brief reads next compressed video packet in to a buffer
* @details it is assumed that pFile is already at packet boundary
* data till next packet is read in to buffer
*
* @param[in] pFile Pointer to the file containing encoded data
* @param[out] buf Pointer to buf where packet data is copied
* @param[in] buf_size Size of the data buffer
* @return packet size or -1 if error
*/
static int read_video_packet(FILE* pFile, int buf_size, char *buf){
// save current file pointer
int start_pos = ftell(pFile);
// we want to seek to next frame(), so increment handle beyond current frame boundary
fseek ( pFile , start_pos+1 , SEEK_SET );
int ret = seek_to_frame(pFile, 42000);
if (ret != 0){
return -1;
}
// new_pFile - old_pFile is the frame size
int end_pos = ftell(pFile);
int frame_size = end_pos - start_pos;
// seek to old pFile
fseek ( pFile , start_pos , SEEK_SET );
if (frame_size <= buf_size) {
// read data
int bytes_read = fread (buf,1,frame_size,pFile);
if(bytes_read == frame_size)
return bytes_read;
else
return -1;
}
else {
return -1;
}
}
// various globals
// video codec parameters
int video_param_height;
int video_param_width;
int video_param_fps;
FILE* pFile;
AVCodec *vcodec = 0;
AVCodecContext *pCodecCtx;
AVPacket packet;
static void read_video_parameters()
{
// we need to know width, height & fps
// as of now hard-coded values
// but these could from a txt file
video_param_width = 640;
video_param_height = 480;
video_param_fps = 30;
}
/**
* @brief initialize decoder instance
*
* @return 0 on success, error code on failure
*/
int initialize_decoder(char *infile, int *width, int *height, int *fps, AVPixelFormat *pix_fmt)
{
int ret;
pFile = fopen (infile, "rb");
if(pFile == NULL) {
std::cout << "Can not open file for writing" << std::endl;
return 1;
}
if (seek_to_frame(pFile, 42000) != 0) {
std::cout << "Failed to find a valid encoded frame" << std::endl;
fclose(pFile);
return 1;
}
// read the video parameters
read_video_parameters();
*width = video_param_width;
*height = video_param_height;
*fps = video_param_fps;
*pix_fmt = AV_PIX_FMT_YUV420P;
// initialize FFmpeg library
av_register_all();
avformat_network_init();
// Check codec support
vcodec = avcodec_find_decoder(AV_CODEC_ID_H264);
if (!vcodec)
{
std::cout << "Unable to find video encoder" << std::endl;
return 1;
}
pCodecCtx = avcodec_alloc_context3(vcodec);
if (!pCodecCtx)
{
std::cout << "Unable to allocate encoder context" << std::endl;
return 2;
}
pCodecCtx->width = video_param_width;
pCodecCtx->height= video_param_height;
pCodecCtx->pix_fmt = AV_PIX_FMT_YUV420P;
// open the decoder
ret = avcodec_open2(pCodecCtx, vcodec, NULL);
if (ret < 0) {
std::cerr << "fail to avcodec_open2: ret=" << ret;
return 3;
}
//Create packet
av_init_packet(&packet);
return 0;
}
/**
* @brief free decoder instance
*
* @return none
*/
void free_decoder()
{
fclose(pFile);
avcodec_close(pCodecCtx);
}
/**
/* @brief return a decoded video frame
/*
/* @param[in] decodedFrame pointer to AVFrame where decoded video is copied
/*
/* returns 0 if a valid frame was decoded
/* 1 if end of stream
/* 2 if any other issue
*/
int get_decoded_frame(AVFrame* decodedFrame)
{
int got_pic = 0;
int retVal = 0;
int status;
bool end_of_stream = false;
do {
//allocate packet memory
if(av_new_packet(&packet,42000)) {
retVal = 2;
break;
}
if (!end_of_stream) {
// read packet from input file
status = read_video_packet(pFile, packet.size, (char *) packet.data);
if (status < 0) {
std::cerr << "fail to av_read_frame: status=" << status << std::endl;
retVal = 1;
end_of_stream = true;
}
if (status == 0 ) {
std::cout << "PACKET SIZE IS ZERO ";
retVal = 1;
end_of_stream = true;
}
packet.size = status;
}
if (end_of_stream) {
std::cerr << "end of stream found so set packet to null" << status << std::endl;
// null packet for bumping process
av_init_packet(&packet);
packet.data = nullptr;
packet.size = 0;
}
// decode video frame
avcodec_decode_video2(pCodecCtx, decodedFrame, &got_pic, &packet);
// free packet memory
av_free_packet(&packet);
if(got_pic)
break;
} while(end_of_stream);
return retVal;
}
|
2d0b6ebba6bc0b22fb428d3c8e93d4ca9df4d376 | ce161c98d5b1a69fd12b7af691709a76da55b44d | /codeforces/Codeforces_Round_#Pi_(Div_2)/D_One-Dimensional_Battle_Ships.cpp | fe8d6d91b89cc510c710f8a4c94eea8c17595aee | [] | no_license | cup2of2tea/CompetitiveProgramming | cb45d40ff0c27e2b9891eb135e4e5ef795014989 | eaa9bfac351c0eb909c7686534fe647c31eaac65 | refs/heads/master | 2020-09-02T07:21:18.722266 | 2019-11-02T14:30:57 | 2019-11-02T14:30:57 | 219,165,630 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 837 | cpp | D_One-Dimensional_Battle_Ships.cpp | #include <bits/stdc++.h>
using namespace std;
bool ok(int n,int k, int a, vector<int> &ori, int test)
{
vector<int> v;
for(int c=0;c<test;c++) v.push_back(ori[c]);
v.push_back(0);
v.push_back(n+1);
sort(v.begin(),v.end());
int poss = 0;
for(int c=1;c<v.size();c++)
{
poss +=(((v[c]-1)-(v[c-1]+1))+2)/(a+1);
}
return poss >= k;
}
int main()
{
int n,k,a;
cin>>n>>k>>a;
int m;
cin>>m;
vector<int> v(m);
for(int c=0;c<m;c++)
{
cin>>v[c];
}
int gauche = 0, droite = m;
if(ok(n,k,a,v,droite)){
cout<<-1;
return 0;
}
while(gauche != droite){
int mid = (gauche+droite)/2;
if(ok(n,k,a,v,mid)) {
gauche = mid+1;
} else {
droite = mid;
}
}
cout<<gauche;
} |
c81c2ae8e2bdc4ea4113d1c3791401e9036833a7 | 4293dd36cfefc45d5ce9e91bef11c49c0a6736bd | /MS4/kernel/cpu/herm/herm_padded.cpp | 9d82d88e0c8adbbdfe3eb6160ed40485e76d4830 | [
"Apache-2.0"
] | permissive | SKA-ScienceDataProcessor/RC | 2dc8ea9956e0d90681afcf5aacc96ff7357eacf4 | 1b5e25baf9204a9f7ef40ed8ee94a86cc6c674af | refs/heads/master | 2020-04-06T06:55:01.449166 | 2016-08-16T13:48:44 | 2016-08-16T13:48:44 | 20,220,152 | 9 | 2 | null | 2016-06-15T06:01:45 | 2014-05-27T13:04:05 | Haskell | UTF-8 | C++ | false | false | 1,109 | cpp | herm_padded.cpp | #include "herm_padded.h"
#ifndef MOVE_TO_TOP
// Very simple. Only for even sizes.
void herm_padded_inplace(complexd * data, int size, int pitch){
int
pad = pitch - size
// the same as (size-1)*(pitch+1)
, dataend = size * pitch - pad - 1
, jmp = pad + size / 2
;
complexd
* pv0 = data
, * pv1 = data + dataend;
;
// An extra complexity due to a padding of the data
for (int i = 0; i < size; i++) {
for (int j = 0; j < size / 2; j++) {
*pv0 += conj(*pv1);
pv0++;
pv1--;
}
pv0 += jmp;
pv1 -= jmp;
}
}
#else
// Very simple. Only for even sizes.
void herm_padded_inplace(complexd * data, int size, int pitch){
int
pad = pitch - size
// the same as (size-1)*(pitch+1)
, dataend = size * pitch - pad - 1;
;
complexd
* pv0 = data
, * pv1 = data + dataend;
;
// An extra complexity due to a padding of the data
for (int i = 0; i < size / 2; i++) {
for (int j = 0; j < size; j++) {
*pv0 += conj(*pv1);
pv0++;
pv1--;
}
pv0 += pad;
pv1 -= pad;
}
}
#endif
|
98c1de83fd6e7070c9f254498231ae6dc0b190b2 | 26cc428b3d87f0cd0f1a2e6a51e9da25cd0b651a | /upperPosition/Blasius_30/0.55/phi | 5b302f4c21210ac850863a9b9aba443a53f5f839 | [] | no_license | CagriMetin/BlasiusProblem | 8f4fe708df8f3332d054b233d99a33fbb3c15c2a | 32c4aafd6ddd6ba4c39aef04d01b77a9106125b2 | refs/heads/master | 2020-12-24T19:37:14.665700 | 2016-12-27T19:13:04 | 2016-12-27T19:13:04 | 57,833,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210,916 | phi | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class surfaceScalarField;
location "0.55";
object phi;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 3 -1 0 0 0 0];
internalField nonuniform List<scalar>
17305
(
2.83188e-08
2.8838e-09
-3.12026e-08
2.54523e-08
2.8665e-09
2.27626e-08
2.68973e-09
2.02833e-08
2.47926e-09
1.80306e-08
2.2527e-09
1.60151e-08
2.01554e-09
1.42391e-08
1.77597e-09
1.26973e-08
1.54177e-09
1.13778e-08
1.31952e-09
1.02632e-08
1.11458e-09
9.33233e-09
9.3088e-10
8.56161e-09
7.70717e-10
7.9269e-09
6.34715e-10
7.40487e-09
5.22031e-10
6.97417e-09
4.30695e-10
6.61614e-09
3.58029e-10
6.3151e-09
3.01043e-10
6.05833e-09
2.56768e-10
5.83584e-09
2.22487e-10
5.63998e-09
1.95864e-10
5.46499e-09
1.74991e-10
5.30662e-09
1.58371e-10
5.16174e-09
1.44873e-10
5.02808e-09
1.33665e-10
4.90392e-09
1.24153e-10
4.78801e-09
1.15919e-10
4.67934e-09
1.08669e-10
4.57713e-09
1.02203e-10
4.48075e-09
9.63793e-11
4.38966e-09
9.10956e-11
4.30338e-09
8.62773e-11
4.22151e-09
8.18667e-11
4.1437e-09
7.78172e-11
4.06961e-09
7.40903e-11
3.99895e-09
7.06526e-11
3.93148e-09
6.7475e-11
3.86695e-09
6.45319e-11
3.80515e-09
6.18003e-11
3.74589e-09
5.92598e-11
3.689e-09
5.68922e-11
3.63431e-09
5.46811e-11
3.5817e-09
5.26121e-11
3.53103e-09
5.06722e-11
3.48218e-09
4.88498e-11
3.43505e-09
4.71347e-11
3.38953e-09
4.55175e-11
3.34554e-09
4.39901e-11
3.30299e-09
4.2545e-11
3.26182e-09
4.11755e-11
3.22194e-09
3.98757e-11
3.1833e-09
3.86401e-11
3.14584e-09
3.74637e-11
3.1095e-09
3.63421e-11
3.07422e-09
3.52711e-11
3.03998e-09
3.42471e-11
3.00671e-09
3.32667e-11
2.97438e-09
3.23266e-11
2.94296e-09
3.14241e-11
2.9124e-09
3.05564e-11
2.88268e-09
2.9721e-11
2.85377e-09
2.89158e-11
2.82563e-09
2.81386e-11
2.79824e-09
2.73874e-11
2.77158e-09
2.66603e-11
2.74562e-09
2.59558e-11
2.72035e-09
2.52722e-11
2.69574e-09
2.46081e-11
2.67178e-09
2.39619e-11
2.64845e-09
2.33325e-11
2.62573e-09
2.27187e-11
2.60361e-09
2.21192e-11
2.58208e-09
2.15331e-11
2.56112e-09
2.09594e-11
2.54072e-09
2.0397e-11
2.52088e-09
1.98453e-11
2.50157e-09
1.93035e-11
2.4828e-09
1.87707e-11
2.46456e-09
1.82465e-11
2.44683e-09
1.77302e-11
2.4296e-09
1.72214e-11
2.41289e-09
1.67196e-11
2.39666e-09
1.62247e-11
2.38092e-09
1.57364e-11
2.36567e-09
1.52547e-11
2.35089e-09
1.47798e-11
2.33658e-09
1.4312e-11
2.32273e-09
1.3852e-11
2.30933e-09
1.34008e-11
2.29637e-09
1.29598e-11
2.28383e-09
1.2531e-11
2.27172e-09
1.21168e-11
2.26e-09
1.17206e-11
2.24865e-09
1.13467e-11
2.23765e-09
1.10013e-11
2.22695e-09
1.0695e-11
2.21651e-09
1.04486e-11
2.20619e-09
1.03134e-11
2.19577e-09
1.04225e-11
2.18491e-09
1.08581e-11
2.8029e-11
3.33535e-08
3.15986e-09
-3.36296e-08
3.27637e-08
3.45631e-09
3.19419e-08
3.51153e-09
3.09648e-08
3.45632e-09
2.9888e-08
3.32956e-09
2.87569e-08
3.14663e-09
2.76085e-08
2.92437e-09
2.64711e-08
2.67919e-09
2.53655e-08
2.42504e-09
2.43066e-08
2.17349e-09
2.33038e-08
1.93367e-09
2.23624e-08
1.71213e-09
2.14843e-08
1.51281e-09
2.0669e-08
1.33732e-09
1.99144e-08
1.18538e-09
1.9217e-08
1.05542e-09
1.85729e-08
9.45097e-10
1.7978e-08
8.51731e-10
1.74278e-08
7.72647e-10
1.69183e-08
7.0538e-10
1.64455e-08
6.47783e-10
1.60058e-08
5.9806e-10
1.55959e-08
5.54751e-10
1.52129e-08
5.16692e-10
1.48541e-08
4.82969e-10
1.45171e-08
4.52865e-10
1.42e-08
4.25821e-10
1.39008e-08
4.01391e-10
1.36179e-08
3.79222e-10
1.335e-08
3.59026e-10
1.30957e-08
3.40564e-10
1.2854e-08
3.23638e-10
1.26237e-08
3.08077e-10
1.24041e-08
2.93735e-10
1.21942e-08
2.80485e-10
1.19935e-08
2.68217e-10
1.18012e-08
2.56831e-10
1.16167e-08
2.46241e-10
1.14396e-08
2.36372e-10
1.12694e-08
2.27155e-10
1.11055e-08
2.1853e-10
1.09477e-08
2.10443e-10
1.07955e-08
2.02847e-10
1.06487e-08
1.957e-10
1.05068e-08
1.88961e-10
1.03698e-08
1.82599e-10
1.02372e-08
1.7658e-10
1.01088e-08
1.70879e-10
9.98454e-09
1.6547e-10
9.86408e-09
1.6033e-10
9.74728e-09
1.55438e-10
9.63397e-09
1.50776e-10
9.52399e-09
1.46326e-10
9.41719e-09
1.42074e-10
9.31343e-09
1.38004e-10
9.21259e-09
1.34103e-10
9.11456e-09
1.3036e-10
9.01922e-09
1.26763e-10
8.92647e-09
1.23301e-10
8.83623e-09
1.19965e-10
8.7484e-09
1.16746e-10
8.6629e-09
1.13636e-10
8.57966e-09
1.10627e-10
8.49861e-09
1.07711e-10
8.41969e-09
1.04882e-10
8.34282e-09
1.02134e-10
8.26797e-09
9.94593e-11
8.19508e-09
9.68537e-11
8.1241e-09
9.43115e-11
8.05499e-09
9.18275e-11
7.98772e-09
8.93972e-11
7.92223e-09
8.7016e-11
7.85851e-09
8.46797e-11
7.79653e-09
8.23843e-11
7.73624e-09
8.01262e-11
7.67765e-09
7.79018e-11
7.62071e-09
7.5708e-11
7.56541e-09
7.35418e-11
7.51174e-09
7.14005e-11
7.45968e-09
6.92816e-11
7.40922e-09
6.71831e-11
7.36034e-09
6.51031e-11
7.31304e-09
6.30405e-11
7.2673e-09
6.09943e-11
7.22311e-09
5.89644e-11
7.18047e-09
5.69511e-11
7.13937e-09
5.4956e-11
7.09979e-09
5.29815e-11
7.06172e-09
5.10315e-11
7.02514e-09
4.91112e-11
6.99003e-09
4.72277e-11
6.95636e-09
4.53905e-11
6.92409e-09
4.36127e-11
6.89318e-09
4.1914e-11
6.86354e-09
4.03282e-11
6.83507e-09
3.89233e-11
6.80752e-09
3.78604e-11
6.78039e-09
3.75559e-11
6.75067e-09
4.05779e-11
6.90171e-11
3.47486e-08
3.01007e-09
-3.45988e-08
3.48095e-08
3.39543e-09
3.4744e-08
3.577e-09
3.45577e-08
3.64263e-09
3.42612e-08
3.62609e-09
3.38687e-08
3.53908e-09
3.33978e-08
3.39534e-09
3.28661e-08
3.21085e-09
3.22904e-08
3.0007e-09
3.16857e-08
2.77822e-09
3.10647e-08
2.5547e-09
3.04378e-08
2.33902e-09
2.98133e-08
2.13737e-09
2.91971e-08
1.95342e-09
2.85938e-08
1.7887e-09
2.80062e-08
1.64306e-09
2.7436e-08
1.51527e-09
2.68842e-08
1.40349e-09
2.63513e-08
1.30562e-09
2.58371e-08
1.21959e-09
2.53413e-08
1.14353e-09
2.48636e-08
1.07578e-09
2.44033e-08
1.01499e-09
2.396e-08
9.60054e-10
2.35329e-08
9.10075e-10
2.31214e-08
8.64349e-10
2.27249e-08
8.22314e-10
2.23428e-08
7.8352e-10
2.19744e-08
7.47601e-10
2.16192e-08
7.14254e-10
2.12765e-08
6.83227e-10
2.09458e-08
6.54302e-10
2.06266e-08
6.27291e-10
2.03183e-08
6.02026e-10
2.00205e-08
5.7836e-10
1.97325e-08
5.5616e-10
1.9454e-08
5.35306e-10
1.91846e-08
5.1569e-10
1.89238e-08
4.97214e-10
1.86711e-08
4.79789e-10
1.84263e-08
4.63332e-10
1.8189e-08
4.47771e-10
1.79588e-08
4.33037e-10
1.77354e-08
4.19069e-10
1.75186e-08
4.0581e-10
1.7308e-08
3.93209e-10
1.71033e-08
3.81218e-10
1.69044e-08
3.69794e-10
1.6711e-08
3.58897e-10
1.65228e-08
3.48491e-10
1.63397e-08
3.3854e-10
1.61615e-08
3.29015e-10
1.59879e-08
3.19885e-10
1.58189e-08
3.11125e-10
1.56542e-08
3.02708e-10
1.54937e-08
2.94613e-10
1.53372e-08
2.86816e-10
1.51847e-08
2.79299e-10
1.50359e-08
2.72042e-10
1.48909e-08
2.65027e-10
1.47494e-08
2.58238e-10
1.46114e-08
2.51659e-10
1.44767e-08
2.45275e-10
1.43453e-08
2.39073e-10
1.42172e-08
2.33039e-10
1.40922e-08
2.27161e-10
1.39702e-08
2.21427e-10
1.38512e-08
2.15826e-10
1.37352e-08
2.10347e-10
1.3622e-08
2.04979e-10
1.35117e-08
1.99713e-10
1.34042e-08
1.94541e-10
1.32994e-08
1.89452e-10
1.31974e-08
1.84439e-10
1.3098e-08
1.79493e-10
1.30013e-08
1.74608e-10
1.29072e-08
1.69776e-10
1.28158e-08
1.6499e-10
1.27269e-08
1.60244e-10
1.26407e-08
1.55533e-10
1.2557e-08
1.50852e-10
1.24759e-08
1.46196e-10
1.23974e-08
1.41562e-10
1.23214e-08
1.36947e-10
1.22481e-08
1.32349e-10
1.21772e-08
1.2777e-10
1.2109e-08
1.2321e-10
1.20433e-08
1.18674e-10
1.19802e-08
1.14167e-10
1.19196e-08
1.09699e-10
1.18615e-08
1.05281e-10
1.1806e-08
1.00932e-10
1.17529e-08
9.66759e-11
1.17023e-08
9.25513e-11
1.1654e-08
8.8624e-11
1.16079e-08
8.50259e-11
1.15637e-08
8.20651e-11
1.15206e-08
8.06179e-11
1.14758e-08
8.54039e-11
1.16596e-10
3.55829e-08
2.82128e-09
-3.53941e-08
3.5775e-08
3.20334e-09
3.59258e-08
3.42618e-09
3.6023e-08
3.54549e-09
3.60598e-08
3.58925e-09
3.60324e-08
3.56646e-09
3.59413e-08
3.48642e-09
3.57907e-08
3.36154e-09
3.55866e-08
3.20472e-09
3.53368e-08
3.02807e-09
3.50491e-08
2.84236e-09
3.47315e-08
2.6566e-09
3.43912e-08
2.47766e-09
3.40345e-08
2.31013e-09
3.36666e-08
2.1566e-09
3.32917e-08
2.018e-09
3.2913e-08
1.89402e-09
3.25328e-08
1.78363e-09
3.21531e-08
1.68537e-09
3.1775e-08
1.59765e-09
3.13996e-08
1.51894e-09
3.10275e-08
1.44784e-09
3.06594e-08
1.38316e-09
3.02955e-08
1.32391e-09
2.99363e-08
1.26929e-09
2.9582e-08
1.21864e-09
2.92329e-08
1.17147e-09
2.8889e-08
1.12734e-09
2.85507e-08
1.08594e-09
2.8218e-08
1.04699e-09
2.78909e-08
1.01026e-09
2.75697e-08
9.75568e-10
2.72542e-08
9.42748e-10
2.69446e-08
9.11655e-10
2.66408e-08
8.8216e-10
2.63428e-08
8.54148e-10
2.60506e-08
8.27517e-10
2.57641e-08
8.02171e-10
2.54833e-08
7.78023e-10
2.52081e-08
7.54996e-10
2.49384e-08
7.33014e-10
2.46742e-08
7.12012e-10
2.44153e-08
6.91927e-10
2.41616e-08
6.72701e-10
2.39132e-08
6.54282e-10
2.36698e-08
6.36619e-10
2.34313e-08
6.19667e-10
2.31977e-08
6.03382e-10
2.29689e-08
5.87724e-10
2.27447e-08
5.72655e-10
2.25251e-08
5.58141e-10
2.231e-08
5.44148e-10
2.20992e-08
5.30645e-10
2.18928e-08
5.17602e-10
2.16905e-08
5.04993e-10
2.14923e-08
4.9279e-10
2.12982e-08
4.80969e-10
2.11079e-08
4.69506e-10
2.09216e-08
4.58379e-10
2.07391e-08
4.47567e-10
2.05603e-08
4.37049e-10
2.03851e-08
4.26806e-10
2.02136e-08
4.16819e-10
2.00456e-08
4.0707e-10
1.98811e-08
3.97542e-10
1.972e-08
3.88219e-10
1.95624e-08
3.79085e-10
1.94081e-08
3.70123e-10
1.92571e-08
3.61321e-10
1.91094e-08
3.52663e-10
1.8965e-08
3.44135e-10
1.88238e-08
3.35725e-10
1.86858e-08
3.27419e-10
1.85511e-08
3.19204e-10
1.84195e-08
3.1107e-10
1.82911e-08
3.03004e-10
1.81659e-08
2.94995e-10
1.80438e-08
2.87033e-10
1.7925e-08
2.79109e-10
1.78093e-08
2.71213e-10
1.76968e-08
2.63337e-10
1.75875e-08
2.55474e-10
1.74815e-08
2.47618e-10
1.73786e-08
2.39764e-10
1.72791e-08
2.31909e-10
1.71828e-08
2.24053e-10
1.70898e-08
2.16197e-10
1.70001e-08
2.08347e-10
1.69138e-08
2.0051e-10
1.68308e-08
1.92701e-10
1.67511e-08
1.84936e-10
1.66748e-08
1.77243e-10
1.66018e-08
1.6966e-10
1.65321e-08
1.62248e-10
1.64657e-08
1.55111e-10
1.64022e-08
1.4845e-10
1.63416e-08
1.42731e-10
1.62829e-08
1.39282e-10
1.62247e-08
1.43594e-10
1.71361e-10
3.63336e-08
2.65612e-09
-3.61684e-08
3.65284e-08
3.00851e-09
3.67171e-08
3.23754e-09
3.68868e-08
3.37578e-09
3.703e-08
3.44603e-09
3.71395e-08
3.45693e-09
3.72103e-08
3.41558e-09
3.72403e-08
3.33158e-09
3.72295e-08
3.2155e-09
3.718e-08
3.07758e-09
3.70951e-08
2.92722e-09
3.69792e-08
2.77257e-09
3.68367e-08
2.62016e-09
3.66721e-08
2.47469e-09
3.64896e-08
2.33913e-09
3.62926e-08
2.21498e-09
3.60841e-08
2.10254e-09
3.58664e-08
2.00135e-09
3.56413e-08
1.91046e-09
3.54102e-08
1.82871e-09
3.51743e-08
1.75486e-09
3.49344e-08
1.68777e-09
3.46911e-08
1.62642e-09
3.44451e-08
1.56992e-09
3.41968e-08
1.51756e-09
3.39467e-08
1.46874e-09
3.36952e-08
1.42299e-09
3.34426e-08
1.37992e-09
3.31893e-08
1.33924e-09
3.29356e-08
1.30069e-09
3.26818e-08
1.26407e-09
3.24282e-08
1.2292e-09
3.2175e-08
1.19595e-09
3.19224e-08
1.16418e-09
3.16708e-08
1.13379e-09
3.14203e-08
1.10467e-09
3.11711e-08
1.07675e-09
3.09233e-08
1.04995e-09
3.06771e-08
1.02418e-09
3.04327e-08
9.99398e-10
3.01902e-08
9.7553e-10
2.99497e-08
9.52525e-10
2.97113e-08
9.30333e-10
2.94751e-08
9.08907e-10
2.92412e-08
8.88204e-10
2.90096e-08
8.68183e-10
2.87805e-08
8.48807e-10
2.85538e-08
8.3004e-10
2.83297e-08
8.11849e-10
2.81081e-08
7.94204e-10
2.78892e-08
7.77073e-10
2.76729e-08
7.60431e-10
2.74593e-08
7.44249e-10
2.72484e-08
7.28502e-10
2.70402e-08
7.13167e-10
2.68348e-08
6.9822e-10
2.66321e-08
6.83638e-10
2.64322e-08
6.69401e-10
2.62351e-08
6.55487e-10
2.60408e-08
6.41876e-10
2.58493e-08
6.2855e-10
2.56606e-08
6.15489e-10
2.54748e-08
6.02674e-10
2.52918e-08
5.90088e-10
2.51116e-08
5.77712e-10
2.49343e-08
5.65531e-10
2.47598e-08
5.53527e-10
2.45883e-08
5.41683e-10
2.44196e-08
5.29984e-10
2.42539e-08
5.18413e-10
2.4091e-08
5.06954e-10
2.39312e-08
4.95592e-10
2.37743e-08
4.84313e-10
2.36204e-08
4.731e-10
2.34695e-08
4.61941e-10
2.33217e-08
4.5082e-10
2.3177e-08
4.39724e-10
2.30354e-08
4.2864e-10
2.28969e-08
4.17555e-10
2.27617e-08
4.06459e-10
2.26297e-08
3.9534e-10
2.2501e-08
3.84188e-10
2.23756e-08
3.72997e-10
2.22536e-08
3.61758e-10
2.2135e-08
3.5047e-10
2.20199e-08
3.3913e-10
2.19084e-08
3.27741e-10
2.18004e-08
3.16308e-10
2.16961e-08
3.04844e-10
2.15954e-08
2.93365e-10
2.14985e-08
2.81896e-10
2.14053e-08
2.70475e-10
2.13158e-08
2.59155e-10
2.123e-08
2.48021e-10
2.11479e-08
2.37214e-10
2.10693e-08
2.27005e-10
2.09941e-08
2.17988e-10
2.09216e-08
2.11749e-10
2.08518e-08
2.13415e-10
2.33227e-10
3.70777e-08
2.51708e-09
-3.69386e-08
3.72519e-08
2.83434e-09
3.74329e-08
3.05654e-09
3.76086e-08
3.20002e-09
3.77728e-08
3.28189e-09
3.79192e-08
3.31047e-09
3.80429e-08
3.29195e-09
3.81403e-08
3.23415e-09
3.82098e-08
3.14595e-09
3.82513e-08
3.03609e-09
3.82658e-08
2.91272e-09
3.82554e-08
2.78304e-09
3.82226e-08
2.65296e-09
3.81703e-08
2.52696e-09
3.81014e-08
2.40806e-09
3.80184e-08
2.29798e-09
3.79235e-08
2.19741e-09
3.78186e-08
2.10626e-09
3.77051e-08
2.02395e-09
3.75841e-08
1.94965e-09
3.74566e-08
1.88237e-09
3.73232e-08
1.82118e-09
3.71844e-08
1.7652e-09
3.70407e-08
1.71365e-09
3.68924e-08
1.66587e-09
3.67398e-08
1.62133e-09
3.65832e-08
1.57956e-09
3.64229e-08
1.54022e-09
3.62592e-08
1.503e-09
3.60922e-08
1.46766e-09
3.59223e-08
1.43401e-09
3.57496e-08
1.40188e-09
3.55744e-08
1.37114e-09
3.53969e-08
1.34166e-09
3.52174e-08
1.31334e-09
3.50359e-08
1.28609e-09
3.48529e-08
1.25984e-09
3.46683e-08
1.2345e-09
3.44825e-08
1.21002e-09
3.42955e-08
1.18634e-09
3.41077e-08
1.1634e-09
3.3919e-08
1.14116e-09
3.37298e-08
1.11957e-09
3.35401e-08
1.0986e-09
3.33501e-08
1.07821e-09
3.31599e-08
1.05836e-09
3.29697e-08
1.03902e-09
3.27796e-08
1.02017e-09
3.25897e-08
1.00177e-09
3.24001e-08
9.83795e-10
3.22109e-08
9.66229e-10
3.20223e-08
9.49045e-10
3.18343e-08
9.3222e-10
3.16471e-08
9.15734e-10
3.14607e-08
8.99566e-10
3.12752e-08
8.83697e-10
3.10908e-08
8.68108e-10
3.09074e-08
8.52781e-10
3.07252e-08
8.37698e-10
3.05442e-08
8.22841e-10
3.03646e-08
8.08193e-10
3.01863e-08
7.93738e-10
3.00095e-08
7.79459e-10
2.98343e-08
7.65339e-10
2.96606e-08
7.51362e-10
2.94886e-08
7.37511e-10
2.93184e-08
7.23771e-10
2.915e-08
7.10125e-10
2.89834e-08
6.96556e-10
2.88187e-08
6.83049e-10
2.86561e-08
6.69588e-10
2.84955e-08
6.56157e-10
2.83371e-08
6.42739e-10
2.81809e-08
6.29319e-10
2.8027e-08
6.1588e-10
2.78754e-08
6.02409e-10
2.77262e-08
5.88888e-10
2.75795e-08
5.75305e-10
2.74355e-08
5.61644e-10
2.7294e-08
5.47892e-10
2.71553e-08
5.34038e-10
2.70194e-08
5.2007e-10
2.68865e-08
5.05978e-10
2.67565e-08
4.91757e-10
2.66295e-08
4.77401e-10
2.65057e-08
4.62909e-10
2.63852e-08
4.48285e-10
2.6268e-08
4.33536e-10
2.61541e-08
4.18677e-10
2.60438e-08
4.03731e-10
2.59369e-08
3.88729e-10
2.58337e-08
3.73719e-10
2.57341e-08
3.58771e-10
2.56381e-08
3.43992e-10
2.55458e-08
3.29559e-10
2.5457e-08
3.15797e-10
2.53716e-08
3.03374e-10
2.52895e-08
2.93878e-10
2.52115e-08
2.91358e-10
3.00463e-10
3.78271e-08
2.39835e-09
-3.77083e-08
3.79799e-08
2.68153e-09
3.81447e-08
2.8917e-09
3.831e-08
3.03475e-09
3.84696e-08
3.12222e-09
3.86187e-08
3.16144e-09
3.87527e-08
3.15792e-09
3.88686e-08
3.11825e-09
3.89646e-08
3.04999e-09
3.90399e-08
2.96074e-09
3.9095e-08
2.85765e-09
3.91309e-08
2.7471e-09
3.91494e-08
2.63446e-09
3.91525e-08
2.52391e-09
3.91421e-08
2.41841e-09
3.91203e-08
2.31979e-09
3.90887e-08
2.22897e-09
3.90489e-08
2.14613e-09
3.90018e-08
2.07099e-09
3.89485e-08
2.00296e-09
3.88896e-08
1.94131e-09
3.88255e-08
1.88524e-09
3.87567e-08
1.83402e-09
3.86834e-08
1.78697e-09
3.86058e-08
1.74349e-09
3.8524e-08
1.70308e-09
3.84383e-08
1.66531e-09
3.83487e-08
1.62983e-09
3.82553e-08
1.59636e-09
3.81583e-08
1.56466e-09
3.80578e-08
1.53453e-09
3.79539e-08
1.5058e-09
3.78467e-08
1.47834e-09
3.77363e-08
1.45202e-09
3.76229e-08
1.42673e-09
3.75066e-08
1.4024e-09
3.73875e-08
1.37893e-09
3.72657e-08
1.35626e-09
3.71414e-08
1.33432e-09
3.70147e-08
1.31305e-09
3.68857e-08
1.2924e-09
3.67546e-08
1.27233e-09
3.66213e-08
1.2528e-09
3.64862e-08
1.23375e-09
3.63492e-08
1.21516e-09
3.62106e-08
1.197e-09
3.60704e-08
1.17924e-09
3.59287e-08
1.16184e-09
3.57857e-08
1.14478e-09
3.56414e-08
1.12803e-09
3.54961e-08
1.11159e-09
3.53497e-08
1.09541e-09
3.52025e-08
1.07948e-09
3.50544e-08
1.06379e-09
3.49057e-08
1.04831e-09
3.47563e-08
1.03303e-09
3.46065e-08
1.01792e-09
3.44563e-08
1.00297e-09
3.43059e-08
9.88172e-10
3.41552e-08
9.73499e-10
3.40045e-08
9.58937e-10
3.38537e-08
9.44471e-10
3.37031e-08
9.30085e-10
3.35527e-08
9.15763e-10
3.34025e-08
9.01489e-10
3.32528e-08
8.87248e-10
3.31036e-08
8.73022e-10
3.29549e-08
8.58796e-10
3.28069e-08
8.44553e-10
3.26597e-08
8.30278e-10
3.25133e-08
8.15953e-10
3.23679e-08
8.01561e-10
3.22235e-08
7.87087e-10
3.20803e-08
7.72512e-10
3.19384e-08
7.5782e-10
3.17978e-08
7.42996e-10
3.16587e-08
7.28021e-10
3.15211e-08
7.1288e-10
3.13852e-08
6.97557e-10
3.12511e-08
6.82039e-10
3.11188e-08
6.66311e-10
3.09885e-08
6.5036e-10
3.08603e-08
6.34178e-10
3.07343e-08
6.17756e-10
3.06106e-08
6.0109e-10
3.04893e-08
5.84179e-10
3.03706e-08
5.67026e-10
3.02545e-08
5.49643e-10
3.01411e-08
5.32047e-10
3.00306e-08
5.14264e-10
2.9923e-08
4.96335e-10
2.98184e-08
4.78318e-10
2.97168e-08
4.60297e-10
2.96184e-08
4.42399e-10
2.95232e-08
4.24831e-10
2.9431e-08
4.07947e-10
2.9342e-08
3.92424e-10
2.92562e-08
3.79642e-10
2.91753e-08
3.72246e-10
3.69891e-10
3.85835e-08
2.29481e-09
-3.84799e-08
3.87179e-08
2.54709e-09
3.88665e-08
2.74311e-09
3.90185e-08
2.88274e-09
3.91679e-08
2.97285e-09
3.931e-08
3.01927e-09
3.94411e-08
3.02684e-09
3.95583e-08
3.0011e-09
3.96598e-08
2.94846e-09
3.9745e-08
2.87554e-09
3.9814e-08
2.78866e-09
3.98676e-08
2.6935e-09
3.99071e-08
2.59495e-09
3.99341e-08
2.4969e-09
3.99503e-08
2.40222e-09
3.99573e-08
2.3128e-09
3.99565e-08
2.22972e-09
3.99493e-08
2.15339e-09
3.99365e-08
2.08376e-09
3.9919e-08
2.02047e-09
3.98973e-08
1.96297e-09
3.98719e-08
1.91064e-09
3.98431e-08
1.86287e-09
3.9811e-08
1.81907e-09
3.97758e-08
1.77871e-09
3.97375e-08
1.74134e-09
3.96963e-08
1.70655e-09
3.96521e-08
1.67403e-09
3.9605e-08
1.64347e-09
3.95549e-08
1.61467e-09
3.95021e-08
1.5874e-09
3.94464e-08
1.56152e-09
3.93878e-08
1.53687e-09
3.93265e-08
1.51333e-09
3.92625e-08
1.49079e-09
3.91957e-08
1.46916e-09
3.91263e-08
1.44836e-09
3.90542e-08
1.42831e-09
3.89796e-08
1.40894e-09
3.89024e-08
1.3902e-09
3.88228e-08
1.37202e-09
3.87408e-08
1.35436e-09
3.86564e-08
1.33718e-09
3.85697e-08
1.32043e-09
3.84808e-08
1.30407e-09
3.83898e-08
1.28808e-09
3.82966e-08
1.27241e-09
3.82014e-08
1.25704e-09
3.81042e-08
1.24194e-09
3.80052e-08
1.22709e-09
3.79043e-08
1.21246e-09
3.78017e-08
1.19802e-09
3.76974e-08
1.18376e-09
3.75915e-08
1.16966e-09
3.74841e-08
1.15569e-09
3.73753e-08
1.14184e-09
3.72652e-08
1.12808e-09
3.71537e-08
1.11441e-09
3.70411e-08
1.10079e-09
3.69274e-08
1.08723e-09
3.68126e-08
1.07369e-09
3.66969e-08
1.06016e-09
3.65804e-08
1.04662e-09
3.64631e-08
1.03306e-09
3.63451e-08
1.01946e-09
3.62266e-08
1.0058e-09
3.61075e-08
9.92073e-10
3.59881e-08
9.78249e-10
3.58683e-08
9.64316e-10
3.57483e-08
9.50256e-10
3.56282e-08
9.36049e-10
3.55081e-08
9.21679e-10
3.53881e-08
9.07126e-10
3.52682e-08
8.92372e-10
3.51486e-08
8.77399e-10
3.50295e-08
8.62187e-10
3.49108e-08
8.46719e-10
3.47927e-08
8.30977e-10
3.46753e-08
8.14942e-10
3.45587e-08
7.986e-10
3.44431e-08
7.81934e-10
3.43285e-08
7.64931e-10
3.42151e-08
7.4758e-10
3.4103e-08
7.29871e-10
3.39923e-08
7.11799e-10
3.38831e-08
6.93365e-10
3.37756e-08
6.74572e-10
3.36698e-08
6.55433e-10
3.35658e-08
6.35968e-10
3.34639e-08
6.16208e-10
3.3364e-08
5.96199e-10
3.32663e-08
5.76009e-10
3.31709e-08
5.55734e-10
3.30778e-08
5.35519e-10
3.2987e-08
5.15586e-10
3.28987e-08
4.963e-10
3.28128e-08
4.78282e-10
3.27299e-08
4.6258e-10
3.26517e-08
4.50443e-10
4.3775e-10
3.93473e-08
2.20284e-09
-3.92554e-08
3.94666e-08
2.42789e-09
3.96005e-08
2.6092e-09
3.97396e-08
2.74358e-09
3.98781e-08
2.83439e-09
4.00115e-08
2.8859e-09
4.01362e-08
2.90214e-09
4.02495e-08
2.88775e-09
4.03498e-08
2.84812e-09
4.04364e-08
2.78899e-09
4.05092e-08
2.71589e-09
4.05688e-08
2.63391e-09
4.06162e-08
2.54746e-09
4.0653e-08
2.46016e-09
4.06804e-08
2.37477e-09
4.07e-08
2.29321e-09
4.07131e-08
2.21666e-09
4.07208e-08
2.14573e-09
4.0724e-08
2.08054e-09
4.07235e-08
2.02093e-09
4.07199e-08
1.96655e-09
4.07137e-08
1.91692e-09
4.0705e-08
1.87155e-09
4.06941e-08
1.82994e-09
4.06812e-08
1.79165e-09
4.06662e-08
1.75626e-09
4.06494e-08
1.72342e-09
4.06306e-08
1.69281e-09
4.06099e-08
1.66418e-09
4.05873e-08
1.63729e-09
4.05627e-08
1.61196e-09
4.05362e-08
1.58802e-09
4.05078e-08
1.56532e-09
4.04773e-08
1.54375e-09
4.04449e-08
1.5232e-09
4.04105e-08
1.50356e-09
4.03741e-08
1.48475e-09
4.03357e-08
1.4667e-09
4.02953e-08
1.44934e-09
4.02529e-08
1.4326e-09
4.02085e-08
1.41643e-09
4.01621e-08
1.40077e-09
4.01137e-08
1.38558e-09
4.00633e-08
1.37081e-09
4.0011e-08
1.35643e-09
3.99567e-08
1.34238e-09
3.99004e-08
1.32865e-09
3.98423e-08
1.3152e-09
3.97822e-08
1.30199e-09
3.97203e-08
1.289e-09
3.96566e-08
1.2762e-09
3.9591e-08
1.26356e-09
3.95237e-08
1.25107e-09
3.94547e-08
1.2387e-09
3.9384e-08
1.22642e-09
3.93116e-08
1.21422e-09
3.92376e-08
1.20207e-09
3.9162e-08
1.18996e-09
3.9085e-08
1.17786e-09
3.90065e-08
1.16575e-09
3.89265e-08
1.15362e-09
3.88452e-08
1.14144e-09
3.87627e-08
1.1292e-09
3.86788e-08
1.11687e-09
3.85939e-08
1.10445e-09
3.85078e-08
1.0919e-09
3.84206e-08
1.07921e-09
3.83325e-08
1.06636e-09
3.82435e-08
1.05333e-09
3.81537e-08
1.0401e-09
3.80631e-08
1.02664e-09
3.79718e-08
1.01294e-09
3.78799e-08
9.98982e-10
3.77876e-08
9.84735e-10
3.76948e-08
9.70182e-10
3.76017e-08
9.55302e-10
3.75083e-08
9.40074e-10
3.74148e-08
9.24478e-10
3.73213e-08
9.08493e-10
3.72278e-08
8.921e-10
3.71344e-08
8.75284e-10
3.70413e-08
8.58026e-10
3.69486e-08
8.40316e-10
3.68563e-08
8.22141e-10
3.67646e-08
8.03496e-10
3.66736e-08
7.84379e-10
3.65834e-08
7.64796e-10
3.64941e-08
7.44759e-10
3.64057e-08
7.2429e-10
3.63185e-08
7.03425e-10
3.62325e-08
6.82213e-10
3.61478e-08
6.6073e-10
3.60644e-08
6.39081e-10
3.59825e-08
6.17422e-10
3.59021e-08
5.95982e-10
3.58233e-08
5.75112e-10
3.57463e-08
5.55342e-10
3.56715e-08
5.37353e-10
3.56007e-08
5.21243e-10
5.00652e-10
4.01192e-08
2.11992e-09
-4.00363e-08
4.02259e-08
2.32125e-09
4.03469e-08
2.48818e-09
4.04742e-08
2.6162e-09
4.06023e-08
2.7063e-09
4.07269e-08
2.7613e-09
4.08447e-08
2.78441e-09
4.0953e-08
2.77944e-09
4.10502e-08
2.75094e-09
4.11354e-08
2.70377e-09
4.12085e-08
2.64279e-09
4.12699e-08
2.5725e-09
4.13205e-08
2.49689e-09
4.13613e-08
2.4193e-09
4.13938e-08
2.34234e-09
4.1419e-08
2.26793e-09
4.14384e-08
2.19732e-09
4.14529e-08
2.13125e-09
4.14634e-08
2.07001e-09
4.14707e-08
2.01361e-09
4.14754e-08
1.96184e-09
4.1478e-08
1.91438e-09
4.14787e-08
1.87084e-09
4.14778e-08
1.83083e-09
4.14755e-08
1.79397e-09
4.14718e-08
1.7599e-09
4.14669e-08
1.72831e-09
4.14608e-08
1.6989e-09
4.14536e-08
1.67145e-09
4.14451e-08
1.64574e-09
4.14355e-08
1.62159e-09
4.14247e-08
1.59884e-09
4.14126e-08
1.57735e-09
4.13994e-08
1.557e-09
4.13849e-08
1.53769e-09
4.13691e-08
1.51932e-09
4.13521e-08
1.5018e-09
4.13337e-08
1.48505e-09
4.13141e-08
1.46902e-09
4.1293e-08
1.45363e-09
4.12706e-08
1.43883e-09
4.12469e-08
1.42455e-09
4.12217e-08
1.41077e-09
4.11951e-08
1.39742e-09
4.1167e-08
1.38446e-09
4.11376e-08
1.37187e-09
4.11066e-08
1.35959e-09
4.10742e-08
1.3476e-09
4.10403e-08
1.33586e-09
4.1005e-08
1.32434e-09
4.09682e-08
1.31302e-09
4.09299e-08
1.30187e-09
4.08901e-08
1.29085e-09
4.08488e-08
1.27995e-09
4.08061e-08
1.26913e-09
4.0762e-08
1.25838e-09
4.07164e-08
1.24768e-09
4.06693e-08
1.23699e-09
4.06209e-08
1.2263e-09
4.0571e-08
1.21559e-09
4.05198e-08
1.20483e-09
4.04673e-08
1.194e-09
4.04134e-08
1.18308e-09
4.03582e-08
1.17204e-09
4.03018e-08
1.16088e-09
4.02441e-08
1.14956e-09
4.01853e-08
1.13805e-09
4.01253e-08
1.12635e-09
4.00642e-08
1.11443e-09
4.0002e-08
1.10225e-09
3.99389e-08
1.08981e-09
3.98748e-08
1.07707e-09
3.98097e-08
1.06402e-09
3.97438e-08
1.05062e-09
3.96771e-08
1.03686e-09
3.96097e-08
1.02271e-09
3.95417e-08
1.00815e-09
3.9473e-08
9.93145e-10
3.94038e-08
9.77685e-10
3.93342e-08
9.61744e-10
3.92641e-08
9.45303e-10
3.91938e-08
9.28342e-10
3.91233e-08
9.10848e-10
3.90526e-08
8.92807e-10
3.89819e-08
8.74211e-10
3.89112e-08
8.55059e-10
3.88407e-08
8.35355e-10
3.87703e-08
8.15111e-10
3.87003e-08
7.9435e-10
3.86306e-08
7.7311e-10
3.85613e-08
7.51446e-10
3.84926e-08
7.29435e-10
3.84245e-08
7.07191e-10
3.83571e-08
6.84873e-10
3.82904e-08
6.62709e-10
3.82244e-08
6.41023e-10
3.81596e-08
6.20235e-10
3.80962e-08
6.007e-10
3.80357e-08
5.81734e-10
5.56243e-10
4.08997e-08
2.04426e-09
-4.0824e-08
4.09959e-08
2.22504e-09
4.11057e-08
2.3784e-09
4.12224e-08
2.49949e-09
4.13409e-08
2.58783e-09
4.14572e-08
2.64502e-09
4.15681e-08
2.67351e-09
4.16711e-08
2.67639e-09
4.17646e-08
2.65741e-09
4.18477e-08
2.62072e-09
4.192e-08
2.5705e-09
4.19818e-08
2.51074e-09
4.20336e-08
2.445e-09
4.20766e-08
2.37636e-09
4.21116e-08
2.30727e-09
4.214e-08
2.2396e-09
4.21626e-08
2.17464e-09
4.21807e-08
2.11323e-09
4.21949e-08
2.05578e-09
4.22061e-08
2.00244e-09
4.22148e-08
1.95314e-09
4.22215e-08
1.90767e-09
4.22265e-08
1.86577e-09
4.22302e-08
1.82713e-09
4.22328e-08
1.79142e-09
4.22343e-08
1.75837e-09
4.2235e-08
1.72768e-09
4.22348e-08
1.69911e-09
4.22338e-08
1.67244e-09
4.2232e-08
1.64749e-09
4.22295e-08
1.62407e-09
4.22263e-08
1.60204e-09
4.22224e-08
1.58128e-09
4.22178e-08
1.56165e-09
4.22124e-08
1.54308e-09
4.22062e-08
1.52545e-09
4.21994e-08
1.50869e-09
4.21917e-08
1.49272e-09
4.21832e-08
1.47748e-09
4.2174e-08
1.4629e-09
4.21639e-08
1.44892e-09
4.21529e-08
1.4355e-09
4.21411e-08
1.42259e-09
4.21284e-08
1.41013e-09
4.21148e-08
1.39809e-09
4.21002e-08
1.38642e-09
4.20847e-08
1.3751e-09
4.20682e-08
1.36407e-09
4.20508e-08
1.35332e-09
4.20323e-08
1.34281e-09
4.20128e-08
1.33251e-09
4.19923e-08
1.32239e-09
4.19707e-08
1.31242e-09
4.19481e-08
1.30258e-09
4.19244e-08
1.29284e-09
4.18996e-08
1.28317e-09
4.18737e-08
1.27356e-09
4.18467e-08
1.26397e-09
4.18186e-08
1.25438e-09
4.17895e-08
1.24476e-09
4.17592e-08
1.2351e-09
4.17278e-08
1.22538e-09
4.16953e-08
1.21555e-09
4.16618e-08
1.20561e-09
4.16271e-08
1.19553e-09
4.15914e-08
1.18528e-09
4.15546e-08
1.17484e-09
4.15168e-08
1.16419e-09
4.14779e-08
1.15329e-09
4.1438e-08
1.14213e-09
4.13971e-08
1.13068e-09
4.13553e-08
1.11891e-09
4.13125e-08
1.1068e-09
4.12688e-08
1.09431e-09
4.12243e-08
1.08143e-09
4.11789e-08
1.06812e-09
4.11326e-08
1.05437e-09
4.10857e-08
1.04013e-09
4.10379e-08
1.0254e-09
4.09895e-08
1.01014e-09
4.09405e-08
9.94335e-10
4.08909e-08
9.77961e-10
4.08407e-08
9.61001e-10
4.07901e-08
9.43442e-10
4.0739e-08
9.25274e-10
4.06876e-08
9.06493e-10
4.06359e-08
8.87103e-10
4.05839e-08
8.67117e-10
4.05316e-08
8.46557e-10
4.04793e-08
8.25464e-10
4.04268e-08
8.03892e-10
4.03744e-08
7.81924e-10
4.03219e-08
7.59675e-10
4.02694e-08
7.37305e-10
4.02171e-08
7.15033e-10
4.0165e-08
6.93147e-10
4.01133e-08
6.71967e-10
4.00624e-08
6.51604e-10
4.00131e-08
6.30971e-10
6.03438e-10
4.16894e-08
1.97457e-09
-4.16197e-08
4.17769e-08
2.13755e-09
4.18769e-08
2.27836e-09
4.1984e-08
2.39236e-09
4.20937e-08
2.47818e-09
4.22022e-08
2.53653e-09
4.23066e-08
2.56914e-09
4.24044e-08
2.5785e-09
4.24942e-08
2.56766e-09
4.25748e-08
2.54012e-09
4.26458e-08
2.49947e-09
4.27074e-08
2.4492e-09
4.27599e-08
2.39251e-09
4.2804e-08
2.33217e-09
4.28408e-08
2.27049e-09
4.28712e-08
2.20925e-09
4.28961e-08
2.14976e-09
4.29164e-08
2.0929e-09
4.2933e-08
2.03921e-09
4.29465e-08
1.98893e-09
4.29575e-08
1.94211e-09
4.29665e-08
1.89865e-09
4.29739e-08
1.85838e-09
4.298e-08
1.82107e-09
4.29849e-08
1.78647e-09
4.29889e-08
1.75435e-09
4.29922e-08
1.72446e-09
4.29947e-08
1.69659e-09
4.29966e-08
1.67055e-09
4.29979e-08
1.64616e-09
4.29987e-08
1.62327e-09
4.2999e-08
1.60175e-09
4.29988e-08
1.58146e-09
4.29982e-08
1.5623e-09
4.2997e-08
1.54418e-09
4.29955e-08
1.527e-09
4.29935e-08
1.5107e-09
4.2991e-08
1.49518e-09
4.29881e-08
1.4804e-09
4.29847e-08
1.46629e-09
4.29808e-08
1.4528e-09
4.29765e-08
1.43987e-09
4.29716e-08
1.42745e-09
4.29662e-08
1.41551e-09
4.29603e-08
1.404e-09
4.29538e-08
1.39288e-09
4.29468e-08
1.38212e-09
4.29392e-08
1.37168e-09
4.2931e-08
1.36152e-09
4.29222e-08
1.35162e-09
4.29128e-08
1.34195e-09
4.29027e-08
1.33248e-09
4.28919e-08
1.32317e-09
4.28805e-08
1.31401e-09
4.28684e-08
1.30496e-09
4.28556e-08
1.296e-09
4.2842e-08
1.28711e-09
4.28277e-08
1.27825e-09
4.28127e-08
1.26941e-09
4.27969e-08
1.26056e-09
4.27803e-08
1.25167e-09
4.2763e-08
1.24272e-09
4.27449e-08
1.23369e-09
4.27259e-08
1.22455e-09
4.27062e-08
1.21527e-09
4.26856e-08
1.20584e-09
4.26643e-08
1.19621e-09
4.26421e-08
1.18637e-09
4.26191e-08
1.17629e-09
4.25952e-08
1.16595e-09
4.25706e-08
1.15531e-09
4.25452e-08
1.14435e-09
4.25189e-08
1.13304e-09
4.24919e-08
1.12135e-09
4.24641e-08
1.10925e-09
4.24355e-08
1.09672e-09
4.24061e-08
1.08372e-09
4.2376e-08
1.07024e-09
4.23452e-08
1.05623e-09
4.23136e-08
1.04168e-09
4.22814e-08
1.02657e-09
4.22485e-08
1.01086e-09
4.2215e-08
9.94541e-10
4.21808e-08
9.776e-10
4.21461e-08
9.60023e-10
4.21108e-08
9.41807e-10
4.20749e-08
9.22954e-10
4.20385e-08
9.03476e-10
4.20017e-08
8.83398e-10
4.19644e-08
8.62757e-10
4.19267e-08
8.41614e-10
4.18886e-08
8.20049e-10
4.18501e-08
7.98179e-10
4.18112e-08
7.76161e-10
4.1772e-08
7.54201e-10
4.17326e-08
7.32553e-10
4.16931e-08
7.11452e-10
4.16539e-08
6.9086e-10
4.16152e-08
6.69616e-10
6.423e-10
4.2489e-08
1.90992e-09
-4.24243e-08
4.25691e-08
2.05745e-09
4.26606e-08
2.18681e-09
4.27592e-08
2.29379e-09
4.28608e-08
2.3766e-09
4.2962e-08
2.43527e-09
4.30602e-08
2.47097e-09
4.31531e-08
2.48561e-09
4.32391e-08
2.48169e-09
4.33171e-08
2.46211e-09
4.33866e-08
2.42995e-09
4.34476e-08
2.38823e-09
4.35003e-08
2.3398e-09
4.35453e-08
2.28716e-09
4.35834e-08
2.23243e-09
4.36153e-08
2.17733e-09
4.36419e-08
2.12314e-09
4.3664e-08
2.07077e-09
4.36824e-08
2.02083e-09
4.36977e-08
1.97365e-09
4.37104e-08
1.92937e-09
4.37211e-08
1.88799e-09
4.37301e-08
1.84942e-09
4.37376e-08
1.8135e-09
4.3744e-08
1.78006e-09
4.37495e-08
1.74889e-09
4.37542e-08
1.71981e-09
4.37581e-08
1.69263e-09
4.37615e-08
1.66719e-09
4.37643e-08
1.64333e-09
4.37667e-08
1.62091e-09
4.37686e-08
1.59981e-09
4.37701e-08
1.57991e-09
4.37713e-08
1.56111e-09
4.37722e-08
1.54333e-09
4.37727e-08
1.52647e-09
4.3773e-08
1.51047e-09
4.37729e-08
1.49526e-09
4.37725e-08
1.48077e-09
4.37719e-08
1.46695e-09
4.37709e-08
1.45374e-09
4.37697e-08
1.4411e-09
4.37681e-08
1.42898e-09
4.37663e-08
1.41734e-09
4.37642e-08
1.40613e-09
4.37618e-08
1.39532e-09
4.3759e-08
1.38488e-09
4.37559e-08
1.37476e-09
4.37525e-08
1.36495e-09
4.37487e-08
1.3554e-09
4.37446e-08
1.34608e-09
4.37401e-08
1.33698e-09
4.37352e-08
1.32806e-09
4.37299e-08
1.31929e-09
4.37242e-08
1.31065e-09
4.37181e-08
1.30212e-09
4.37115e-08
1.29366e-09
4.37045e-08
1.28525e-09
4.36971e-08
1.27687e-09
4.36891e-08
1.26849e-09
4.36807e-08
1.26009e-09
4.36718e-08
1.25164e-09
4.36624e-08
1.24312e-09
4.36524e-08
1.23451e-09
4.36419e-08
1.22576e-09
4.36309e-08
1.21687e-09
4.36193e-08
1.2078e-09
4.36071e-08
1.19853e-09
4.35944e-08
1.18903e-09
4.35811e-08
1.17926e-09
4.35672e-08
1.16922e-09
4.35527e-08
1.15885e-09
4.35376e-08
1.14815e-09
4.35219e-08
1.13707e-09
4.35055e-08
1.12558e-09
4.34886e-08
1.11367e-09
4.3471e-08
1.10129e-09
4.34528e-08
1.08843e-09
4.3434e-08
1.07504e-09
4.34146e-08
1.06112e-09
4.33945e-08
1.04662e-09
4.33739e-08
1.03153e-09
4.33526e-08
1.01583e-09
4.33307e-08
9.99504e-10
4.33081e-08
9.82538e-10
4.3285e-08
9.64927e-10
4.32613e-08
9.46676e-10
4.3237e-08
9.27797e-10
4.32121e-08
9.08313e-10
4.31866e-08
8.88265e-10
4.31605e-08
8.67712e-10
4.31338e-08
8.46736e-10
4.31065e-08
8.25452e-10
4.30787e-08
8.04012e-10
4.30502e-08
7.8261e-10
4.30213e-08
7.61467e-10
4.2992e-08
7.4076e-10
4.29625e-08
7.20389e-10
4.29328e-08
6.99337e-10
6.73719e-10
4.3299e-08
1.84959e-09
-4.32387e-08
4.33728e-08
1.98364e-09
4.3457e-08
2.10265e-09
4.35479e-08
2.20288e-09
4.36421e-08
2.28236e-09
4.37367e-08
2.34071e-09
4.3829e-08
2.37862e-09
4.39171e-08
2.39754e-09
4.39993e-08
2.39945e-09
4.40747e-08
2.38677e-09
4.41425e-08
2.36209e-09
4.42027e-08
2.32805e-09
4.42554e-08
2.28714e-09
4.43009e-08
2.24161e-09
4.43399e-08
2.19341e-09
4.43731e-08
2.14414e-09
4.44012e-08
2.09506e-09
4.44249e-08
2.04709e-09
4.44448e-08
2.00088e-09
4.44616e-08
1.95683e-09
4.44758e-08
1.91516e-09
4.44879e-08
1.87594e-09
4.44982e-08
1.83915e-09
4.45069e-08
1.80471e-09
4.45145e-08
1.7725e-09
4.4521e-08
1.74236e-09
4.45267e-08
1.71415e-09
4.45316e-08
1.68771e-09
4.45359e-08
1.6629e-09
4.45397e-08
1.63958e-09
4.45429e-08
1.61764e-09
4.45458e-08
1.59696e-09
4.45482e-08
1.57744e-09
4.45504e-08
1.55898e-09
4.45522e-08
1.5415e-09
4.45538e-08
1.52492e-09
4.4555e-08
1.50918e-09
4.45561e-08
1.49421e-09
4.45569e-08
1.47995e-09
4.45575e-08
1.46635e-09
4.45579e-08
1.45335e-09
4.45581e-08
1.4409e-09
4.45581e-08
1.42898e-09
4.45579e-08
1.41753e-09
4.45575e-08
1.40651e-09
4.4557e-08
1.39589e-09
4.45562e-08
1.38564e-09
4.45553e-08
1.37571e-09
4.45541e-08
1.36609e-09
4.45528e-08
1.35674e-09
4.45512e-08
1.34763e-09
4.45495e-08
1.33874e-09
4.45475e-08
1.33003e-09
4.45453e-08
1.32149e-09
4.45429e-08
1.31308e-09
4.45402e-08
1.30478e-09
4.45373e-08
1.29657e-09
4.45341e-08
1.28842e-09
4.45307e-08
1.28031e-09
4.4527e-08
1.2722e-09
4.4523e-08
1.26409e-09
4.45187e-08
1.25594e-09
4.45141e-08
1.24772e-09
4.45092e-08
1.23942e-09
4.45039e-08
1.231e-09
4.44984e-08
1.22245e-09
4.44924e-08
1.21373e-09
4.44861e-08
1.20482e-09
4.44795e-08
1.19569e-09
4.44724e-08
1.18631e-09
4.4465e-08
1.17665e-09
4.44572e-08
1.1667e-09
4.44489e-08
1.15641e-09
4.44402e-08
1.14576e-09
4.44311e-08
1.13471e-09
4.44215e-08
1.12325e-09
4.44114e-08
1.11133e-09
4.44009e-08
1.09894e-09
4.43899e-08
1.08604e-09
4.43784e-08
1.07261e-09
4.43664e-08
1.05862e-09
4.43539e-08
1.04405e-09
4.43409e-08
1.02888e-09
4.43273e-08
1.01309e-09
4.43131e-08
9.96677e-10
4.42984e-08
9.79631e-10
4.42832e-08
9.61958e-10
4.42673e-08
9.43669e-10
4.42508e-08
9.24791e-10
4.42337e-08
9.05364e-10
4.4216e-08
8.85447e-10
4.41976e-08
8.65124e-10
4.41785e-08
8.44506e-10
4.41588e-08
8.23742e-10
4.41384e-08
8.03011e-10
4.41174e-08
7.8251e-10
4.40957e-08
7.62384e-10
4.40736e-08
7.42533e-10
4.40507e-08
7.22209e-10
6.99024e-10
4.41201e-08
1.793e-09
-4.40635e-08
4.41884e-08
1.91529e-09
4.42661e-08
2.02496e-09
4.43502e-08
2.11878e-09
4.44378e-08
2.1948e-09
4.45261e-08
2.25235e-09
4.4613e-08
2.29175e-09
4.46965e-08
2.31406e-09
4.47751e-08
2.32086e-09
4.48477e-08
2.31412e-09
4.49138e-08
2.29603e-09
4.4973e-08
2.26885e-09
4.50253e-08
2.23476e-09
4.50712e-08
2.19577e-09
4.51109e-08
2.15366e-09
4.51451e-08
2.10992e-09
4.51745e-08
2.06575e-09
4.51995e-08
2.02207e-09
4.52208e-08
1.97954e-09
4.5239e-08
1.93863e-09
4.52546e-08
1.89961e-09
4.52679e-08
1.86262e-09
4.52793e-08
1.8277e-09
4.52892e-08
1.79482e-09
4.52978e-08
1.76392e-09
4.53053e-08
1.73489e-09
4.53118e-08
1.70761e-09
4.53176e-08
1.68197e-09
4.53226e-08
1.65784e-09
4.53271e-08
1.63512e-09
4.5331e-08
1.6137e-09
4.53345e-08
1.59347e-09
4.53376e-08
1.57434e-09
4.53404e-08
1.55624e-09
4.53428e-08
1.53907e-09
4.53449e-08
1.52278e-09
4.53468e-08
1.5073e-09
4.53485e-08
1.49256e-09
4.53499e-08
1.47851e-09
4.53512e-08
1.4651e-09
4.53522e-08
1.45228e-09
4.53531e-08
1.44001e-09
4.53539e-08
1.42825e-09
4.53544e-08
1.41694e-09
4.53549e-08
1.40607e-09
4.53552e-08
1.39559e-09
4.53553e-08
1.38547e-09
4.53554e-08
1.37568e-09
4.53553e-08
1.36619e-09
4.5355e-08
1.35697e-09
4.53547e-08
1.34799e-09
4.53542e-08
1.33922e-09
4.53536e-08
1.33065e-09
4.53528e-08
1.32224e-09
4.5352e-08
1.31396e-09
4.53509e-08
1.3058e-09
4.53498e-08
1.29773e-09
4.53485e-08
1.28973e-09
4.5347e-08
1.28176e-09
4.53454e-08
1.27382e-09
4.53436e-08
1.26587e-09
4.53417e-08
1.25788e-09
4.53395e-08
1.24985e-09
4.53372e-08
1.24173e-09
4.53347e-08
1.23351e-09
4.5332e-08
1.22515e-09
4.53291e-08
1.21665e-09
4.5326e-08
1.20795e-09
4.53226e-08
1.19905e-09
4.5319e-08
1.18992e-09
4.53151e-08
1.18052e-09
4.5311e-08
1.17082e-09
4.53066e-08
1.16081e-09
4.53019e-08
1.15045e-09
4.52969e-08
1.1397e-09
4.52916e-08
1.12856e-09
4.5286e-08
1.11697e-09
4.528e-08
1.10492e-09
4.52736e-08
1.09239e-09
4.52669e-08
1.07933e-09
4.52598e-08
1.06573e-09
4.52523e-08
1.05158e-09
4.52443e-08
1.03684e-09
4.52359e-08
1.0215e-09
4.5227e-08
1.00556e-09
4.52177e-08
9.89006e-10
4.52078e-08
9.7185e-10
4.51973e-08
9.54103e-10
4.51863e-08
9.35792e-10
4.51747e-08
9.16958e-10
4.51625e-08
8.97663e-10
4.51497e-08
8.77988e-10
4.51361e-08
8.58045e-10
4.51219e-08
8.37975e-10
4.5107e-08
8.17947e-10
4.50913e-08
7.98141e-10
4.5075e-08
7.78689e-10
4.5058e-08
7.59536e-10
4.504e-08
7.40235e-10
7.19649e-10
4.49526e-08
1.73972e-09
-4.48994e-08
4.50163e-08
1.85167e-09
4.50883e-08
1.95295e-09
4.51663e-08
2.04078e-09
4.52478e-08
2.11329e-09
4.53304e-08
2.16967e-09
4.54122e-08
2.20999e-09
4.54913e-08
2.23496e-09
4.55663e-08
2.24583e-09
4.56363e-08
2.24418e-09
4.57005e-08
2.23186e-09
4.57585e-08
2.21078e-09
4.58104e-08
2.18285e-09
4.58563e-08
2.14986e-09
4.58966e-08
2.11341e-09
4.59316e-08
2.07487e-09
4.5962e-08
2.03539e-09
4.59882e-08
1.99586e-09
4.60108e-08
1.95696e-09
4.60302e-08
1.91917e-09
4.6047e-08
1.88283e-09
4.60615e-08
1.84811e-09
4.60741e-08
1.81512e-09
4.60851e-08
1.78388e-09
4.60946e-08
1.75436e-09
4.6103e-08
1.72651e-09
4.61104e-08
1.70024e-09
4.61169e-08
1.67546e-09
4.61226e-08
1.65208e-09
4.61278e-08
1.63e-09
4.61323e-08
1.60914e-09
4.61364e-08
1.5894e-09
4.614e-08
1.57071e-09
4.61432e-08
1.55299e-09
4.61461e-08
1.53617e-09
4.61487e-08
1.52019e-09
4.61511e-08
1.50498e-09
4.61531e-08
1.49048e-09
4.6155e-08
1.47666e-09
4.61566e-08
1.46345e-09
4.61581e-08
1.45082e-09
4.61594e-08
1.43872e-09
4.61605e-08
1.42711e-09
4.61615e-08
1.41595e-09
4.61624e-08
1.40521e-09
4.61631e-08
1.39486e-09
4.61637e-08
1.38486e-09
4.61642e-08
1.37518e-09
4.61646e-08
1.36579e-09
4.61649e-08
1.35667e-09
4.61651e-08
1.34779e-09
4.61652e-08
1.33912e-09
4.61653e-08
1.33064e-09
4.61652e-08
1.32232e-09
4.6165e-08
1.31413e-09
4.61647e-08
1.30607e-09
4.61644e-08
1.29809e-09
4.61639e-08
1.29017e-09
4.61634e-08
1.28231e-09
4.61628e-08
1.27446e-09
4.6162e-08
1.26661e-09
4.61612e-08
1.25873e-09
4.61602e-08
1.2508e-09
4.61592e-08
1.24279e-09
4.6158e-08
1.23469e-09
4.61567e-08
1.22646e-09
4.61552e-08
1.21808e-09
4.61537e-08
1.20953e-09
4.61519e-08
1.20077e-09
4.61501e-08
1.19179e-09
4.6148e-08
1.18255e-09
4.61458e-08
1.17303e-09
4.61434e-08
1.16321e-09
4.61408e-08
1.15304e-09
4.6138e-08
1.14251e-09
4.6135e-08
1.13158e-09
4.61317e-08
1.12024e-09
4.61282e-08
1.10844e-09
4.61244e-08
1.09618e-09
4.61203e-08
1.08341e-09
4.61159e-08
1.07013e-09
4.61112e-08
1.0563e-09
4.61062e-08
1.04191e-09
4.61007e-08
1.02695e-09
4.60949e-08
1.0114e-09
4.60886e-08
9.9528e-10
4.60819e-08
9.78579e-10
4.60746e-08
9.61317e-10
4.60669e-08
9.43523e-10
4.60586e-08
9.25239e-10
4.60498e-08
9.06527e-10
4.60403e-08
8.87469e-10
4.60302e-08
8.68174e-10
4.60193e-08
8.48779e-10
4.60079e-08
8.29446e-10
4.59956e-08
8.10342e-10
4.59827e-08
7.91601e-10
4.5969e-08
7.73235e-10
4.59542e-08
7.55074e-10
7.36896e-10
4.57973e-08
1.68939e-09
-4.57469e-08
4.58567e-08
1.79223e-09
4.59237e-08
1.88597e-09
4.59963e-08
1.96822e-09
4.60723e-08
2.03728e-09
4.61497e-08
2.09224e-09
4.62267e-08
2.13299e-09
4.63017e-08
2.16001e-09
4.63733e-08
2.17422e-09
4.64405e-08
2.17692e-09
4.65028e-08
2.16962e-09
4.65596e-08
2.15396e-09
4.66109e-08
2.13159e-09
4.66566e-08
2.10407e-09
4.66972e-08
2.07286e-09
4.67329e-08
2.0392e-09
4.67641e-08
2.00417e-09
4.67913e-08
1.96864e-09
4.6815e-08
1.93327e-09
4.68356e-08
1.89857e-09
4.68535e-08
1.8649e-09
4.68692e-08
1.83249e-09
4.68828e-08
1.80148e-09
4.68947e-08
1.77193e-09
4.69052e-08
1.74387e-09
4.69145e-08
1.71726e-09
4.69227e-08
1.69206e-09
4.69299e-08
1.6682e-09
4.69364e-08
1.64563e-09
4.69421e-08
1.62425e-09
4.69473e-08
1.60399e-09
4.69519e-08
1.58479e-09
4.6956e-08
1.56658e-09
4.69597e-08
1.54928e-09
4.69631e-08
1.53283e-09
4.69661e-08
1.51718e-09
4.69688e-08
1.50227e-09
4.69712e-08
1.48804e-09
4.69734e-08
1.47446e-09
4.69754e-08
1.46148e-09
4.69772e-08
1.44904e-09
4.69788e-08
1.43712e-09
4.69802e-08
1.42568e-09
4.69815e-08
1.41467e-09
4.69826e-08
1.40407e-09
4.69836e-08
1.39385e-09
4.69845e-08
1.38396e-09
4.69853e-08
1.3744e-09
4.6986e-08
1.36511e-09
4.69866e-08
1.35609e-09
4.69871e-08
1.3473e-09
4.69875e-08
1.33872e-09
4.69878e-08
1.33032e-09
4.6988e-08
1.32208e-09
4.69882e-08
1.31397e-09
4.69883e-08
1.30597e-09
4.69883e-08
1.29807e-09
4.69883e-08
1.29023e-09
4.69881e-08
1.28243e-09
4.69879e-08
1.27465e-09
4.69877e-08
1.26688e-09
4.69873e-08
1.25907e-09
4.69869e-08
1.25122e-09
4.69864e-08
1.24329e-09
4.69858e-08
1.23527e-09
4.69852e-08
1.22712e-09
4.69844e-08
1.21884e-09
4.69836e-08
1.21038e-09
4.69826e-08
1.20173e-09
4.69815e-08
1.19285e-09
4.69804e-08
1.18373e-09
4.69791e-08
1.17434e-09
4.69776e-08
1.16464e-09
4.6976e-08
1.15462e-09
4.69743e-08
1.14425e-09
4.69724e-08
1.13349e-09
4.69703e-08
1.12233e-09
4.6968e-08
1.11074e-09
4.69655e-08
1.09869e-09
4.69628e-08
1.08615e-09
4.69598e-08
1.07312e-09
4.69565e-08
1.05957e-09
4.69529e-08
1.04548e-09
4.6949e-08
1.03084e-09
4.69448e-08
1.01565e-09
4.69402e-08
9.99898e-10
4.69351e-08
9.83605e-10
4.69297e-08
9.66783e-10
4.69237e-08
9.49462e-10
4.69173e-08
9.31687e-10
4.69103e-08
9.13519e-10
4.69027e-08
8.95042e-10
4.68945e-08
8.76362e-10
4.68857e-08
8.57613e-10
4.68762e-08
8.38949e-10
4.6866e-08
8.20534e-10
4.68551e-08
8.02512e-10
4.68434e-08
7.84965e-10
4.68305e-08
7.67946e-10
7.51816e-10
4.66544e-08
1.64171e-09
-4.66067e-08
4.67102e-08
1.73648e-09
4.67727e-08
1.82344e-09
4.68404e-08
1.90054e-09
4.69114e-08
1.96623e-09
4.6984e-08
2.01962e-09
4.70566e-08
2.06043e-09
4.71276e-08
2.08897e-09
4.71959e-08
2.10591e-09
4.72606e-08
2.11229e-09
4.73208e-08
2.10936e-09
4.73763e-08
2.09849e-09
4.74268e-08
2.08109e-09
4.74723e-08
2.05856e-09
4.7513e-08
2.03217e-09
4.75491e-08
2.00307e-09
4.7581e-08
1.97226e-09
4.76091e-08
1.94055e-09
4.76338e-08
1.90861e-09
4.76554e-08
1.87694e-09
4.76744e-08
1.84593e-09
4.7691e-08
1.81583e-09
4.77057e-08
1.78683e-09
4.77186e-08
1.75903e-09
4.773e-08
1.73246e-09
4.77401e-08
1.70716e-09
4.77491e-08
1.68308e-09
4.77571e-08
1.66021e-09
4.77642e-08
1.63849e-09
4.77706e-08
1.61786e-09
4.77763e-08
1.59826e-09
4.77815e-08
1.57964e-09
4.77861e-08
1.56194e-09
4.77903e-08
1.54509e-09
4.77941e-08
1.52905e-09
4.77975e-08
1.51377e-09
4.78006e-08
1.49918e-09
4.78034e-08
1.48525e-09
4.78059e-08
1.47194e-09
4.78082e-08
1.45919e-09
4.78102e-08
1.44698e-09
4.78121e-08
1.43525e-09
4.78138e-08
1.42399e-09
4.78153e-08
1.41315e-09
4.78167e-08
1.4027e-09
4.78179e-08
1.39261e-09
4.7819e-08
1.38286e-09
4.782e-08
1.37341e-09
4.78209e-08
1.36424e-09
4.78217e-08
1.35532e-09
4.78223e-08
1.34662e-09
4.78229e-08
1.33813e-09
4.78234e-08
1.32981e-09
4.78239e-08
1.32165e-09
4.78242e-08
1.31362e-09
4.78245e-08
1.30569e-09
4.78247e-08
1.29786e-09
4.78249e-08
1.29008e-09
4.78249e-08
1.28235e-09
4.7825e-08
1.27464e-09
4.78249e-08
1.26692e-09
4.78248e-08
1.25918e-09
4.78246e-08
1.25139e-09
4.78244e-08
1.24353e-09
4.78241e-08
1.23558e-09
4.78237e-08
1.2275e-09
4.78232e-08
1.21929e-09
4.78227e-08
1.21091e-09
4.78221e-08
1.20234e-09
4.78214e-08
1.19356e-09
4.78206e-08
1.18453e-09
4.78197e-08
1.17524e-09
4.78187e-08
1.16565e-09
4.78175e-08
1.15575e-09
4.78163e-08
1.14551e-09
4.78149e-08
1.1349e-09
4.78133e-08
1.12389e-09
4.78116e-08
1.11247e-09
4.78096e-08
1.10061e-09
4.78075e-08
1.08828e-09
4.78052e-08
1.07547e-09
4.78026e-08
1.06216e-09
4.77997e-08
1.04833e-09
4.77966e-08
1.03399e-09
4.77931e-08
1.01911e-09
4.77893e-08
1.00371e-09
4.77851e-08
9.87794e-10
4.77805e-08
9.71381e-10
4.77755e-08
9.54503e-10
4.777e-08
9.37207e-10
4.77639e-08
9.19554e-10
4.77573e-08
9.01628e-10
4.77502e-08
8.83534e-10
4.77424e-08
8.65402e-10
4.77339e-08
8.47384e-10
4.77248e-08
8.2964e-10
4.7715e-08
8.1233e-10
4.77044e-08
7.95597e-10
4.76927e-08
7.79657e-10
7.65183e-10
4.75245e-08
1.59643e-09
-4.74792e-08
4.75769e-08
1.68403e-09
4.76355e-08
1.76489e-09
4.76988e-08
1.83724e-09
4.77653e-08
1.8997e-09
4.78335e-08
1.9514e-09
4.7902e-08
1.99199e-09
4.79693e-08
2.02161e-09
4.80345e-08
2.04076e-09
4.80965e-08
2.05025e-09
4.81548e-08
2.05108e-09
4.82088e-08
2.04443e-09
4.82584e-08
2.03149e-09
4.83035e-08
2.01347e-09
4.83442e-08
1.99151e-09
4.83806e-08
1.96665e-09
4.84131e-08
1.9398e-09
4.84419e-08
1.91174e-09
4.84674e-08
1.8831e-09
4.84899e-08
1.85439e-09
4.85099e-08
1.826e-09
4.85275e-08
1.79822e-09
4.85431e-08
1.77124e-09
4.85569e-08
1.74521e-09
4.85691e-08
1.72019e-09
4.85801e-08
1.69623e-09
4.85898e-08
1.67334e-09
4.85985e-08
1.6515e-09
4.86063e-08
1.63067e-09
4.86134e-08
1.61084e-09
4.86197e-08
1.59195e-09
4.86254e-08
1.57395e-09
4.86305e-08
1.55679e-09
4.86352e-08
1.54044e-09
4.86394e-08
1.52484e-09
4.86432e-08
1.50995e-09
4.86467e-08
1.49572e-09
4.86498e-08
1.48211e-09
4.86527e-08
1.46908e-09
4.86553e-08
1.4566e-09
4.86576e-08
1.44462e-09
4.86597e-08
1.43312e-09
4.86617e-08
1.42205e-09
4.86634e-08
1.41139e-09
4.8665e-08
1.40111e-09
4.86665e-08
1.39117e-09
4.86678e-08
1.38156e-09
4.8669e-08
1.37224e-09
4.867e-08
1.36319e-09
4.86709e-08
1.35438e-09
4.86718e-08
1.34578e-09
4.86725e-08
1.33739e-09
4.86732e-08
1.32916e-09
4.86737e-08
1.32108e-09
4.86742e-08
1.31313e-09
4.86746e-08
1.30528e-09
4.8675e-08
1.29752e-09
4.86752e-08
1.28981e-09
4.86754e-08
1.28215e-09
4.86756e-08
1.2745e-09
4.86757e-08
1.26685e-09
4.86757e-08
1.25917e-09
4.86756e-08
1.25145e-09
4.86755e-08
1.24365e-09
4.86753e-08
1.23576e-09
4.86751e-08
1.22776e-09
4.86747e-08
1.21961e-09
4.86743e-08
1.21131e-09
4.86739e-08
1.20281e-09
4.86733e-08
1.19411e-09
4.86727e-08
1.18517e-09
4.86719e-08
1.17597e-09
4.86711e-08
1.16649e-09
4.86702e-08
1.1567e-09
4.86691e-08
1.14658e-09
4.86679e-08
1.1361e-09
4.86665e-08
1.12524e-09
4.8665e-08
1.11398e-09
4.86634e-08
1.10228e-09
4.86615e-08
1.09015e-09
4.86594e-08
1.07755e-09
4.86571e-08
1.06447e-09
4.86545e-08
1.05089e-09
4.86517e-08
1.03682e-09
4.86486e-08
1.02225e-09
4.86451e-08
1.00718e-09
4.86413e-08
9.9162e-10
4.86371e-08
9.75598e-10
4.86324e-08
9.59145e-10
4.86273e-08
9.42307e-10
4.86217e-08
9.25149e-10
4.86156e-08
9.07753e-10
4.86089e-08
8.90223e-10
4.86016e-08
8.72687e-10
4.85937e-08
8.55292e-10
4.85851e-08
8.38203e-10
4.85759e-08
8.2159e-10
4.85658e-08
8.05649e-10
4.85548e-08
7.90697e-10
7.77527e-10
4.84079e-08
1.55332e-09
-4.83648e-08
4.84574e-08
1.63454e-09
4.85124e-08
1.70989e-09
4.85717e-08
1.77788e-09
4.86342e-08
1.83727e-09
4.86983e-08
1.88723e-09
4.8763e-08
1.92737e-09
4.88268e-08
1.95772e-09
4.8889e-08
1.97863e-09
4.89485e-08
1.99071e-09
4.90048e-08
1.99479e-09
4.90574e-08
1.99183e-09
4.9106e-08
1.98286e-09
4.91506e-08
1.96892e-09
4.91911e-08
1.95102e-09
4.92276e-08
1.93008e-09
4.92605e-08
1.90695e-09
4.92899e-08
1.88235e-09
4.93161e-08
1.85688e-09
4.93395e-08
1.83104e-09
4.93602e-08
1.80522e-09
4.93787e-08
1.77973e-09
4.93952e-08
1.75478e-09
4.94099e-08
1.73054e-09
4.9423e-08
1.70709e-09
4.94347e-08
1.68452e-09
4.94452e-08
1.66284e-09
4.94546e-08
1.64207e-09
4.94631e-08
1.6222e-09
4.94707e-08
1.6032e-09
4.94776e-08
1.58505e-09
4.94839e-08
1.56771e-09
4.94895e-08
1.55114e-09
4.94946e-08
1.53532e-09
4.94993e-08
1.52019e-09
4.95035e-08
1.50572e-09
4.95074e-08
1.49187e-09
4.95109e-08
1.47861e-09
4.9514e-08
1.46589e-09
4.9517e-08
1.45369e-09
4.95196e-08
1.44198e-09
4.9522e-08
1.43071e-09
4.95242e-08
1.41986e-09
4.95262e-08
1.40939e-09
4.9528e-08
1.39929e-09
4.95297e-08
1.38952e-09
4.95312e-08
1.38006e-09
4.95325e-08
1.37088e-09
4.95337e-08
1.36196e-09
4.95348e-08
1.35327e-09
4.95358e-08
1.34479e-09
4.95367e-08
1.3365e-09
4.95375e-08
1.32837e-09
4.95382e-08
1.32039e-09
4.95388e-08
1.31253e-09
4.95393e-08
1.30476e-09
4.95398e-08
1.29707e-09
4.95401e-08
1.28945e-09
4.95404e-08
1.28185e-09
4.95406e-08
1.27428e-09
4.95408e-08
1.26669e-09
4.95409e-08
1.25908e-09
4.95409e-08
1.25142e-09
4.95409e-08
1.2437e-09
4.95408e-08
1.23587e-09
4.95406e-08
1.22794e-09
4.95403e-08
1.21987e-09
4.954e-08
1.21163e-09
4.95396e-08
1.20322e-09
4.95391e-08
1.1946e-09
4.95385e-08
1.18575e-09
4.95378e-08
1.17664e-09
4.95371e-08
1.16727e-09
4.95362e-08
1.15759e-09
4.95352e-08
1.14758e-09
4.95341e-08
1.13723e-09
4.95328e-08
1.12651e-09
4.95314e-08
1.1154e-09
4.95298e-08
1.10388e-09
4.9528e-08
1.09193e-09
4.9526e-08
1.07954e-09
4.95238e-08
1.06668e-09
4.95213e-08
1.05336e-09
4.95186e-08
1.03955e-09
4.95155e-08
1.02527e-09
4.95122e-08
1.01053e-09
4.95085e-08
9.95319e-10
4.95044e-08
9.79678e-10
4.94999e-08
9.63639e-10
4.9495e-08
9.47249e-10
4.94896e-08
9.30572e-10
4.94836e-08
9.13691e-10
4.94771e-08
8.9671e-10
4.94701e-08
8.79753e-10
4.94624e-08
8.62966e-10
4.94541e-08
8.46514e-10
4.94451e-08
8.30582e-10
4.94353e-08
8.15399e-10
4.94247e-08
8.01336e-10
7.89189e-10
4.93051e-08
1.51222e-09
-4.9264e-08
4.93519e-08
1.58772e-09
4.94037e-08
1.65811e-09
4.94595e-08
1.72209e-09
4.95182e-08
1.77856e-09
4.95786e-08
1.82677e-09
4.96397e-08
1.8663e-09
4.97004e-08
1.89709e-09
4.97596e-08
1.91936e-09
4.98167e-08
1.9336e-09
4.98711e-08
1.94046e-09
4.99222e-08
1.94073e-09
4.99697e-08
1.93528e-09
5.00136e-08
1.92502e-09
5.00539e-08
1.91081e-09
5.00904e-08
1.8935e-09
5.01236e-08
1.87384e-09
5.01534e-08
1.8525e-09
5.01802e-08
1.83006e-09
5.02043e-08
1.80699e-09
5.02258e-08
1.78368e-09
5.02451e-08
1.76044e-09
5.02624e-08
1.73751e-09
5.02779e-08
1.71506e-09
5.02917e-08
1.69321e-09
5.03042e-08
1.67205e-09
5.03154e-08
1.65162e-09
5.03255e-08
1.63196e-09
5.03347e-08
1.61307e-09
5.03429e-08
1.59495e-09
5.03504e-08
1.57757e-09
5.03572e-08
1.56093e-09
5.03633e-08
1.54499e-09
5.03689e-08
1.52972e-09
5.0374e-08
1.51509e-09
5.03787e-08
1.50108e-09
5.03829e-08
1.48764e-09
5.03868e-08
1.47475e-09
5.03903e-08
1.46237e-09
5.03935e-08
1.45047e-09
5.03965e-08
1.43904e-09
5.03991e-08
1.42802e-09
5.04016e-08
1.4174e-09
5.04038e-08
1.40715e-09
5.04059e-08
1.39725e-09
5.04077e-08
1.38766e-09
5.04094e-08
1.37837e-09
5.0411e-08
1.36934e-09
5.04124e-08
1.36057e-09
5.04136e-08
1.35201e-09
5.04148e-08
1.34365e-09
5.04158e-08
1.33548e-09
5.04167e-08
1.32746e-09
5.04175e-08
1.31957e-09
5.04182e-08
1.31181e-09
5.04189e-08
1.30413e-09
5.04194e-08
1.29653e-09
5.04199e-08
1.28899e-09
5.04203e-08
1.28147e-09
5.04206e-08
1.27397e-09
5.04208e-08
1.26646e-09
5.0421e-08
1.25893e-09
5.0421e-08
1.25134e-09
5.04211e-08
1.24368e-09
5.0421e-08
1.23593e-09
5.04209e-08
1.22807e-09
5.04206e-08
1.22008e-09
5.04204e-08
1.21192e-09
5.042e-08
1.20359e-09
5.04195e-08
1.19505e-09
5.0419e-08
1.1863e-09
5.04183e-08
1.17729e-09
5.04176e-08
1.16802e-09
5.04167e-08
1.15845e-09
5.04157e-08
1.14857e-09
5.04146e-08
1.13835e-09
5.04134e-08
1.12777e-09
5.0412e-08
1.11682e-09
5.04104e-08
1.10547e-09
5.04086e-08
1.09371e-09
5.04066e-08
1.08152e-09
5.04044e-08
1.06889e-09
5.0402e-08
1.05581e-09
5.03992e-08
1.04227e-09
5.03962e-08
1.02829e-09
5.03929e-08
1.01386e-09
5.03892e-08
9.98997e-10
5.03852e-08
9.83734e-10
5.03807e-08
9.68103e-10
5.03758e-08
9.52154e-10
5.03704e-08
9.3595e-10
5.03645e-08
9.19575e-10
5.03581e-08
9.0313e-10
5.03511e-08
8.86739e-10
5.03435e-08
8.70546e-10
5.03353e-08
8.54717e-10
5.03265e-08
8.39447e-10
5.03169e-08
8.24984e-10
5.03065e-08
8.11717e-10
8.00385e-10
5.02164e-08
1.47295e-09
-5.01771e-08
5.02608e-08
1.54333e-09
5.03097e-08
1.60922e-09
5.03623e-08
1.66951e-09
5.04176e-08
1.72325e-09
5.04746e-08
1.76971e-09
5.05324e-08
1.8085e-09
5.059e-08
1.83949e-09
5.06466e-08
1.86282e-09
5.07013e-08
1.87883e-09
5.07537e-08
1.88806e-09
5.08033e-08
1.89114e-09
5.08498e-08
1.88881e-09
5.0893e-08
1.88184e-09
5.09328e-08
1.871e-09
5.09693e-08
1.85702e-09
5.10025e-08
1.84059e-09
5.10327e-08
1.82232e-09
5.106e-08
1.80275e-09
5.10847e-08
1.78234e-09
5.11069e-08
1.76146e-09
5.11269e-08
1.74044e-09
5.11449e-08
1.7195e-09
5.11611e-08
1.69883e-09
5.11758e-08
1.67859e-09
5.11889e-08
1.65885e-09
5.12009e-08
1.6397e-09
5.12116e-08
1.62118e-09
5.12214e-08
1.60331e-09
5.12303e-08
1.58609e-09
5.12383e-08
1.56953e-09
5.12456e-08
1.55362e-09
5.12523e-08
1.53833e-09
5.12583e-08
1.52365e-09
5.12639e-08
1.50955e-09
5.12689e-08
1.49602e-09
5.12736e-08
1.48302e-09
5.12778e-08
1.47052e-09
5.12817e-08
1.4585e-09
5.12852e-08
1.44693e-09
5.12884e-08
1.43579e-09
5.12914e-08
1.42505e-09
5.12941e-08
1.41469e-09
5.12966e-08
1.40467e-09
5.12989e-08
1.39498e-09
5.1301e-08
1.38558e-09
5.13029e-08
1.37647e-09
5.13046e-08
1.36762e-09
5.13062e-08
1.35899e-09
5.13076e-08
1.35058e-09
5.13089e-08
1.34236e-09
5.13101e-08
1.33431e-09
5.13111e-08
1.32641e-09
5.13121e-08
1.31863e-09
5.13129e-08
1.31097e-09
5.13136e-08
1.30339e-09
5.13143e-08
1.29589e-09
5.13148e-08
1.28843e-09
5.13153e-08
1.28101e-09
5.13157e-08
1.27359e-09
5.1316e-08
1.26616e-09
5.13162e-08
1.2587e-09
5.13163e-08
1.2512e-09
5.13164e-08
1.24362e-09
5.13164e-08
1.23595e-09
5.13163e-08
1.22817e-09
5.13161e-08
1.22025e-09
5.13159e-08
1.21218e-09
5.13155e-08
1.20393e-09
5.13151e-08
1.19549e-09
5.13146e-08
1.18683e-09
5.13139e-08
1.17792e-09
5.13132e-08
1.16876e-09
5.13123e-08
1.15931e-09
5.13113e-08
1.14955e-09
5.13102e-08
1.13947e-09
5.1309e-08
1.12904e-09
5.13075e-08
1.11825e-09
5.13059e-08
1.10707e-09
5.13041e-08
1.0955e-09
5.13021e-08
1.08352e-09
5.12999e-08
1.07111e-09
5.12974e-08
1.05828e-09
5.12947e-08
1.04502e-09
5.12916e-08
1.03132e-09
5.12883e-08
1.01721e-09
5.12846e-08
1.0027e-09
5.12805e-08
9.87814e-10
5.1276e-08
9.72588e-10
5.12711e-08
9.57075e-10
5.12657e-08
9.41338e-10
5.12598e-08
9.25461e-10
5.12534e-08
9.09543e-10
5.12464e-08
8.93707e-10
5.12389e-08
8.78095e-10
5.12307e-08
8.62874e-10
5.12219e-08
8.48244e-10
5.12125e-08
8.34461e-10
5.12023e-08
8.2191e-10
8.11244e-10
5.11422e-08
1.43538e-09
-5.11047e-08
5.11844e-08
1.50115e-09
5.12307e-08
1.56296e-09
5.12803e-08
1.61987e-09
5.13326e-08
1.67103e-09
5.13865e-08
1.71579e-09
5.14412e-08
1.75375e-09
5.1496e-08
1.78475e-09
5.15499e-08
1.80885e-09
5.16025e-08
1.82632e-09
5.1653e-08
1.83754e-09
5.17011e-08
1.84306e-09
5.17464e-08
1.84348e-09
5.17888e-08
1.83946e-09
5.18281e-08
1.83166e-09
5.18644e-08
1.82074e-09
5.18977e-08
1.8073e-09
5.19281e-08
1.7919e-09
5.19558e-08
1.77506e-09
5.19809e-08
1.75719e-09
5.20037e-08
1.73866e-09
5.20244e-08
1.71979e-09
5.20431e-08
1.70081e-09
5.206e-08
1.68192e-09
5.20753e-08
1.66327e-09
5.20892e-08
1.64498e-09
5.21017e-08
1.62712e-09
5.21132e-08
1.60976e-09
5.21235e-08
1.59293e-09
5.2133e-08
1.57665e-09
5.21416e-08
1.56093e-09
5.21494e-08
1.54577e-09
5.21566e-08
1.53117e-09
5.21631e-08
1.51711e-09
5.21691e-08
1.50357e-09
5.21746e-08
1.49054e-09
5.21796e-08
1.478e-09
5.21842e-08
1.46592e-09
5.21884e-08
1.45428e-09
5.21923e-08
1.44307e-09
5.21958e-08
1.43225e-09
5.21991e-08
1.4218e-09
5.22021e-08
1.4117e-09
5.22048e-08
1.40193e-09
5.22073e-08
1.39247e-09
5.22096e-08
1.38329e-09
5.22117e-08
1.37437e-09
5.22136e-08
1.36569e-09
5.22154e-08
1.35724e-09
5.2217e-08
1.34898e-09
5.22184e-08
1.3409e-09
5.22198e-08
1.33299e-09
5.22209e-08
1.32522e-09
5.2222e-08
1.31756e-09
5.2223e-08
1.31001e-09
5.22238e-08
1.30255e-09
5.22246e-08
1.29514e-09
5.22252e-08
1.28778e-09
5.22258e-08
1.28045e-09
5.22262e-08
1.27313e-09
5.22266e-08
1.26579e-09
5.22269e-08
1.25842e-09
5.22271e-08
1.25099e-09
5.22272e-08
1.2435e-09
5.22273e-08
1.23591e-09
5.22272e-08
1.22822e-09
5.22271e-08
1.22039e-09
5.22268e-08
1.21241e-09
5.22265e-08
1.20425e-09
5.22261e-08
1.19591e-09
5.22256e-08
1.18734e-09
5.2225e-08
1.17855e-09
5.22242e-08
1.1695e-09
5.22234e-08
1.16017e-09
5.22224e-08
1.15054e-09
5.22212e-08
1.1406e-09
5.222e-08
1.13032e-09
5.22185e-08
1.1197e-09
5.22169e-08
1.1087e-09
5.22151e-08
1.09732e-09
5.2213e-08
1.08555e-09
5.22108e-08
1.07338e-09
5.22083e-08
1.06079e-09
5.22055e-08
1.0478e-09
5.22024e-08
1.0344e-09
5.2199e-08
1.02061e-09
5.21952e-08
1.00645e-09
5.21911e-08
9.91934e-10
5.21866e-08
9.77111e-10
5.21816e-08
9.6203e-10
5.21762e-08
9.46756e-10
5.21703e-08
9.3137e-10
5.21639e-08
9.15971e-10
5.21569e-08
9.0068e-10
5.21494e-08
8.85637e-10
5.21412e-08
8.71009e-10
5.21325e-08
8.56995e-10
5.21231e-08
8.43855e-10
5.21131e-08
8.31949e-10
8.21847e-10
5.2083e-08
1.39939e-09
-5.2047e-08
5.21232e-08
1.46098e-09
5.2167e-08
1.51909e-09
5.2214e-08
1.57289e-09
5.22634e-08
1.62164e-09
5.23144e-08
1.66474e-09
5.23664e-08
1.70181e-09
5.24185e-08
1.73267e-09
5.247e-08
1.75733e-09
5.25203e-08
1.77595e-09
5.2569e-08
1.78887e-09
5.26156e-08
1.79649e-09
5.26598e-08
1.79933e-09
5.27013e-08
1.79793e-09
5.27401e-08
1.79288e-09
5.2776e-08
1.78475e-09
5.28093e-08
1.77407e-09
5.28398e-08
1.76136e-09
5.28678e-08
1.74708e-09
5.28933e-08
1.73163e-09
5.29166e-08
1.71537e-09
5.29378e-08
1.69858e-09
5.29571e-08
1.68152e-09
5.29747e-08
1.66438e-09
5.29906e-08
1.64732e-09
5.30051e-08
1.63047e-09
5.30184e-08
1.61391e-09
5.30304e-08
1.59773e-09
5.30414e-08
1.58196e-09
5.30514e-08
1.56664e-09
5.30605e-08
1.55179e-09
5.30689e-08
1.53741e-09
5.30765e-08
1.52352e-09
5.30835e-08
1.5101e-09
5.30899e-08
1.49715e-09
5.30958e-08
1.48465e-09
5.31012e-08
1.47259e-09
5.31062e-08
1.46095e-09
5.31108e-08
1.44972e-09
5.3115e-08
1.43887e-09
5.31188e-08
1.42839e-09
5.31224e-08
1.41825e-09
5.31256e-08
1.40844e-09
5.31286e-08
1.39894e-09
5.31314e-08
1.38972e-09
5.31339e-08
1.38076e-09
5.31362e-08
1.37205e-09
5.31383e-08
1.36357e-09
5.31403e-08
1.35529e-09
5.31421e-08
1.34721e-09
5.31437e-08
1.33929e-09
5.31451e-08
1.33152e-09
5.31465e-08
1.32388e-09
5.31477e-08
1.31636e-09
5.31488e-08
1.30893e-09
5.31497e-08
1.30158e-09
5.31506e-08
1.29429e-09
5.31513e-08
1.28704e-09
5.3152e-08
1.27981e-09
5.31525e-08
1.27258e-09
5.3153e-08
1.26534e-09
5.31533e-08
1.25806e-09
5.31536e-08
1.25073e-09
5.31538e-08
1.24332e-09
5.31538e-08
1.23583e-09
5.31538e-08
1.22822e-09
5.31537e-08
1.22049e-09
5.31535e-08
1.2126e-09
5.31532e-08
1.20455e-09
5.31528e-08
1.1963e-09
5.31523e-08
1.18785e-09
5.31517e-08
1.17917e-09
5.3151e-08
1.17023e-09
5.31501e-08
1.16103e-09
5.31491e-08
1.15154e-09
5.3148e-08
1.14174e-09
5.31467e-08
1.13163e-09
5.31452e-08
1.12117e-09
5.31436e-08
1.11035e-09
5.31417e-08
1.09917e-09
5.31396e-08
1.08762e-09
5.31373e-08
1.07568e-09
5.31348e-08
1.06334e-09
5.3132e-08
1.05063e-09
5.31288e-08
1.03753e-09
5.31254e-08
1.02406e-09
5.31216e-08
1.01024e-09
5.31174e-08
9.96099e-10
5.31129e-08
9.81678e-10
5.31079e-08
9.67026e-10
5.31024e-08
9.5221e-10
5.30965e-08
9.37308e-10
5.309e-08
9.2242e-10
5.3083e-08
9.07664e-10
5.30755e-08
8.93177e-10
5.30674e-08
8.79125e-10
5.30587e-08
8.65706e-10
5.30494e-08
8.5317e-10
5.30395e-08
8.41853e-10
8.32244e-10
5.3039e-08
1.36485e-09
-5.30045e-08
5.30773e-08
1.42268e-09
5.3119e-08
1.47741e-09
5.31635e-08
1.52836e-09
5.32103e-08
1.57484e-09
5.32587e-08
1.61634e-09
5.3308e-08
1.65248e-09
5.33576e-08
1.68308e-09
5.34069e-08
1.7081e-09
5.34552e-08
1.72765e-09
5.3502e-08
1.74197e-09
5.35471e-08
1.7514e-09
5.35901e-08
1.75636e-09
5.36307e-08
1.7573e-09
5.36689e-08
1.75473e-09
5.37045e-08
1.74913e-09
5.37376e-08
1.741e-09
5.37682e-08
1.73079e-09
5.37963e-08
1.71892e-09
5.38222e-08
1.70576e-09
5.38459e-08
1.69166e-09
5.38676e-08
1.67689e-09
5.38874e-08
1.66169e-09
5.39055e-08
1.64626e-09
5.39221e-08
1.63078e-09
5.39372e-08
1.61536e-09
5.3951e-08
1.60011e-09
5.39636e-08
1.58511e-09
5.39751e-08
1.57042e-09
5.39857e-08
1.55608e-09
5.39954e-08
1.54212e-09
5.40042e-08
1.52855e-09
5.40124e-08
1.51539e-09
5.40198e-08
1.50263e-09
5.40267e-08
1.49029e-09
5.4033e-08
1.47835e-09
5.40388e-08
1.46679e-09
5.40441e-08
1.45562e-09
5.40491e-08
1.44481e-09
5.40536e-08
1.43435e-09
5.40578e-08
1.42422e-09
5.40616e-08
1.41442e-09
5.40651e-08
1.40491e-09
5.40684e-08
1.39568e-09
5.40714e-08
1.38672e-09
5.40741e-08
1.37801e-09
5.40767e-08
1.36952e-09
5.4079e-08
1.36124e-09
5.40811e-08
1.35316e-09
5.40831e-08
1.34525e-09
5.40849e-08
1.3375e-09
5.40865e-08
1.32989e-09
5.4088e-08
1.32241e-09
5.40893e-08
1.31502e-09
5.40905e-08
1.30773e-09
5.40916e-08
1.3005e-09
5.40925e-08
1.29333e-09
5.40934e-08
1.28619e-09
5.40941e-08
1.27907e-09
5.40948e-08
1.27195e-09
5.40953e-08
1.26481e-09
5.40957e-08
1.25763e-09
5.4096e-08
1.2504e-09
5.40963e-08
1.24309e-09
5.40964e-08
1.2357e-09
5.40964e-08
1.22819e-09
5.40964e-08
1.22055e-09
5.40962e-08
1.21277e-09
5.40959e-08
1.20482e-09
5.40956e-08
1.19668e-09
5.40951e-08
1.18834e-09
5.40945e-08
1.17977e-09
5.40937e-08
1.17096e-09
5.40929e-08
1.16189e-09
5.40919e-08
1.15254e-09
5.40907e-08
1.1429e-09
5.40894e-08
1.13294e-09
5.40879e-08
1.12266e-09
5.40862e-08
1.11203e-09
5.40843e-08
1.10105e-09
5.40823e-08
1.08972e-09
5.40799e-08
1.07801e-09
5.40773e-08
1.06594e-09
5.40745e-08
1.0535e-09
5.40713e-08
1.04069e-09
5.40678e-08
1.02755e-09
5.4064e-08
1.01408e-09
5.40597e-08
1.00031e-09
5.40551e-08
9.86287e-10
5.40501e-08
9.72062e-10
5.40446e-08
9.57698e-10
5.40387e-08
9.43274e-10
5.40322e-08
9.28889e-10
5.40252e-08
9.14657e-10
5.40177e-08
9.00714e-10
5.40096e-08
8.87222e-10
5.40009e-08
8.74373e-10
5.39917e-08
8.62408e-10
5.39819e-08
8.51631e-10
8.42465e-10
5.40106e-08
1.33167e-09
-5.39774e-08
5.40472e-08
1.38608e-09
5.40869e-08
1.43774e-09
5.41292e-08
1.48605e-09
5.41736e-08
1.53043e-09
5.42196e-08
1.57038e-09
5.42665e-08
1.60558e-09
5.43137e-08
1.63582e-09
5.43608e-08
1.66105e-09
5.44071e-08
1.68132e-09
5.44523e-08
1.69681e-09
5.44959e-08
1.70778e-09
5.45377e-08
1.71458e-09
5.45774e-08
1.71759e-09
5.46149e-08
1.71724e-09
5.465e-08
1.71395e-09
5.46829e-08
1.70816e-09
5.47134e-08
1.70026e-09
5.47417e-08
1.69065e-09
5.47678e-08
1.67966e-09
5.47918e-08
1.66761e-09
5.48139e-08
1.65478e-09
5.48342e-08
1.64139e-09
5.48529e-08
1.62764e-09
5.48699e-08
1.6137e-09
5.48856e-08
1.5997e-09
5.49e-08
1.58576e-09
5.49131e-08
1.57195e-09
5.49252e-08
1.55834e-09
5.49363e-08
1.54499e-09
5.49465e-08
1.53193e-09
5.49558e-08
1.51919e-09
5.49644e-08
1.50678e-09
5.49724e-08
1.49472e-09
5.49797e-08
1.483e-09
5.49864e-08
1.47163e-09
5.49926e-08
1.4606e-09
5.49983e-08
1.44991e-09
5.50035e-08
1.43955e-09
5.50084e-08
1.4295e-09
5.50129e-08
1.41975e-09
5.5017e-08
1.41028e-09
5.50208e-08
1.4011e-09
5.50243e-08
1.39217e-09
5.50276e-08
1.38348e-09
5.50306e-08
1.37502e-09
5.50333e-08
1.36677e-09
5.50358e-08
1.35871e-09
5.50382e-08
1.35084e-09
5.50403e-08
1.34312e-09
5.50422e-08
1.33555e-09
5.5044e-08
1.32811e-09
5.50457e-08
1.32078e-09
5.50471e-08
1.31355e-09
5.50485e-08
1.30639e-09
5.50497e-08
1.2993e-09
5.50507e-08
1.29226e-09
5.50517e-08
1.28524e-09
5.50525e-08
1.27824e-09
5.50533e-08
1.27123e-09
5.50539e-08
1.2642e-09
5.50544e-08
1.25713e-09
5.50548e-08
1.25e-09
5.5055e-08
1.2428e-09
5.50552e-08
1.23551e-09
5.50553e-08
1.22811e-09
5.50553e-08
1.22058e-09
5.50552e-08
1.2129e-09
5.50549e-08
1.20506e-09
5.50546e-08
1.19704e-09
5.50541e-08
1.18881e-09
5.50535e-08
1.18037e-09
5.50528e-08
1.17169e-09
5.50519e-08
1.16276e-09
5.50509e-08
1.15355e-09
5.50497e-08
1.14407e-09
5.50484e-08
1.13427e-09
5.50469e-08
1.12417e-09
5.50452e-08
1.11373e-09
5.50433e-08
1.10296e-09
5.50411e-08
1.09185e-09
5.50388e-08
1.08038e-09
5.50361e-08
1.06857e-09
5.50332e-08
1.0564e-09
5.503e-08
1.0439e-09
5.50265e-08
1.03108e-09
5.50226e-08
1.01796e-09
5.50184e-08
1.00456e-09
5.50137e-08
9.90936e-10
5.50086e-08
9.77134e-10
5.50031e-08
9.63217e-10
5.49971e-08
9.49265e-10
5.49906e-08
9.35374e-10
5.49836e-08
9.21656e-10
5.49761e-08
9.08243e-10
5.4968e-08
8.95294e-10
5.49594e-08
8.82993e-10
5.49503e-08
8.71567e-10
5.49406e-08
8.61292e-10
8.52534e-10
5.49982e-08
1.29977e-09
-5.49663e-08
5.50332e-08
1.35107e-09
5.5071e-08
1.39992e-09
5.51113e-08
1.4458e-09
5.51535e-08
1.4882e-09
5.51972e-08
1.52668e-09
5.52419e-08
1.56093e-09
5.5287e-08
1.59074e-09
5.5332e-08
1.61604e-09
5.53764e-08
1.63686e-09
5.54199e-08
1.6533e-09
5.54621e-08
1.66559e-09
5.55027e-08
1.67399e-09
5.55415e-08
1.67884e-09
5.55782e-08
1.68047e-09
5.56129e-08
1.67927e-09
5.56454e-08
1.67561e-09
5.56759e-08
1.66986e-09
5.57042e-08
1.66234e-09
5.57304e-08
1.6534e-09
5.57547e-08
1.64331e-09
5.57772e-08
1.63232e-09
5.57979e-08
1.62068e-09
5.5817e-08
1.60856e-09
5.58345e-08
1.59613e-09
5.58507e-08
1.58354e-09
5.58656e-08
1.57088e-09
5.58792e-08
1.55826e-09
5.58918e-08
1.54575e-09
5.59034e-08
1.5334e-09
5.59141e-08
1.52125e-09
5.59239e-08
1.50935e-09
5.5933e-08
1.49771e-09
5.59414e-08
1.48635e-09
5.59491e-08
1.47529e-09
5.59562e-08
1.46451e-09
5.59628e-08
1.45403e-09
5.59689e-08
1.44384e-09
5.59745e-08
1.43394e-09
5.59796e-08
1.42431e-09
5.59844e-08
1.41495e-09
5.59889e-08
1.40586e-09
5.5993e-08
1.397e-09
5.59967e-08
1.38839e-09
5.60002e-08
1.37999e-09
5.60035e-08
1.3718e-09
5.60064e-08
1.3638e-09
5.60092e-08
1.35597e-09
5.60117e-08
1.34831e-09
5.6014e-08
1.3408e-09
5.60161e-08
1.33342e-09
5.60181e-08
1.32616e-09
5.60199e-08
1.319e-09
5.60215e-08
1.31193e-09
5.6023e-08
1.30492e-09
5.60243e-08
1.29798e-09
5.60255e-08
1.29107e-09
5.60265e-08
1.28418e-09
5.60275e-08
1.27731e-09
5.60283e-08
1.27042e-09
5.6029e-08
1.26351e-09
5.60295e-08
1.25655e-09
5.603e-08
1.24954e-09
5.60303e-08
1.24245e-09
5.60306e-08
1.23527e-09
5.60307e-08
1.22798e-09
5.60307e-08
1.22056e-09
5.60306e-08
1.213e-09
5.60304e-08
1.20527e-09
5.60301e-08
1.19737e-09
5.60296e-08
1.18927e-09
5.60291e-08
1.18095e-09
5.60283e-08
1.17241e-09
5.60275e-08
1.16362e-09
5.60265e-08
1.15457e-09
5.60253e-08
1.14524e-09
5.60239e-08
1.13562e-09
5.60224e-08
1.1257e-09
5.60207e-08
1.11546e-09
5.60188e-08
1.1049e-09
5.60166e-08
1.09401e-09
5.60142e-08
1.08279e-09
5.60115e-08
1.07123e-09
5.60086e-08
1.05935e-09
5.60053e-08
1.04715e-09
5.60018e-08
1.03465e-09
5.59978e-08
1.02188e-09
5.59935e-08
1.00885e-09
5.59889e-08
9.95622e-10
5.59838e-08
9.82238e-10
5.59782e-08
9.68764e-10
5.59722e-08
9.55277e-10
5.59657e-08
9.41871e-10
5.59587e-08
9.28655e-10
5.59512e-08
9.1576e-10
5.59431e-08
9.03336e-10
5.59346e-08
8.91561e-10
5.59255e-08
8.80647e-10
5.59159e-08
8.70841e-10
8.62464e-10
5.60021e-08
1.26906e-09
-5.59714e-08
5.60357e-08
1.31752e-09
5.60718e-08
1.3638e-09
5.61101e-08
1.40744e-09
5.61504e-08
1.448e-09
5.6192e-08
1.48507e-09
5.62345e-08
1.51837e-09
5.62776e-08
1.5477e-09
5.63206e-08
1.57297e-09
5.63633e-08
1.59418e-09
5.64052e-08
1.6114e-09
5.6446e-08
1.6248e-09
5.64854e-08
1.63459e-09
5.65232e-08
1.64104e-09
5.65592e-08
1.64445e-09
5.65934e-08
1.64514e-09
5.66255e-08
1.64343e-09
5.66558e-08
1.63964e-09
5.6684e-08
1.63409e-09
5.67104e-08
1.62705e-09
5.67349e-08
1.61881e-09
5.67576e-08
1.6096e-09
5.67786e-08
1.59963e-09
5.67981e-08
1.58909e-09
5.68161e-08
1.57814e-09
5.68327e-08
1.56691e-09
5.68481e-08
1.55554e-09
5.68623e-08
1.5441e-09
5.68753e-08
1.53267e-09
5.68874e-08
1.52133e-09
5.68986e-08
1.51011e-09
5.69088e-08
1.49906e-09
5.69184e-08
1.4882e-09
5.69272e-08
1.47756e-09
5.69353e-08
1.46716e-09
5.69428e-08
1.45699e-09
5.69498e-08
1.44707e-09
5.69562e-08
1.4374e-09
5.69621e-08
1.42798e-09
5.69677e-08
1.4188e-09
5.69728e-08
1.40985e-09
5.69775e-08
1.40113e-09
5.69819e-08
1.39263e-09
5.69859e-08
1.38434e-09
5.69897e-08
1.37624e-09
5.69931e-08
1.36833e-09
5.69963e-08
1.3606e-09
5.69993e-08
1.35302e-09
5.7002e-08
1.34559e-09
5.70045e-08
1.3383e-09
5.70068e-08
1.33112e-09
5.70089e-08
1.32405e-09
5.70108e-08
1.31707e-09
5.70126e-08
1.31016e-09
5.70142e-08
1.30332e-09
5.70157e-08
1.29653e-09
5.7017e-08
1.28976e-09
5.70181e-08
1.28302e-09
5.70192e-08
1.27627e-09
5.70201e-08
1.26952e-09
5.70208e-08
1.26273e-09
5.70215e-08
1.2559e-09
5.7022e-08
1.249e-09
5.70224e-08
1.24203e-09
5.70227e-08
1.23497e-09
5.70229e-08
1.2278e-09
5.7023e-08
1.2205e-09
5.70229e-08
1.21305e-09
5.70227e-08
1.20545e-09
5.70224e-08
1.19767e-09
5.7022e-08
1.1897e-09
5.70214e-08
1.18152e-09
5.70207e-08
1.17312e-09
5.70199e-08
1.16448e-09
5.70188e-08
1.15558e-09
5.70177e-08
1.14642e-09
5.70163e-08
1.13698e-09
5.70148e-08
1.12724e-09
5.7013e-08
1.1172e-09
5.70111e-08
1.10686e-09
5.70089e-08
1.0962e-09
5.70064e-08
1.08522e-09
5.70037e-08
1.07393e-09
5.70008e-08
1.06233e-09
5.69975e-08
1.05044e-09
5.69939e-08
1.03826e-09
5.69899e-08
1.02583e-09
5.69856e-08
1.01318e-09
5.69809e-08
1.00034e-09
5.69757e-08
9.87371e-10
5.69702e-08
9.74333e-10
5.69641e-08
9.61304e-10
5.69576e-08
9.48374e-10
5.69506e-08
9.35651e-10
5.69431e-08
9.23258e-10
5.69351e-08
9.11343e-10
5.69266e-08
9.00074e-10
5.69176e-08
8.89646e-10
5.69082e-08
8.80282e-10
8.72267e-10
5.70227e-08
1.23947e-09
-5.69931e-08
5.70549e-08
1.28533e-09
5.70894e-08
1.32925e-09
5.71261e-08
1.37083e-09
5.71644e-08
1.40966e-09
5.72041e-08
1.44539e-09
5.72447e-08
1.47775e-09
5.72858e-08
1.50657e-09
5.73271e-08
1.53172e-09
5.7368e-08
1.5532e-09
5.74084e-08
1.57104e-09
5.74478e-08
1.58537e-09
5.74861e-08
1.59636e-09
5.75229e-08
1.60422e-09
5.75581e-08
1.6092e-09
5.75917e-08
1.61159e-09
5.76235e-08
1.61165e-09
5.76534e-08
1.60967e-09
5.76816e-08
1.60593e-09
5.7708e-08
1.60069e-09
5.77326e-08
1.59419e-09
5.77555e-08
1.58666e-09
5.77769e-08
1.57829e-09
5.77967e-08
1.56927e-09
5.7815e-08
1.55976e-09
5.78321e-08
1.54988e-09
5.78479e-08
1.53976e-09
5.78625e-08
1.52948e-09
5.7876e-08
1.51914e-09
5.78885e-08
1.5088e-09
5.79001e-08
1.49851e-09
5.79109e-08
1.48832e-09
5.79208e-08
1.47826e-09
5.793e-08
1.46835e-09
5.79385e-08
1.45862e-09
5.79465e-08
1.44909e-09
5.79538e-08
1.43975e-09
5.79606e-08
1.43061e-09
5.79669e-08
1.42168e-09
5.79727e-08
1.41296e-09
5.79781e-08
1.40444e-09
5.79831e-08
1.39611e-09
5.79878e-08
1.38798e-09
5.79921e-08
1.38003e-09
5.79961e-08
1.37225e-09
5.79998e-08
1.36463e-09
5.80032e-08
1.35717e-09
5.80064e-08
1.34986e-09
5.80093e-08
1.34267e-09
5.8012e-08
1.3356e-09
5.80145e-08
1.32864e-09
5.80168e-08
1.32177e-09
5.80189e-08
1.31498e-09
5.80208e-08
1.30825e-09
5.80225e-08
1.30158e-09
5.80241e-08
1.29495e-09
5.80255e-08
1.28834e-09
5.80268e-08
1.28174e-09
5.80279e-08
1.27514e-09
5.80289e-08
1.26852e-09
5.80298e-08
1.26187e-09
5.80305e-08
1.25516e-09
5.80311e-08
1.2484e-09
5.80316e-08
1.24155e-09
5.8032e-08
1.23461e-09
5.80322e-08
1.22756e-09
5.80323e-08
1.22039e-09
5.80323e-08
1.21307e-09
5.80322e-08
1.2056e-09
5.80319e-08
1.19795e-09
5.80315e-08
1.19012e-09
5.80309e-08
1.18208e-09
5.80302e-08
1.17382e-09
5.80294e-08
1.16533e-09
5.80283e-08
1.1566e-09
5.80272e-08
1.14761e-09
5.80258e-08
1.13834e-09
5.80242e-08
1.1288e-09
5.80225e-08
1.11897e-09
5.80205e-08
1.10884e-09
5.80183e-08
1.09841e-09
5.80158e-08
1.08768e-09
5.80131e-08
1.07666e-09
5.80101e-08
1.06535e-09
5.80067e-08
1.05376e-09
5.80031e-08
1.04191e-09
5.79991e-08
1.02982e-09
5.79948e-08
1.01753e-09
5.799e-08
1.00509e-09
5.79849e-08
9.92527e-10
5.79793e-08
9.79921e-10
5.79732e-08
9.67342e-10
5.79667e-08
9.5488e-10
5.79597e-08
9.42637e-10
5.79523e-08
9.30734e-10
5.79443e-08
9.19311e-10
5.79358e-08
9.08527e-10
5.79269e-08
8.98563e-10
5.79176e-08
8.89618e-10
8.81949e-10
5.80603e-08
1.21093e-09
-5.80318e-08
5.80912e-08
1.25442e-09
5.81243e-08
1.29617e-09
5.81593e-08
1.33583e-09
5.81959e-08
1.37305e-09
5.82338e-08
1.40751e-09
5.82726e-08
1.43895e-09
5.8312e-08
1.46722e-09
5.83515e-08
1.49219e-09
5.83909e-08
1.51383e-09
5.84297e-08
1.53216e-09
5.84679e-08
1.54726e-09
5.85049e-08
1.55927e-09
5.85408e-08
1.56836e-09
5.85752e-08
1.57475e-09
5.86082e-08
1.57865e-09
5.86395e-08
1.58033e-09
5.86692e-08
1.58001e-09
5.86972e-08
1.57794e-09
5.87235e-08
1.57437e-09
5.87482e-08
1.56951e-09
5.87713e-08
1.56356e-09
5.87928e-08
1.55673e-09
5.88129e-08
1.54917e-09
5.88316e-08
1.54105e-09
5.8849e-08
1.53248e-09
5.88652e-08
1.52358e-09
5.88802e-08
1.51446e-09
5.88942e-08
1.5052e-09
5.89071e-08
1.49585e-09
5.89191e-08
1.48649e-09
5.89303e-08
1.47717e-09
5.89406e-08
1.4679e-09
5.89503e-08
1.45874e-09
5.89592e-08
1.4497e-09
5.89675e-08
1.4408e-09
5.89752e-08
1.43205e-09
5.89823e-08
1.42346e-09
5.89889e-08
1.41504e-09
5.89951e-08
1.40679e-09
5.90008e-08
1.39871e-09
5.90061e-08
1.3908e-09
5.90111e-08
1.38304e-09
5.90157e-08
1.37545e-09
5.90199e-08
1.368e-09
5.90238e-08
1.3607e-09
5.90275e-08
1.35352e-09
5.90309e-08
1.34648e-09
5.9034e-08
1.33954e-09
5.90369e-08
1.33271e-09
5.90395e-08
1.32597e-09
5.9042e-08
1.31932e-09
5.90443e-08
1.31272e-09
5.90463e-08
1.30619e-09
5.90482e-08
1.2997e-09
5.90499e-08
1.29324e-09
5.90515e-08
1.28679e-09
5.90528e-08
1.28035e-09
5.90541e-08
1.2739e-09
5.90552e-08
1.26742e-09
5.90561e-08
1.26091e-09
5.90569e-08
1.25435e-09
5.90576e-08
1.24772e-09
5.90582e-08
1.241e-09
5.90586e-08
1.2342e-09
5.90589e-08
1.22728e-09
5.9059e-08
1.22023e-09
5.90591e-08
1.21305e-09
5.90589e-08
1.20571e-09
5.90587e-08
1.1982e-09
5.90583e-08
1.19051e-09
5.90578e-08
1.18262e-09
5.90571e-08
1.17451e-09
5.90562e-08
1.16618e-09
5.90552e-08
1.15761e-09
5.9054e-08
1.1488e-09
5.90527e-08
1.13972e-09
5.90511e-08
1.13037e-09
5.90493e-08
1.12074e-09
5.90473e-08
1.11084e-09
5.90451e-08
1.10065e-09
5.90426e-08
1.09017e-09
5.90398e-08
1.07942e-09
5.90368e-08
1.06839e-09
5.90334e-08
1.05711e-09
5.90298e-08
1.04558e-09
5.90257e-08
1.03384e-09
5.90214e-08
1.02192e-09
5.90166e-08
1.00986e-09
5.90114e-08
9.97704e-10
5.90058e-08
9.85523e-10
5.89998e-08
9.73387e-10
5.89933e-08
9.61382e-10
5.89863e-08
9.49609e-10
5.89788e-08
9.38182e-10
5.89709e-08
9.27236e-10
5.89625e-08
9.16919e-10
5.89537e-08
9.07398e-10
5.89445e-08
8.98853e-10
8.91517e-10
5.91153e-08
1.18338e-09
-5.90878e-08
5.91451e-08
1.22469e-09
5.91768e-08
1.26445e-09
5.92103e-08
1.30234e-09
5.92453e-08
1.33805e-09
5.92815e-08
1.37129e-09
5.93186e-08
1.40185e-09
5.93563e-08
1.42955e-09
5.93942e-08
1.45428e-09
5.9432e-08
1.47599e-09
5.94695e-08
1.49469e-09
5.95063e-08
1.51043e-09
5.95423e-08
1.52331e-09
5.95772e-08
1.53348e-09
5.96108e-08
1.5411e-09
5.96431e-08
1.54637e-09
5.96739e-08
1.54949e-09
5.97032e-08
1.55069e-09
5.9731e-08
1.55017e-09
5.97572e-08
1.54814e-09
5.97819e-08
1.54482e-09
5.98051e-08
1.54038e-09
5.98268e-08
1.535e-09
5.98472e-08
1.52884e-09
5.98662e-08
1.52205e-09
5.98839e-08
1.51475e-09
5.99004e-08
1.50706e-09
5.99158e-08
1.49907e-09
5.99301e-08
1.49086e-09
5.99435e-08
1.48251e-09
5.99559e-08
1.47408e-09
5.99675e-08
1.46561e-09
5.99782e-08
1.45716e-09
5.99882e-08
1.44874e-09
5.99975e-08
1.4404e-09
6.00062e-08
1.43215e-09
6.00142e-08
1.424e-09
6.00217e-08
1.41598e-09
6.00287e-08
1.40808e-09
6.00351e-08
1.40031e-09
6.00412e-08
1.39268e-09
6.00468e-08
1.38519e-09
6.0052e-08
1.37783e-09
6.00568e-08
1.3706e-09
6.00613e-08
1.3635e-09
6.00655e-08
1.35652e-09
6.00694e-08
1.34965e-09
6.0073e-08
1.34288e-09
6.00763e-08
1.33621e-09
6.00794e-08
1.32963e-09
6.00822e-08
1.32313e-09
6.00849e-08
1.31669e-09
6.00873e-08
1.31031e-09
6.00895e-08
1.30398e-09
6.00915e-08
1.29767e-09
6.00934e-08
1.29139e-09
6.0095e-08
1.28512e-09
6.00965e-08
1.27884e-09
6.00979e-08
1.27255e-09
6.00991e-08
1.26623e-09
6.01001e-08
1.25987e-09
6.0101e-08
1.25345e-09
6.01018e-08
1.24696e-09
6.01024e-08
1.24039e-09
6.01029e-08
1.23372e-09
6.01032e-08
1.22693e-09
6.01034e-08
1.22003e-09
6.01035e-08
1.21298e-09
6.01034e-08
1.20579e-09
6.01032e-08
1.19842e-09
6.01028e-08
1.19087e-09
6.01023e-08
1.18313e-09
6.01016e-08
1.17519e-09
6.01008e-08
1.16702e-09
6.00998e-08
1.15862e-09
6.00986e-08
1.14999e-09
6.00972e-08
1.1411e-09
6.00956e-08
1.13195e-09
6.00938e-08
1.12254e-09
6.00918e-08
1.11286e-09
6.00896e-08
1.1029e-09
6.00871e-08
1.09268e-09
6.00843e-08
1.0822e-09
6.00812e-08
1.07146e-09
6.00778e-08
1.06048e-09
6.00741e-08
1.04928e-09
6.00701e-08
1.03788e-09
6.00657e-08
1.02633e-09
6.00609e-08
1.01465e-09
6.00557e-08
1.0029e-09
6.00501e-08
9.91134e-10
6.0044e-08
9.79433e-10
6.00375e-08
9.67876e-10
6.00306e-08
9.56561e-10
6.00232e-08
9.45598e-10
6.00153e-08
9.35113e-10
6.0007e-08
9.25246e-10
5.99982e-08
9.1615e-10
5.99891e-08
9.07988e-10
9.00975e-10
6.01881e-08
1.15677e-09
-6.01614e-08
6.02167e-08
1.19608e-09
6.02471e-08
1.23399e-09
6.02792e-08
1.27024e-09
6.03127e-08
1.30454e-09
6.03474e-08
1.33664e-09
6.03829e-08
1.36633e-09
6.0419e-08
1.39345e-09
6.04554e-08
1.4179e-09
6.04918e-08
1.43961e-09
6.05279e-08
1.45858e-09
6.05635e-08
1.47483e-09
6.05983e-08
1.48845e-09
6.06323e-08
1.49955e-09
6.06651e-08
1.50826e-09
6.06967e-08
1.51474e-09
6.0727e-08
1.51918e-09
6.0756e-08
1.52175e-09
6.07835e-08
1.52266e-09
6.08096e-08
1.52207e-09
6.08342e-08
1.52018e-09
6.08574e-08
1.51715e-09
6.08793e-08
1.51315e-09
6.08998e-08
1.50833e-09
6.0919e-08
1.50283e-09
6.0937e-08
1.49676e-09
6.09538e-08
1.49023e-09
6.09696e-08
1.48334e-09
6.09843e-08
1.47618e-09
6.0998e-08
1.4688e-09
6.10107e-08
1.46129e-09
6.10227e-08
1.45369e-09
6.10338e-08
1.44604e-09
6.10442e-08
1.43838e-09
6.10538e-08
1.43073e-09
6.10628e-08
1.42314e-09
6.10712e-08
1.41561e-09
6.1079e-08
1.40815e-09
6.10863e-08
1.40079e-09
6.10931e-08
1.39352e-09
6.10995e-08
1.38635e-09
6.11054e-08
1.3793e-09
6.11108e-08
1.37234e-09
6.11159e-08
1.36549e-09
6.11207e-08
1.35875e-09
6.11251e-08
1.3521e-09
6.11292e-08
1.34554e-09
6.1133e-08
1.33907e-09
6.11366e-08
1.33268e-09
6.11398e-08
1.32636e-09
6.11429e-08
1.3201e-09
6.11457e-08
1.3139e-09
6.11482e-08
1.30774e-09
6.11506e-08
1.30161e-09
6.11528e-08
1.29551e-09
6.11547e-08
1.28941e-09
6.11565e-08
1.28332e-09
6.11582e-08
1.27722e-09
6.11596e-08
1.2711e-09
6.11609e-08
1.26494e-09
6.11621e-08
1.25873e-09
6.1163e-08
1.25246e-09
6.11639e-08
1.24612e-09
6.11646e-08
1.2397e-09
6.11651e-08
1.23317e-09
6.11655e-08
1.22654e-09
6.11658e-08
1.21977e-09
6.11659e-08
1.21287e-09
6.11658e-08
1.20582e-09
6.11657e-08
1.19861e-09
6.11653e-08
1.19121e-09
6.11648e-08
1.18363e-09
6.11642e-08
1.17585e-09
6.11633e-08
1.16785e-09
6.11623e-08
1.15963e-09
6.11611e-08
1.15117e-09
6.11598e-08
1.14248e-09
6.11582e-08
1.13354e-09
6.11564e-08
1.12434e-09
6.11543e-08
1.11489e-09
6.11521e-08
1.10518e-09
6.11495e-08
1.09521e-09
6.11467e-08
1.085e-09
6.11436e-08
1.07455e-09
6.11402e-08
1.06388e-09
6.11365e-08
1.053e-09
6.11324e-08
1.04195e-09
6.1128e-08
1.03075e-09
6.11232e-08
1.01945e-09
6.1118e-08
1.0081e-09
6.11124e-08
9.96749e-10
6.11063e-08
9.85475e-10
6.10999e-08
9.74358e-10
6.10929e-08
9.6349e-10
6.10856e-08
9.52978e-10
6.10777e-08
9.42939e-10
6.10695e-08
9.33505e-10
6.10608e-08
9.24819e-10
6.10518e-08
9.17025e-10
9.10325e-10
6.12789e-08
1.13104e-09
-6.12532e-08
6.13065e-08
1.16851e-09
6.13357e-08
1.20472e-09
6.13665e-08
1.23944e-09
6.13986e-08
1.27242e-09
6.14318e-08
1.30343e-09
6.14659e-08
1.33228e-09
6.15005e-08
1.35883e-09
6.15354e-08
1.38296e-09
6.15704e-08
1.40461e-09
6.16053e-08
1.42376e-09
6.16397e-08
1.44043e-09
6.16734e-08
1.45467e-09
6.17064e-08
1.46657e-09
6.17384e-08
1.47623e-09
6.17694e-08
1.4838e-09
6.17991e-08
1.48942e-09
6.18277e-08
1.49324e-09
6.18549e-08
1.49545e-09
6.18807e-08
1.49619e-09
6.19053e-08
1.49563e-09
6.19285e-08
1.49393e-09
6.19504e-08
1.49124e-09
6.19711e-08
1.48769e-09
6.19905e-08
1.48342e-09
6.20087e-08
1.47853e-09
6.20258e-08
1.47313e-09
6.20418e-08
1.46732e-09
6.20568e-08
1.46117e-09
6.20709e-08
1.45477e-09
6.2084e-08
1.44816e-09
6.20963e-08
1.44141e-09
6.21077e-08
1.43457e-09
6.21185e-08
1.42766e-09
6.21285e-08
1.42073e-09
6.21378e-08
1.41379e-09
6.21465e-08
1.40688e-09
6.21547e-08
1.4e-09
6.21623e-08
1.39318e-09
6.21694e-08
1.38642e-09
6.2176e-08
1.37973e-09
6.21822e-08
1.37312e-09
6.2188e-08
1.36658e-09
6.21933e-08
1.36013e-09
6.21983e-08
1.35375e-09
6.2203e-08
1.34744e-09
6.22073e-08
1.34121e-09
6.22113e-08
1.33505e-09
6.22151e-08
1.32894e-09
6.22185e-08
1.32289e-09
6.22218e-08
1.31689e-09
6.22247e-08
1.31093e-09
6.22275e-08
1.305e-09
6.223e-08
1.29909e-09
6.22323e-08
1.29319e-09
6.22344e-08
1.2873e-09
6.22363e-08
1.2814e-09
6.22381e-08
1.27548e-09
6.22396e-08
1.26953e-09
6.2241e-08
1.26354e-09
6.22423e-08
1.2575e-09
6.22433e-08
1.25139e-09
6.22443e-08
1.24521e-09
6.2245e-08
1.23893e-09
6.22456e-08
1.23256e-09
6.22461e-08
1.22608e-09
6.22464e-08
1.21947e-09
6.22465e-08
1.21272e-09
6.22466e-08
1.20582e-09
6.22464e-08
1.19876e-09
6.22461e-08
1.19152e-09
6.22456e-08
1.1841e-09
6.2245e-08
1.17649e-09
6.22442e-08
1.16867e-09
6.22432e-08
1.16063e-09
6.2242e-08
1.15236e-09
6.22406e-08
1.14386e-09
6.2239e-08
1.13513e-09
6.22372e-08
1.12615e-09
6.22351e-08
1.11693e-09
6.22329e-08
1.10747e-09
6.22303e-08
1.09776e-09
6.22275e-08
1.08782e-09
6.22244e-08
1.07766e-09
6.2221e-08
1.0673e-09
6.22172e-08
1.05675e-09
6.22131e-08
1.04603e-09
6.22087e-08
1.03519e-09
6.22039e-08
1.02427e-09
6.21987e-08
1.01331e-09
6.2193e-08
1.00236e-09
6.2187e-08
9.9151e-10
6.21805e-08
9.80822e-10
6.21736e-08
9.70391e-10
6.21663e-08
9.60316e-10
6.21585e-08
9.5071e-10
6.21503e-08
9.41695e-10
6.21418e-08
9.33402e-10
6.21328e-08
9.25965e-10
9.19569e-10
6.23882e-08
1.10616e-09
-6.23633e-08
6.24148e-08
1.14192e-09
6.24429e-08
1.17656e-09
6.24725e-08
1.20987e-09
6.25033e-08
1.24161e-09
6.25352e-08
1.27159e-09
6.25678e-08
1.29963e-09
6.2601e-08
1.3256e-09
6.26346e-08
1.34938e-09
6.26683e-08
1.37093e-09
6.27019e-08
1.39019e-09
6.27351e-08
1.40719e-09
6.27679e-08
1.42194e-09
6.27999e-08
1.43452e-09
6.28311e-08
1.44502e-09
6.28614e-08
1.45355e-09
6.28906e-08
1.46022e-09
6.29186e-08
1.46519e-09
6.29455e-08
1.46858e-09
6.29711e-08
1.47054e-09
6.29955e-08
1.47123e-09
6.30187e-08
1.47077e-09
6.30406e-08
1.46931e-09
6.30614e-08
1.46697e-09
6.30809e-08
1.46386e-09
6.30993e-08
1.46011e-09
6.31167e-08
1.4558e-09
6.31329e-08
1.45104e-09
6.31482e-08
1.44589e-09
6.31626e-08
1.44043e-09
6.3176e-08
1.43472e-09
6.31886e-08
1.42882e-09
6.32004e-08
1.42277e-09
6.32114e-08
1.41661e-09
6.32218e-08
1.41039e-09
6.32315e-08
1.40412e-09
6.32405e-08
1.39783e-09
6.3249e-08
1.39154e-09
6.32569e-08
1.38527e-09
6.32643e-08
1.37903e-09
6.32712e-08
1.37282e-09
6.32776e-08
1.36667e-09
6.32837e-08
1.36056e-09
6.32893e-08
1.3545e-09
6.32945e-08
1.3485e-09
6.32994e-08
1.34255e-09
6.3304e-08
1.33666e-09
6.33082e-08
1.33081e-09
6.33121e-08
1.325e-09
6.33158e-08
1.31923e-09
6.33192e-08
1.3135e-09
6.33223e-08
1.30779e-09
6.33252e-08
1.3021e-09
6.33279e-08
1.29642e-09
6.33304e-08
1.29074e-09
6.33326e-08
1.28505e-09
6.33347e-08
1.27935e-09
6.33365e-08
1.27362e-09
6.33382e-08
1.26785e-09
6.33397e-08
1.26204e-09
6.33411e-08
1.25617e-09
6.33422e-08
1.25023e-09
6.33432e-08
1.24421e-09
6.3344e-08
1.2381e-09
6.33447e-08
1.23188e-09
6.33452e-08
1.22556e-09
6.33456e-08
1.2191e-09
6.33458e-08
1.21251e-09
6.33459e-08
1.20577e-09
6.33457e-08
1.19888e-09
6.33455e-08
1.19181e-09
6.3345e-08
1.18455e-09
6.33444e-08
1.17711e-09
6.33436e-08
1.16947e-09
6.33426e-08
1.16161e-09
6.33414e-08
1.15354e-09
6.334e-08
1.14525e-09
6.33384e-08
1.13673e-09
6.33366e-08
1.12797e-09
6.33346e-08
1.11899e-09
6.33323e-08
1.10977e-09
6.33297e-08
1.10032e-09
6.33269e-08
1.09066e-09
6.33237e-08
1.08079e-09
6.33203e-08
1.07073e-09
6.33165e-08
1.0605e-09
6.33124e-08
1.05013e-09
6.3308e-08
1.03964e-09
6.33032e-08
1.02909e-09
6.3298e-08
1.01851e-09
6.32924e-08
1.00797e-09
6.32863e-08
9.97531e-10
6.32799e-08
9.87264e-10
6.3273e-08
9.77259e-10
6.32657e-08
9.67609e-10
6.3258e-08
9.58423e-10
6.32499e-08
9.49813e-10
6.32414e-08
9.41901e-10
6.32326e-08
9.34808e-10
9.28709e-10
6.35163e-08
1.08207e-09
-6.34922e-08
6.35419e-08
1.11627e-09
6.3569e-08
1.14945e-09
6.35975e-08
1.18143e-09
6.36271e-08
1.21201e-09
6.36577e-08
1.24102e-09
6.3689e-08
1.26828e-09
6.37209e-08
1.29367e-09
6.37532e-08
1.3171e-09
6.37856e-08
1.33849e-09
6.3818e-08
1.35781e-09
6.38502e-08
1.37505e-09
6.38819e-08
1.39023e-09
6.3913e-08
1.40339e-09
6.39434e-08
1.41462e-09
6.3973e-08
1.42399e-09
6.40016e-08
1.43161e-09
6.40292e-08
1.4376e-09
6.40557e-08
1.44208e-09
6.4081e-08
1.44517e-09
6.41053e-08
1.44701e-09
6.41283e-08
1.44771e-09
6.41502e-08
1.4474e-09
6.4171e-08
1.4462e-09
6.41906e-08
1.44421e-09
6.42092e-08
1.44154e-09
6.42267e-08
1.43829e-09
6.42432e-08
1.43453e-09
6.42588e-08
1.43035e-09
6.42734e-08
1.42582e-09
6.42871e-08
1.42099e-09
6.43e-08
1.41592e-09
6.43121e-08
1.41067e-09
6.43234e-08
1.40526e-09
6.43341e-08
1.39974e-09
6.43441e-08
1.39414e-09
6.43534e-08
1.38848e-09
6.43622e-08
1.38278e-09
6.43704e-08
1.37707e-09
6.43781e-08
1.37135e-09
6.43853e-08
1.36564e-09
6.4392e-08
1.35994e-09
6.43983e-08
1.35427e-09
6.44041e-08
1.34863e-09
6.44096e-08
1.34301e-09
6.44147e-08
1.33743e-09
6.44195e-08
1.33188e-09
6.4424e-08
1.32636e-09
6.44281e-08
1.32086e-09
6.4432e-08
1.31538e-09
6.44355e-08
1.30992e-09
6.44389e-08
1.30447e-09
6.44419e-08
1.29903e-09
6.44448e-08
1.29359e-09
6.44474e-08
1.28813e-09
6.44497e-08
1.28266e-09
6.44519e-08
1.27717e-09
6.44539e-08
1.27164e-09
6.44557e-08
1.26606e-09
6.44573e-08
1.26043e-09
6.44587e-08
1.25474e-09
6.446e-08
1.24898e-09
6.44611e-08
1.24313e-09
6.4462e-08
1.23719e-09
6.44627e-08
1.23114e-09
6.44633e-08
1.22498e-09
6.44637e-08
1.21869e-09
6.4464e-08
1.21226e-09
6.44641e-08
1.20569e-09
6.4464e-08
1.19895e-09
6.44637e-08
1.19205e-09
6.44633e-08
1.18498e-09
6.44627e-08
1.17771e-09
6.44619e-08
1.17025e-09
6.4461e-08
1.16259e-09
6.44598e-08
1.15472e-09
6.44584e-08
1.14663e-09
6.44568e-08
1.13832e-09
6.4455e-08
1.12979e-09
6.44529e-08
1.12105e-09
6.44506e-08
1.11208e-09
6.4448e-08
1.1029e-09
6.44452e-08
1.09351e-09
6.4442e-08
1.08393e-09
6.44386e-08
1.07418e-09
6.44348e-08
1.06427e-09
6.44307e-08
1.05423e-09
6.44263e-08
1.0441e-09
6.44214e-08
1.03392e-09
6.44162e-08
1.02372e-09
6.44106e-08
1.01357e-09
6.44046e-08
1.00353e-09
6.43982e-08
9.9368e-10
6.43914e-08
9.84089e-10
6.43841e-08
9.74854e-10
6.43765e-08
9.66074e-10
6.43685e-08
9.57856e-10
6.436e-08
9.50312e-10
6.43513e-08
9.43553e-10
9.37746e-10
6.46636e-08
1.05874e-09
-6.46402e-08
6.46883e-08
1.09148e-09
6.47145e-08
1.12331e-09
6.47418e-08
1.15407e-09
6.47703e-08
1.18356e-09
6.47997e-08
1.21164e-09
6.48298e-08
1.23816e-09
6.48605e-08
1.26299e-09
6.48915e-08
1.28604e-09
6.49228e-08
1.30724e-09
6.4954e-08
1.32656e-09
6.49851e-08
1.34398e-09
6.50158e-08
1.3595e-09
6.50461e-08
1.37316e-09
6.50757e-08
1.38502e-09
6.51045e-08
1.39514e-09
6.51325e-08
1.4036e-09
6.51596e-08
1.41052e-09
6.51857e-08
1.41598e-09
6.52108e-08
1.4201e-09
6.52348e-08
1.423e-09
6.52577e-08
1.42478e-09
6.52796e-08
1.42556e-09
6.53003e-08
1.42543e-09
6.532e-08
1.4245e-09
6.53387e-08
1.42287e-09
6.53564e-08
1.42063e-09
6.5373e-08
1.41785e-09
6.53888e-08
1.41461e-09
6.54036e-08
1.41097e-09
6.54176e-08
1.40701e-09
6.54308e-08
1.40276e-09
6.54432e-08
1.39829e-09
6.54548e-08
1.39362e-09
6.54657e-08
1.38881e-09
6.5476e-08
1.38387e-09
6.54856e-08
1.37884e-09
6.54947e-08
1.37373e-09
6.55032e-08
1.36858e-09
6.55111e-08
1.36339e-09
6.55186e-08
1.35818e-09
6.55256e-08
1.35296e-09
6.55321e-08
1.34773e-09
6.55382e-08
1.34251e-09
6.5544e-08
1.33729e-09
6.55493e-08
1.33208e-09
6.55543e-08
1.32688e-09
6.5559e-08
1.32169e-09
6.55633e-08
1.31651e-09
6.55674e-08
1.31134e-09
6.55711e-08
1.30616e-09
6.55746e-08
1.30099e-09
6.55778e-08
1.2958e-09
6.55808e-08
1.2906e-09
6.55836e-08
1.28538e-09
6.55861e-08
1.28014e-09
6.55884e-08
1.27486e-09
6.55905e-08
1.26953e-09
6.55924e-08
1.26416e-09
6.55941e-08
1.25872e-09
6.55956e-08
1.25322e-09
6.5597e-08
1.24763e-09
6.55981e-08
1.24196e-09
6.55991e-08
1.2362e-09
6.56e-08
1.23032e-09
6.56006e-08
1.22433e-09
6.56011e-08
1.21821e-09
6.56014e-08
1.21195e-09
6.56015e-08
1.20555e-09
6.56015e-08
1.19899e-09
6.56013e-08
1.19227e-09
6.56009e-08
1.18537e-09
6.56003e-08
1.17829e-09
6.55995e-08
1.17102e-09
6.55986e-08
1.16355e-09
6.55974e-08
1.15588e-09
6.5596e-08
1.148e-09
6.55944e-08
1.13992e-09
6.55926e-08
1.13162e-09
6.55905e-08
1.12311e-09
6.55882e-08
1.11439e-09
6.55856e-08
1.10548e-09
6.55828e-08
1.09637e-09
6.55796e-08
1.08708e-09
6.55762e-08
1.07763e-09
6.55724e-08
1.06805e-09
6.55683e-08
1.05834e-09
6.55638e-08
1.04856e-09
6.5559e-08
1.03874e-09
6.55538e-08
1.02892e-09
6.55482e-08
1.01916e-09
6.55422e-08
1.00952e-09
6.55359e-08
1.00006e-09
6.55291e-08
9.90878e-10
6.55219e-08
9.82046e-10
6.55143e-08
9.73661e-10
6.55063e-08
9.65823e-10
6.5498e-08
9.58636e-10
6.54894e-08
9.52201e-10
9.46678e-10
6.58304e-08
1.03614e-09
-6.58078e-08
6.58544e-08
1.06753e-09
6.58796e-08
1.09811e-09
6.59059e-08
1.12771e-09
6.59333e-08
1.15619e-09
6.59616e-08
1.18339e-09
6.59905e-08
1.20919e-09
6.60201e-08
1.23346e-09
6.605e-08
1.25613e-09
6.60801e-08
1.27713e-09
6.61102e-08
1.29641e-09
6.61403e-08
1.31394e-09
6.617e-08
1.32974e-09
6.61994e-08
1.34381e-09
6.62282e-08
1.35621e-09
6.62563e-08
1.36698e-09
6.62837e-08
1.3762e-09
6.63103e-08
1.38394e-09
6.6336e-08
1.3903e-09
6.63607e-08
1.39537e-09
6.63845e-08
1.39925e-09
6.64072e-08
1.40203e-09
6.6429e-08
1.40382e-09
6.64497e-08
1.4047e-09
6.64694e-08
1.40478e-09
6.64882e-08
1.40414e-09
6.65059e-08
1.40286e-09
6.65228e-08
1.40101e-09
6.65387e-08
1.39868e-09
6.65537e-08
1.39593e-09
6.65679e-08
1.3928e-09
6.65813e-08
1.38936e-09
6.6594e-08
1.38565e-09
6.66059e-08
1.38172e-09
6.66171e-08
1.3776e-09
6.66276e-08
1.37333e-09
6.66375e-08
1.36892e-09
6.66469e-08
1.36442e-09
6.66556e-08
1.35983e-09
6.66638e-08
1.35517e-09
6.66715e-08
1.35047e-09
6.66788e-08
1.34572e-09
6.66856e-08
1.34095e-09
6.66919e-08
1.33615e-09
6.66979e-08
1.33134e-09
6.67035e-08
1.32651e-09
6.67087e-08
1.32167e-09
6.67135e-08
1.31683e-09
6.67181e-08
1.31197e-09
6.67223e-08
1.30711e-09
6.67262e-08
1.30223e-09
6.67299e-08
1.29733e-09
6.67333e-08
1.29241e-09
6.67364e-08
1.28747e-09
6.67393e-08
1.28249e-09
6.6742e-08
1.27747e-09
6.67444e-08
1.27242e-09
6.67466e-08
1.26731e-09
6.67487e-08
1.26214e-09
6.67505e-08
1.2569e-09
6.67521e-08
1.25159e-09
6.67535e-08
1.2462e-09
6.67548e-08
1.24072e-09
6.67559e-08
1.23513e-09
6.67567e-08
1.22944e-09
6.67574e-08
1.22362e-09
6.6758e-08
1.21768e-09
6.67583e-08
1.2116e-09
6.67585e-08
1.20537e-09
6.67585e-08
1.19899e-09
6.67583e-08
1.19245e-09
6.6758e-08
1.18574e-09
6.67574e-08
1.17884e-09
6.67567e-08
1.17177e-09
6.67557e-08
1.1645e-09
6.67546e-08
1.15703e-09
6.67532e-08
1.14937e-09
6.67516e-08
1.14151e-09
6.67498e-08
1.13344e-09
6.67477e-08
1.12517e-09
6.67454e-08
1.11671e-09
6.67428e-08
1.10806e-09
6.674e-08
1.09923e-09
6.67368e-08
1.09024e-09
6.67334e-08
1.08109e-09
6.67296e-08
1.07182e-09
6.67255e-08
1.06246e-09
6.6721e-08
1.05302e-09
6.67162e-08
1.04355e-09
6.6711e-08
1.03411e-09
6.67054e-08
1.02472e-09
6.66995e-08
1.01547e-09
6.66931e-08
1.00641e-09
6.66864e-08
9.97621e-10
6.66793e-08
9.89181e-10
6.66717e-08
9.8118e-10
6.66638e-08
9.73711e-10
6.66556e-08
9.6687e-10
6.66471e-08
9.60752e-10
9.55505e-10
6.70172e-08
1.01423e-09
-6.69953e-08
6.70404e-08
1.04437e-09
6.70647e-08
1.07378e-09
6.70901e-08
1.10231e-09
6.71165e-08
1.12983e-09
6.71437e-08
1.1562e-09
6.71715e-08
1.18131e-09
6.72e-08
1.20505e-09
6.72288e-08
1.22733e-09
6.72578e-08
1.24809e-09
6.72869e-08
1.26729e-09
6.7316e-08
1.2849e-09
6.73448e-08
1.3009e-09
6.73733e-08
1.31532e-09
6.74013e-08
1.32818e-09
6.74288e-08
1.33953e-09
6.74556e-08
1.34941e-09
6.74816e-08
1.3579e-09
6.75068e-08
1.36507e-09
6.75312e-08
1.371e-09
6.75547e-08
1.37578e-09
6.75772e-08
1.37949e-09
6.75988e-08
1.38221e-09
6.76195e-08
1.38405e-09
6.76392e-08
1.38507e-09
6.76579e-08
1.38537e-09
6.76758e-08
1.38501e-09
6.76927e-08
1.38407e-09
6.77088e-08
1.38261e-09
6.7724e-08
1.3807e-09
6.77384e-08
1.3784e-09
6.7752e-08
1.37575e-09
6.77649e-08
1.37279e-09
6.7777e-08
1.36958e-09
6.77885e-08
1.36615e-09
6.77993e-08
1.36254e-09
6.78095e-08
1.35876e-09
6.7819e-08
1.35484e-09
6.7828e-08
1.35082e-09
6.78365e-08
1.3467e-09
6.78445e-08
1.3425e-09
6.78519e-08
1.33824e-09
6.7859e-08
1.33392e-09
6.78656e-08
1.32956e-09
6.78717e-08
1.32516e-09
6.78775e-08
1.32072e-09
6.78829e-08
1.31626e-09
6.7888e-08
1.31176e-09
6.78927e-08
1.30724e-09
6.78972e-08
1.30269e-09
6.79013e-08
1.29811e-09
6.79051e-08
1.2935e-09
6.79086e-08
1.28886e-09
6.79119e-08
1.28418e-09
6.7915e-08
1.27945e-09
6.79178e-08
1.27468e-09
6.79203e-08
1.26985e-09
6.79227e-08
1.26496e-09
6.79248e-08
1.26001e-09
6.79267e-08
1.25498e-09
6.79285e-08
1.24987e-09
6.793e-08
1.24468e-09
6.79313e-08
1.23938e-09
6.79325e-08
1.23399e-09
6.79334e-08
1.22848e-09
6.79342e-08
1.22285e-09
6.79348e-08
1.21709e-09
6.79352e-08
1.21119e-09
6.79354e-08
1.20515e-09
6.79355e-08
1.19895e-09
6.79353e-08
1.19259e-09
6.7935e-08
1.18607e-09
6.79345e-08
1.17937e-09
6.79337e-08
1.17249e-09
6.79328e-08
1.16543e-09
6.79317e-08
1.15817e-09
6.79303e-08
1.15073e-09
6.79287e-08
1.14309e-09
6.79269e-08
1.13526e-09
6.79248e-08
1.12724e-09
6.79225e-08
1.11903e-09
6.79199e-08
1.11065e-09
6.79171e-08
1.1021e-09
6.79139e-08
1.09339e-09
6.79105e-08
1.08456e-09
6.79067e-08
1.0756e-09
6.79026e-08
1.06656e-09
6.78981e-08
1.05747e-09
6.78933e-08
1.04836e-09
6.78881e-08
1.03927e-09
6.78826e-08
1.03027e-09
6.78767e-08
1.0214e-09
6.78704e-08
1.01272e-09
6.78637e-08
1.00432e-09
6.78566e-08
9.96258e-10
6.78491e-08
9.8863e-10
6.78413e-08
9.81519e-10
6.78332e-08
9.75014e-10
6.78247e-08
9.69204e-10
9.64227e-10
6.82244e-08
9.92977e-10
-6.82031e-08
6.82468e-08
1.02196e-09
6.82703e-08
1.05027e-09
6.82948e-08
1.07781e-09
6.83202e-08
1.10443e-09
6.83464e-08
1.13002e-09
6.83732e-08
1.15446e-09
6.84006e-08
1.17767e-09
6.84283e-08
1.19957e-09
6.84563e-08
1.22008e-09
6.84845e-08
1.23917e-09
6.85125e-08
1.25681e-09
6.85405e-08
1.27297e-09
6.85681e-08
1.28768e-09
6.85954e-08
1.30093e-09
6.86221e-08
1.31277e-09
6.86483e-08
1.32324e-09
6.86738e-08
1.3324e-09
6.86986e-08
1.3403e-09
6.87226e-08
1.34701e-09
6.87457e-08
1.35261e-09
6.8768e-08
1.35718e-09
6.87895e-08
1.36079e-09
6.881e-08
1.36351e-09
6.88297e-08
1.36543e-09
6.88484e-08
1.36661e-09
6.88663e-08
1.36713e-09
6.88833e-08
1.36705e-09
6.88995e-08
1.36643e-09
6.89149e-08
1.36534e-09
6.89294e-08
1.36383e-09
6.89432e-08
1.36195e-09
6.89563e-08
1.35973e-09
6.89686e-08
1.35723e-09
6.89803e-08
1.35448e-09
6.89913e-08
1.35151e-09
6.90017e-08
1.34836e-09
6.90115e-08
1.34504e-09
6.90208e-08
1.34158e-09
6.90295e-08
1.33799e-09
6.90377e-08
1.33431e-09
6.90454e-08
1.33053e-09
6.90527e-08
1.32667e-09
6.90595e-08
1.32275e-09
6.90659e-08
1.31877e-09
6.90719e-08
1.31473e-09
6.90775e-08
1.31064e-09
6.90827e-08
1.3065e-09
6.90877e-08
1.30232e-09
6.90922e-08
1.2981e-09
6.90965e-08
1.29383e-09
6.91005e-08
1.28951e-09
6.91042e-08
1.28515e-09
6.91077e-08
1.28074e-09
6.91108e-08
1.27627e-09
6.91138e-08
1.27174e-09
6.91165e-08
1.26716e-09
6.91189e-08
1.2625e-09
6.91212e-08
1.25777e-09
6.91232e-08
1.25295e-09
6.9125e-08
1.24805e-09
6.91266e-08
1.24306e-09
6.91281e-08
1.23797e-09
6.91293e-08
1.23277e-09
6.91303e-08
1.22745e-09
6.91311e-08
1.22201e-09
6.91318e-08
1.21644e-09
6.91323e-08
1.21073e-09
6.91325e-08
1.20487e-09
6.91326e-08
1.19887e-09
6.91325e-08
1.1927e-09
6.91322e-08
1.18637e-09
6.91317e-08
1.17987e-09
6.9131e-08
1.17319e-09
6.91301e-08
1.16634e-09
6.9129e-08
1.1593e-09
6.91276e-08
1.15207e-09
6.9126e-08
1.14466e-09
6.91242e-08
1.13707e-09
6.91222e-08
1.1293e-09
6.91198e-08
1.12135e-09
6.91173e-08
1.11323e-09
6.91144e-08
1.10496e-09
6.91112e-08
1.09655e-09
6.91078e-08
1.08802e-09
6.9104e-08
1.07938e-09
6.90999e-08
1.07067e-09
6.90955e-08
1.06191e-09
6.90907e-08
1.05315e-09
6.90855e-08
1.04443e-09
6.908e-08
1.03579e-09
6.90741e-08
1.02729e-09
6.90678e-08
1.01899e-09
6.90612e-08
1.01096e-09
6.90542e-08
1.00327e-09
6.90468e-08
9.96007e-10
6.90391e-08
9.89244e-10
6.9031e-08
9.83067e-10
6.90227e-08
9.77559e-10
9.72838e-10
6.94522e-08
9.72363e-10
-6.94316e-08
6.94739e-08
1.00026e-09
6.94966e-08
1.02756e-09
6.95203e-08
1.05416e-09
6.95448e-08
1.07994e-09
6.957e-08
1.10478e-09
6.95959e-08
1.1286e-09
6.96222e-08
1.1513e-09
6.9649e-08
1.1728e-09
6.9676e-08
1.19306e-09
6.97032e-08
1.21202e-09
6.97304e-08
1.22964e-09
6.97574e-08
1.24592e-09
6.97842e-08
1.26085e-09
6.98107e-08
1.27444e-09
6.98368e-08
1.28671e-09
6.98623e-08
1.29769e-09
6.98873e-08
1.30744e-09
6.99116e-08
1.316e-09
6.99352e-08
1.32343e-09
6.9958e-08
1.32979e-09
6.998e-08
1.33514e-09
7.00013e-08
1.33956e-09
7.00217e-08
1.34312e-09
7.00412e-08
1.34587e-09
7.00599e-08
1.34789e-09
7.00778e-08
1.34924e-09
7.00949e-08
1.34998e-09
7.01111e-08
1.35018e-09
7.01266e-08
1.34988e-09
7.01413e-08
1.34914e-09
7.01553e-08
1.348e-09
7.01685e-08
1.3465e-09
7.0181e-08
1.3447e-09
7.01929e-08
1.34262e-09
7.02041e-08
1.34029e-09
7.02147e-08
1.33775e-09
7.02247e-08
1.33502e-09
7.02342e-08
1.33212e-09
7.02431e-08
1.32907e-09
7.02515e-08
1.3259e-09
7.02595e-08
1.32261e-09
7.02669e-08
1.31922e-09
7.02739e-08
1.31574e-09
7.02805e-08
1.31217e-09
7.02867e-08
1.30853e-09
7.02925e-08
1.30483e-09
7.0298e-08
1.30106e-09
7.03031e-08
1.29722e-09
7.03078e-08
1.29333e-09
7.03123e-08
1.28938e-09
7.03164e-08
1.28537e-09
7.03203e-08
1.28129e-09
7.03239e-08
1.27716e-09
7.03272e-08
1.27295e-09
7.03302e-08
1.26868e-09
7.03331e-08
1.26434e-09
7.03356e-08
1.25992e-09
7.0338e-08
1.25542e-09
7.03401e-08
1.25083e-09
7.0342e-08
1.24614e-09
7.03437e-08
1.24136e-09
7.03452e-08
1.23647e-09
7.03465e-08
1.23147e-09
7.03476e-08
1.22635e-09
7.03485e-08
1.22111e-09
7.03492e-08
1.21573e-09
7.03497e-08
1.21021e-09
7.035e-08
1.20455e-09
7.03502e-08
1.19874e-09
7.03501e-08
1.19277e-09
7.03498e-08
1.18664e-09
7.03494e-08
1.18034e-09
7.03487e-08
1.17387e-09
7.03478e-08
1.16723e-09
7.03467e-08
1.16041e-09
7.03453e-08
1.15341e-09
7.03438e-08
1.14623e-09
7.0342e-08
1.13888e-09
7.03399e-08
1.13135e-09
7.03376e-08
1.12366e-09
7.0335e-08
1.11582e-09
7.03321e-08
1.10783e-09
7.0329e-08
1.09971e-09
7.03255e-08
1.09147e-09
7.03218e-08
1.08315e-09
7.03177e-08
1.07476e-09
7.03132e-08
1.06634e-09
7.03085e-08
1.05792e-09
7.03033e-08
1.04955e-09
7.02979e-08
1.04127e-09
7.0292e-08
1.03314e-09
7.02858e-08
1.02521e-09
7.02792e-08
1.01754e-09
7.02723e-08
1.01022e-09
7.0265e-08
1.00331e-09
7.02573e-08
9.96883e-10
7.02494e-08
9.91026e-10
7.02411e-08
9.85814e-10
9.81341e-10
9.2576e-08
9.4637e-10
-9.255e-08
9.26033e-08
9.72973e-10
9.26318e-08
9.9905e-10
9.26614e-08
1.02451e-09
9.26921e-08
1.04926e-09
9.27237e-08
1.0732e-09
9.2756e-08
1.09624e-09
9.2789e-08
1.1183e-09
9.28225e-08
1.13931e-09
9.28564e-08
1.15921e-09
9.28904e-08
1.17797e-09
9.29245e-08
1.19554e-09
9.29585e-08
1.21191e-09
9.29923e-08
1.22706e-09
9.30258e-08
1.241e-09
9.30587e-08
1.25375e-09
9.30911e-08
1.26531e-09
9.31228e-08
1.27573e-09
9.31538e-08
1.28505e-09
9.31839e-08
1.29331e-09
9.32131e-08
1.30056e-09
9.32414e-08
1.30685e-09
9.32687e-08
1.31224e-09
9.3295e-08
1.31679e-09
9.33204e-08
1.32056e-09
9.33446e-08
1.3236e-09
9.33679e-08
1.32597e-09
9.33902e-08
1.32773e-09
9.34114e-08
1.32892e-09
9.34317e-08
1.32961e-09
9.3451e-08
1.32982e-09
9.34694e-08
1.32962e-09
9.34869e-08
1.32904e-09
9.35034e-08
1.32812e-09
9.35192e-08
1.32689e-09
9.35341e-08
1.32538e-09
9.35482e-08
1.32363e-09
9.35616e-08
1.32165e-09
9.35742e-08
1.31948e-09
9.35861e-08
1.31713e-09
9.35974e-08
1.31462e-09
9.3608e-08
1.31197e-09
9.36181e-08
1.30919e-09
9.36275e-08
1.30629e-09
9.36364e-08
1.30328e-09
9.36448e-08
1.30017e-09
9.36526e-08
1.29697e-09
9.366e-08
1.29369e-09
9.36669e-08
1.29031e-09
9.36734e-08
1.28686e-09
9.36794e-08
1.28333e-09
9.36851e-08
1.27972e-09
9.36903e-08
1.27604e-09
9.36952e-08
1.27227e-09
9.36997e-08
1.26843e-09
9.37039e-08
1.2645e-09
9.37078e-08
1.26048e-09
9.37113e-08
1.25638e-09
9.37145e-08
1.25219e-09
9.37175e-08
1.2479e-09
9.37201e-08
1.2435e-09
9.37225e-08
1.239e-09
9.37245e-08
1.23439e-09
9.37263e-08
1.22966e-09
9.37279e-08
1.22481e-09
9.37292e-08
1.21983e-09
9.37302e-08
1.21472e-09
9.37309e-08
1.20946e-09
9.37314e-08
1.20406e-09
9.37317e-08
1.19851e-09
9.37316e-08
1.19281e-09
9.37313e-08
1.18694e-09
9.37307e-08
1.18091e-09
9.37299e-08
1.17472e-09
9.37288e-08
1.16836e-09
9.37274e-08
1.16182e-09
9.37256e-08
1.15512e-09
9.37236e-08
1.14825e-09
9.37213e-08
1.14121e-09
9.37186e-08
1.13402e-09
9.37156e-08
1.12667e-09
9.37123e-08
1.11917e-09
9.37085e-08
1.11155e-09
9.37045e-08
1.1038e-09
9.37e-08
1.09596e-09
9.36951e-08
1.08804e-09
9.36898e-08
1.08007e-09
9.3684e-08
1.07208e-09
9.36778e-08
1.06411e-09
9.36712e-08
1.05619e-09
9.36641e-08
1.04837e-09
9.36565e-08
1.0407e-09
9.36485e-08
1.03324e-09
9.364e-08
1.02604e-09
9.36311e-08
1.01917e-09
9.36217e-08
1.01271e-09
9.36118e-08
1.00671e-09
9.36016e-08
1.00126e-09
9.3591e-08
9.96414e-10
9.92307e-10
9.48193e-08
9.21346e-10
-9.47943e-08
9.48455e-08
9.46761e-10
9.48729e-08
9.71716e-10
9.49012e-08
9.96136e-10
9.49306e-08
1.01993e-09
9.49607e-08
1.04302e-09
9.49917e-08
1.06532e-09
9.50232e-08
1.08676e-09
9.50552e-08
1.10729e-09
9.50876e-08
1.12683e-09
9.51202e-08
1.14536e-09
9.51529e-08
1.16283e-09
9.51856e-08
1.17923e-09
9.52181e-08
1.19454e-09
9.52504e-08
1.20875e-09
9.52822e-08
1.22188e-09
9.53136e-08
1.23393e-09
9.53444e-08
1.24493e-09
9.53746e-08
1.2549e-09
9.5404e-08
1.26388e-09
9.54326e-08
1.27192e-09
9.54604e-08
1.27904e-09
9.54874e-08
1.28531e-09
9.55134e-08
1.29077e-09
9.55385e-08
1.29547e-09
9.55626e-08
1.29945e-09
9.55858e-08
1.30277e-09
9.56081e-08
1.30547e-09
9.56294e-08
1.30761e-09
9.56498e-08
1.30922e-09
9.56692e-08
1.31036e-09
9.56878e-08
1.31105e-09
9.57055e-08
1.31135e-09
9.57223e-08
1.31128e-09
9.57383e-08
1.31088e-09
9.57535e-08
1.31017e-09
9.5768e-08
1.30919e-09
9.57817e-08
1.30797e-09
9.57946e-08
1.30651e-09
9.58069e-08
1.30486e-09
9.58185e-08
1.30301e-09
9.58295e-08
1.301e-09
9.58399e-08
1.29883e-09
9.58496e-08
1.29651e-09
9.58589e-08
1.29406e-09
9.58675e-08
1.29149e-09
9.58757e-08
1.2888e-09
9.58834e-08
1.28601e-09
9.58906e-08
1.28311e-09
9.58973e-08
1.28011e-09
9.59037e-08
1.27701e-09
9.59096e-08
1.27381e-09
9.59151e-08
1.27053e-09
9.59202e-08
1.26714e-09
9.5925e-08
1.26367e-09
9.59294e-08
1.26009e-09
9.59334e-08
1.25642e-09
9.59372e-08
1.25265e-09
9.59406e-08
1.24877e-09
9.59437e-08
1.24479e-09
9.59465e-08
1.2407e-09
9.5949e-08
1.23649e-09
9.59512e-08
1.23217e-09
9.59532e-08
1.22772e-09
9.59548e-08
1.22315e-09
9.59562e-08
1.21844e-09
9.59573e-08
1.2136e-09
9.59582e-08
1.20862e-09
9.59588e-08
1.20349e-09
9.59591e-08
1.19821e-09
9.59591e-08
1.19277e-09
9.59589e-08
1.18718e-09
9.59583e-08
1.18143e-09
9.59575e-08
1.17552e-09
9.59564e-08
1.16945e-09
9.59551e-08
1.16321e-09
9.59534e-08
1.15681e-09
9.59514e-08
1.15025e-09
9.59491e-08
1.14353e-09
9.59464e-08
1.13666e-09
9.59434e-08
1.12966e-09
9.59401e-08
1.12251e-09
9.59364e-08
1.11525e-09
9.59323e-08
1.10788e-09
9.59278e-08
1.10043e-09
9.5923e-08
1.09291e-09
9.59177e-08
1.08536e-09
9.5912e-08
1.07779e-09
9.59058e-08
1.07025e-09
9.58992e-08
1.06278e-09
9.58922e-08
1.05541e-09
9.58847e-08
1.04819e-09
9.58768e-08
1.04118e-09
9.58684e-08
1.03443e-09
9.58595e-08
1.02801e-09
9.58503e-08
1.02198e-09
9.58406e-08
1.01639e-09
9.58305e-08
1.01133e-09
9.58201e-08
1.00685e-09
1.00308e-09
9.71151e-08
8.97256e-10
-9.7091e-08
9.71403e-08
9.21582e-10
9.71665e-08
9.45508e-10
9.71937e-08
9.68966e-10
9.72217e-08
9.91883e-10
9.72506e-08
1.01418e-09
9.72801e-08
1.03579e-09
9.73102e-08
1.05664e-09
9.73408e-08
1.07668e-09
9.73718e-08
1.09586e-09
9.7403e-08
1.11414e-09
9.74344e-08
1.13149e-09
9.74657e-08
1.14787e-09
9.7497e-08
1.16327e-09
9.75281e-08
1.17769e-09
9.75588e-08
1.19112e-09
9.75892e-08
1.20357e-09
9.7619e-08
1.21505e-09
9.76484e-08
1.22559e-09
9.7677e-08
1.2352e-09
9.7705e-08
1.24393e-09
9.77323e-08
1.2518e-09
9.77587e-08
1.25886e-09
9.77844e-08
1.26514e-09
9.78091e-08
1.27068e-09
9.78331e-08
1.27552e-09
9.78561e-08
1.27972e-09
9.78783e-08
1.28331e-09
9.78996e-08
1.28632e-09
9.792e-08
1.28882e-09
9.79395e-08
1.29082e-09
9.79582e-08
1.29237e-09
9.79761e-08
1.2935e-09
9.79931e-08
1.29425e-09
9.80093e-08
1.29465e-09
9.80248e-08
1.29472e-09
9.80395e-08
1.2945e-09
9.80534e-08
1.294e-09
9.80667e-08
1.29326e-09
9.80793e-08
1.29228e-09
9.80912e-08
1.2911e-09
9.81025e-08
1.28971e-09
9.81131e-08
1.28815e-09
9.81232e-08
1.28642e-09
9.81327e-08
1.28454e-09
9.81417e-08
1.28251e-09
9.81502e-08
1.28034e-09
9.81582e-08
1.27804e-09
9.81657e-08
1.27561e-09
9.81727e-08
1.27307e-09
9.81793e-08
1.27041e-09
9.81855e-08
1.26764e-09
9.81912e-08
1.26476e-09
9.81966e-08
1.26177e-09
9.82016e-08
1.25867e-09
9.82062e-08
1.25546e-09
9.82105e-08
1.25214e-09
9.82144e-08
1.24871e-09
9.8218e-08
1.24517e-09
9.82213e-08
1.2415e-09
9.82243e-08
1.23772e-09
9.8227e-08
1.23382e-09
9.82293e-08
1.2298e-09
9.82314e-08
1.22564e-09
9.82332e-08
1.22135e-09
9.82347e-08
1.21693e-09
9.8236e-08
1.21237e-09
9.82369e-08
1.20766e-09
9.82376e-08
1.20281e-09
9.8238e-08
1.19781e-09
9.82381e-08
1.19266e-09
9.82379e-08
1.18735e-09
9.82375e-08
1.18188e-09
9.82367e-08
1.17626e-09
9.82357e-08
1.17048e-09
9.82344e-08
1.16454e-09
9.82327e-08
1.15845e-09
9.82308e-08
1.1522e-09
9.82285e-08
1.14581e-09
9.82259e-08
1.13928e-09
9.82229e-08
1.13261e-09
9.82196e-08
1.12582e-09
9.82159e-08
1.11892e-09
9.82119e-08
1.11193e-09
9.82075e-08
1.10486e-09
9.82026e-08
1.09774e-09
9.81974e-08
1.09059e-09
9.81917e-08
1.08345e-09
9.81857e-08
1.07633e-09
9.81791e-08
1.06929e-09
9.81722e-08
1.06236e-09
9.81648e-08
1.05559e-09
9.8157e-08
1.04902e-09
9.81487e-08
1.04271e-09
9.814e-08
1.03672e-09
9.81309e-08
1.0311e-09
9.81213e-08
1.02592e-09
9.81114e-08
1.02123e-09
9.81012e-08
1.01711e-09
1.01366e-09
9.94647e-08
8.74061e-10
-9.94415e-08
9.94889e-08
8.97389e-10
9.9514e-08
9.20368e-10
9.954e-08
9.42939e-10
9.95669e-08
9.65038e-10
9.95945e-08
9.86596e-10
9.96227e-08
1.00755e-09
9.96515e-08
1.02784e-09
9.96808e-08
1.04742e-09
9.97104e-08
1.06624e-09
9.97403e-08
1.08426e-09
9.97703e-08
1.10145e-09
9.98004e-08
1.11778e-09
9.98305e-08
1.13323e-09
9.98604e-08
1.14779e-09
9.989e-08
1.16146e-09
9.99194e-08
1.17423e-09
9.99483e-08
1.18612e-09
9.99767e-08
1.19714e-09
1.00005e-07
1.20731e-09
1.00032e-07
1.21664e-09
1.00059e-07
1.22517e-09
1.00084e-07
1.23293e-09
1.0011e-07
1.23995e-09
1.00134e-07
1.24626e-09
1.00158e-07
1.25189e-09
1.00181e-07
1.2569e-09
1.00203e-07
1.2613e-09
1.00224e-07
1.26514e-09
1.00244e-07
1.26845e-09
1.00264e-07
1.27127e-09
1.00282e-07
1.27363e-09
1.003e-07
1.27557e-09
1.00317e-07
1.2771e-09
1.00334e-07
1.27827e-09
1.00349e-07
1.2791e-09
1.00364e-07
1.2796e-09
1.00379e-07
1.27982e-09
1.00392e-07
1.27977e-09
1.00405e-07
1.27946e-09
1.00417e-07
1.27892e-09
1.00429e-07
1.27817e-09
1.0044e-07
1.27721e-09
1.0045e-07
1.27606e-09
1.0046e-07
1.27474e-09
1.00469e-07
1.27325e-09
1.00478e-07
1.2716e-09
1.00486e-07
1.2698e-09
1.00494e-07
1.26786e-09
1.00501e-07
1.26578e-09
1.00508e-07
1.26357e-09
1.00514e-07
1.26123e-09
1.0052e-07
1.25876e-09
1.00526e-07
1.25617e-09
1.00531e-07
1.25346e-09
1.00536e-07
1.25062e-09
1.0054e-07
1.24766e-09
1.00544e-07
1.24458e-09
1.00548e-07
1.24137e-09
1.00552e-07
1.23804e-09
1.00555e-07
1.23458e-09
1.00558e-07
1.23099e-09
1.0056e-07
1.22727e-09
1.00562e-07
1.22342e-09
1.00564e-07
1.21943e-09
1.00566e-07
1.2153e-09
1.00567e-07
1.21102e-09
1.00568e-07
1.20661e-09
1.00569e-07
1.20204e-09
1.0057e-07
1.19732e-09
1.0057e-07
1.19246e-09
1.0057e-07
1.18744e-09
1.00569e-07
1.18226e-09
1.00569e-07
1.17694e-09
1.00568e-07
1.17145e-09
1.00566e-07
1.16582e-09
1.00565e-07
1.16004e-09
1.00563e-07
1.15411e-09
1.00561e-07
1.14804e-09
1.00558e-07
1.14184e-09
1.00555e-07
1.13552e-09
1.00552e-07
1.12908e-09
1.00548e-07
1.12255e-09
1.00544e-07
1.11593e-09
1.0054e-07
1.10925e-09
1.00535e-07
1.10252e-09
1.0053e-07
1.09577e-09
1.00524e-07
1.08903e-09
1.00518e-07
1.08234e-09
1.00512e-07
1.07572e-09
1.00505e-07
1.06922e-09
1.00498e-07
1.06287e-09
1.0049e-07
1.05674e-09
1.00482e-07
1.05085e-09
1.00473e-07
1.04528e-09
1.00464e-07
1.04006e-09
1.00455e-07
1.03527e-09
1.00445e-07
1.03095e-09
1.00435e-07
1.02717e-09
1.02403e-09
1.01869e-07
8.51731e-10
-1.01847e-07
1.01893e-07
8.74141e-10
1.01917e-07
8.96248e-10
1.01942e-07
9.18e-10
1.01967e-07
9.39341e-10
1.01994e-07
9.60209e-10
1.02021e-07
9.80547e-10
1.02048e-07
1.0003e-09
1.02076e-07
1.01944e-09
1.02105e-07
1.0379e-09
1.02133e-07
1.05565e-09
1.02162e-07
1.07266e-09
1.02191e-07
1.08891e-09
1.0222e-07
1.10437e-09
1.02248e-07
1.11903e-09
1.02277e-07
1.13287e-09
1.02305e-07
1.14591e-09
1.02333e-07
1.15814e-09
1.02361e-07
1.16957e-09
1.02388e-07
1.18021e-09
1.02415e-07
1.19007e-09
1.02441e-07
1.19919e-09
1.02466e-07
1.20757e-09
1.02491e-07
1.21525e-09
1.02515e-07
1.22226e-09
1.02538e-07
1.22862e-09
1.0256e-07
1.23436e-09
1.02582e-07
1.23952e-09
1.02603e-07
1.24412e-09
1.02624e-07
1.2482e-09
1.02643e-07
1.25179e-09
1.02662e-07
1.25491e-09
1.0268e-07
1.25761e-09
1.02697e-07
1.25989e-09
1.02713e-07
1.26179e-09
1.02729e-07
1.26334e-09
1.02744e-07
1.26456e-09
1.02759e-07
1.26547e-09
1.02772e-07
1.26609e-09
1.02785e-07
1.26644e-09
1.02798e-07
1.26654e-09
1.02809e-07
1.2664e-09
1.02821e-07
1.26604e-09
1.02831e-07
1.26547e-09
1.02841e-07
1.2647e-09
1.02851e-07
1.26375e-09
1.0286e-07
1.26262e-09
1.02868e-07
1.26133e-09
1.02876e-07
1.25987e-09
1.02884e-07
1.25826e-09
1.02891e-07
1.2565e-09
1.02897e-07
1.2546e-09
1.02904e-07
1.25255e-09
1.02909e-07
1.25037e-09
1.02915e-07
1.24804e-09
1.0292e-07
1.24559e-09
1.02924e-07
1.24299e-09
1.02929e-07
1.24027e-09
1.02933e-07
1.23741e-09
1.02936e-07
1.23442e-09
1.0294e-07
1.23128e-09
1.02943e-07
1.22802e-09
1.02945e-07
1.22461e-09
1.02948e-07
1.22107e-09
1.0295e-07
1.21738e-09
1.02951e-07
1.21355e-09
1.02953e-07
1.20957e-09
1.02954e-07
1.20545e-09
1.02955e-07
1.20117e-09
1.02956e-07
1.19675e-09
1.02956e-07
1.19218e-09
1.02956e-07
1.18745e-09
1.02955e-07
1.18257e-09
1.02955e-07
1.17754e-09
1.02954e-07
1.17237e-09
1.02953e-07
1.16704e-09
1.02951e-07
1.16157e-09
1.02949e-07
1.15597e-09
1.02947e-07
1.15023e-09
1.02945e-07
1.14436e-09
1.02942e-07
1.13838e-09
1.02939e-07
1.1323e-09
1.02935e-07
1.12612e-09
1.02931e-07
1.11987e-09
1.02927e-07
1.11357e-09
1.02922e-07
1.10723e-09
1.02917e-07
1.10088e-09
1.02911e-07
1.09454e-09
1.02906e-07
1.08826e-09
1.02899e-07
1.08205e-09
1.02892e-07
1.07597e-09
1.02885e-07
1.07004e-09
1.02878e-07
1.06432e-09
1.0287e-07
1.05885e-09
1.02861e-07
1.05368e-09
1.02852e-07
1.04886e-09
1.02843e-07
1.04444e-09
1.02834e-07
1.04048e-09
1.02824e-07
1.03703e-09
1.0342e-09
1.0433e-07
8.30235e-10
-1.04309e-07
1.04353e-07
8.51802e-10
1.04376e-07
8.73105e-10
1.044e-07
8.941e-10
1.04424e-07
9.14737e-10
1.0445e-07
9.34961e-10
1.04476e-07
9.54722e-10
1.04502e-07
9.73973e-10
1.04529e-07
9.92672e-10
1.04556e-07
1.01078e-09
1.04583e-07
1.02826e-09
1.04611e-07
1.04508e-09
1.04638e-07
1.06122e-09
1.04666e-07
1.07666e-09
1.04694e-07
1.09137e-09
1.04721e-07
1.10535e-09
1.04749e-07
1.1186e-09
1.04776e-07
1.13111e-09
1.04802e-07
1.14288e-09
1.04829e-07
1.15392e-09
1.04854e-07
1.16425e-09
1.0488e-07
1.17388e-09
1.04904e-07
1.18282e-09
1.04929e-07
1.19109e-09
1.04952e-07
1.19872e-09
1.04975e-07
1.20574e-09
1.04997e-07
1.21216e-09
1.05019e-07
1.21801e-09
1.0504e-07
1.22332e-09
1.0506e-07
1.22812e-09
1.05079e-07
1.23242e-09
1.05098e-07
1.23627e-09
1.05116e-07
1.23968e-09
1.05133e-07
1.24267e-09
1.05149e-07
1.24528e-09
1.05165e-07
1.24752e-09
1.0518e-07
1.24942e-09
1.05195e-07
1.251e-09
1.05209e-07
1.25227e-09
1.05222e-07
1.25326e-09
1.05234e-07
1.25398e-09
1.05246e-07
1.25445e-09
1.05258e-07
1.25467e-09
1.05268e-07
1.25468e-09
1.05279e-07
1.25446e-09
1.05288e-07
1.25405e-09
1.05298e-07
1.25344e-09
1.05306e-07
1.25265e-09
1.05314e-07
1.25168e-09
1.05322e-07
1.25053e-09
1.05329e-07
1.24923e-09
1.05336e-07
1.24776e-09
1.05343e-07
1.24614e-09
1.05349e-07
1.24437e-09
1.05354e-07
1.24244e-09
1.05359e-07
1.24037e-09
1.05364e-07
1.23815e-09
1.05369e-07
1.23579e-09
1.05373e-07
1.23328e-09
1.05377e-07
1.23063e-09
1.0538e-07
1.22784e-09
1.05383e-07
1.2249e-09
1.05386e-07
1.22182e-09
1.05389e-07
1.21859e-09
1.05391e-07
1.21521e-09
1.05393e-07
1.21168e-09
1.05394e-07
1.20801e-09
1.05395e-07
1.20419e-09
1.05396e-07
1.20021e-09
1.05397e-07
1.19609e-09
1.05397e-07
1.19181e-09
1.05397e-07
1.18738e-09
1.05397e-07
1.18281e-09
1.05397e-07
1.17808e-09
1.05396e-07
1.17321e-09
1.05395e-07
1.1682e-09
1.05393e-07
1.16305e-09
1.05391e-07
1.15776e-09
1.05389e-07
1.15235e-09
1.05387e-07
1.14682e-09
1.05384e-07
1.14119e-09
1.05381e-07
1.13545e-09
1.05377e-07
1.12964e-09
1.05373e-07
1.12375e-09
1.05369e-07
1.11782e-09
1.05365e-07
1.11187e-09
1.0536e-07
1.1059e-09
1.05354e-07
1.09997e-09
1.05348e-07
1.09408e-09
1.05342e-07
1.08828e-09
1.05335e-07
1.0826e-09
1.05328e-07
1.07708e-09
1.05321e-07
1.07177e-09
1.05313e-07
1.06669e-09
1.05305e-07
1.06191e-09
1.05296e-07
1.05747e-09
1.05287e-07
1.05342e-09
1.05278e-07
1.0498e-09
1.05268e-07
1.04668e-09
1.04415e-09
1.0685e-07
8.09552e-10
-1.06829e-07
1.06871e-07
8.30342e-10
1.06893e-07
8.50904e-10
1.06916e-07
8.71198e-10
1.0694e-07
8.91182e-10
1.06964e-07
9.10804e-10
1.06988e-07
9.30022e-10
1.07014e-07
9.48792e-10
1.07039e-07
9.67077e-10
1.07065e-07
9.84839e-10
1.07091e-07
1.00205e-09
1.07118e-07
1.01867e-09
1.07144e-07
1.03468e-09
1.07171e-07
1.05007e-09
1.07198e-07
1.0648e-09
1.07224e-07
1.07888e-09
1.0725e-07
1.09229e-09
1.07276e-07
1.10502e-09
1.07302e-07
1.11708e-09
1.07328e-07
1.12847e-09
1.07353e-07
1.1392e-09
1.07377e-07
1.14927e-09
1.07401e-07
1.1587e-09
1.07425e-07
1.16751e-09
1.07448e-07
1.1757e-09
1.0747e-07
1.18331e-09
1.07492e-07
1.19035e-09
1.07513e-07
1.19683e-09
1.07534e-07
1.2028e-09
1.07554e-07
1.20826e-09
1.07573e-07
1.21323e-09
1.07592e-07
1.21775e-09
1.07609e-07
1.22184e-09
1.07627e-07
1.22551e-09
1.07643e-07
1.22878e-09
1.07659e-07
1.23169e-09
1.07674e-07
1.23424e-09
1.07689e-07
1.23646e-09
1.07703e-07
1.23837e-09
1.07716e-07
1.23997e-09
1.07728e-07
1.2413e-09
1.07741e-07
1.24236e-09
1.07752e-07
1.24316e-09
1.07763e-07
1.24372e-09
1.07773e-07
1.24406e-09
1.07783e-07
1.24417e-09
1.07793e-07
1.24408e-09
1.07802e-07
1.24378e-09
1.0781e-07
1.2433e-09
1.07818e-07
1.24262e-09
1.07825e-07
1.24177e-09
1.07832e-07
1.24075e-09
1.07839e-07
1.23955e-09
1.07845e-07
1.23819e-09
1.07851e-07
1.23667e-09
1.07856e-07
1.23499e-09
1.07861e-07
1.23315e-09
1.07866e-07
1.23116e-09
1.0787e-07
1.22901e-09
1.07874e-07
1.22671e-09
1.07878e-07
1.22426e-09
1.07881e-07
1.22165e-09
1.07884e-07
1.21889e-09
1.07886e-07
1.21599e-09
1.07889e-07
1.21292e-09
1.07891e-07
1.20971e-09
1.07892e-07
1.20635e-09
1.07894e-07
1.20283e-09
1.07895e-07
1.19916e-09
1.07896e-07
1.19534e-09
1.07896e-07
1.19136e-09
1.07896e-07
1.18724e-09
1.07896e-07
1.18297e-09
1.07895e-07
1.17855e-09
1.07895e-07
1.17399e-09
1.07894e-07
1.16929e-09
1.07892e-07
1.16446e-09
1.0789e-07
1.1595e-09
1.07888e-07
1.15442e-09
1.07886e-07
1.14922e-09
1.07883e-07
1.14393e-09
1.0788e-07
1.13854e-09
1.07877e-07
1.13308e-09
1.07873e-07
1.12756e-09
1.07869e-07
1.122e-09
1.07864e-07
1.11642e-09
1.07859e-07
1.11084e-09
1.07854e-07
1.10529e-09
1.07848e-07
1.0998e-09
1.07842e-07
1.09439e-09
1.07836e-07
1.08911e-09
1.07829e-07
1.08399e-09
1.07821e-07
1.07906e-09
1.07814e-07
1.07438e-09
1.07806e-07
1.06997e-09
1.07797e-07
1.0659e-09
1.07788e-07
1.0622e-09
1.07779e-07
1.05892e-09
1.0777e-07
1.05611e-09
1.05387e-09
1.09428e-07
7.89662e-10
-1.09408e-07
1.09449e-07
8.09736e-10
1.0947e-07
8.29613e-10
1.09492e-07
8.49258e-10
1.09514e-07
8.68634e-10
1.09537e-07
8.87696e-10
1.09561e-07
9.06403e-10
1.09585e-07
9.24718e-10
1.0961e-07
9.42606e-10
1.09634e-07
9.60034e-10
1.09659e-07
9.7697e-10
1.09685e-07
9.93388e-10
1.0971e-07
1.00926e-09
1.09736e-07
1.02457e-09
1.09761e-07
1.0393e-09
1.09787e-07
1.05343e-09
1.09812e-07
1.06696e-09
1.09837e-07
1.07987e-09
1.09862e-07
1.09217e-09
1.09887e-07
1.10386e-09
1.09911e-07
1.11493e-09
1.09935e-07
1.12539e-09
1.09958e-07
1.13525e-09
1.09981e-07
1.14453e-09
1.10004e-07
1.15323e-09
1.10026e-07
1.16137e-09
1.10047e-07
1.16897e-09
1.10068e-07
1.17604e-09
1.10088e-07
1.1826e-09
1.10108e-07
1.18867e-09
1.10127e-07
1.19427e-09
1.10145e-07
1.19942e-09
1.10163e-07
1.20414e-09
1.1018e-07
1.20844e-09
1.10196e-07
1.21236e-09
1.10212e-07
1.21589e-09
1.10227e-07
1.21907e-09
1.10242e-07
1.22191e-09
1.10255e-07
1.22442e-09
1.10269e-07
1.22663e-09
1.10282e-07
1.22854e-09
1.10294e-07
1.23017e-09
1.10305e-07
1.23154e-09
1.10316e-07
1.23265e-09
1.10327e-07
1.23352e-09
1.10337e-07
1.23416e-09
1.10347e-07
1.23457e-09
1.10356e-07
1.23477e-09
1.10364e-07
1.23476e-09
1.10372e-07
1.23456e-09
1.1038e-07
1.23416e-09
1.10387e-07
1.23358e-09
1.10394e-07
1.23281e-09
1.104e-07
1.23186e-09
1.10406e-07
1.23075e-09
1.10411e-07
1.22946e-09
1.10417e-07
1.228e-09
1.10421e-07
1.22638e-09
1.10426e-07
1.2246e-09
1.1043e-07
1.22265e-09
1.10434e-07
1.22054e-09
1.10437e-07
1.21828e-09
1.1044e-07
1.21585e-09
1.10443e-07
1.21327e-09
1.10445e-07
1.21053e-09
1.10447e-07
1.20764e-09
1.10449e-07
1.20459e-09
1.1045e-07
1.20138e-09
1.10452e-07
1.19802e-09
1.10452e-07
1.1945e-09
1.10453e-07
1.19084e-09
1.10453e-07
1.18702e-09
1.10453e-07
1.18306e-09
1.10453e-07
1.17895e-09
1.10452e-07
1.1747e-09
1.10451e-07
1.17032e-09
1.1045e-07
1.16581e-09
1.10448e-07
1.16117e-09
1.10446e-07
1.15642e-09
1.10444e-07
1.15156e-09
1.10441e-07
1.1466e-09
1.10438e-07
1.14156e-09
1.10434e-07
1.13645e-09
1.10431e-07
1.13129e-09
1.10427e-07
1.1261e-09
1.10422e-07
1.12089e-09
1.10417e-07
1.11568e-09
1.10412e-07
1.11051e-09
1.10407e-07
1.1054e-09
1.10401e-07
1.10038e-09
1.10394e-07
1.09548e-09
1.10387e-07
1.09074e-09
1.1038e-07
1.0862e-09
1.10373e-07
1.08189e-09
1.10365e-07
1.07785e-09
1.10357e-07
1.07413e-09
1.10348e-07
1.07077e-09
1.10339e-07
1.06782e-09
1.1033e-07
1.06531e-09
1.06336e-09
1.12067e-07
7.70548e-10
-1.12048e-07
1.12087e-07
7.89961e-10
1.12107e-07
8.09205e-10
1.12128e-07
8.28249e-10
1.1215e-07
8.4706e-10
1.12172e-07
8.65598e-10
1.12195e-07
8.83826e-10
1.12218e-07
9.01711e-10
1.12241e-07
9.19221e-10
1.12265e-07
9.36324e-10
1.12289e-07
9.52993e-10
1.12313e-07
9.69201e-10
1.12337e-07
9.84926e-10
1.12362e-07
1.00015e-09
1.12386e-07
1.01484e-09
1.12411e-07
1.029e-09
1.12435e-07
1.04262e-09
1.12459e-07
1.05567e-09
1.12483e-07
1.06817e-09
1.12507e-07
1.08009e-09
1.1253e-07
1.09146e-09
1.12554e-07
1.10226e-09
1.12576e-07
1.1125e-09
1.12599e-07
1.1222e-09
1.1262e-07
1.13135e-09
1.12642e-07
1.13997e-09
1.12663e-07
1.14807e-09
1.12683e-07
1.15567e-09
1.12703e-07
1.16279e-09
1.12722e-07
1.16942e-09
1.12741e-07
1.1756e-09
1.12759e-07
1.18133e-09
1.12776e-07
1.18664e-09
1.12793e-07
1.19154e-09
1.1281e-07
1.19605e-09
1.12825e-07
1.20019e-09
1.1284e-07
1.20396e-09
1.12855e-07
1.20738e-09
1.12869e-07
1.21048e-09
1.12882e-07
1.21326e-09
1.12895e-07
1.21574e-09
1.12907e-07
1.21793e-09
1.12919e-07
1.21985e-09
1.1293e-07
1.22149e-09
1.12941e-07
1.22289e-09
1.12951e-07
1.22404e-09
1.12961e-07
1.22495e-09
1.1297e-07
1.22564e-09
1.12978e-07
1.22611e-09
1.12987e-07
1.22637e-09
1.12994e-07
1.22642e-09
1.13002e-07
1.22627e-09
1.13008e-07
1.22593e-09
1.13015e-07
1.2254e-09
1.13021e-07
1.22469e-09
1.13027e-07
1.2238e-09
1.13032e-07
1.22273e-09
1.13037e-07
1.22148e-09
1.13041e-07
1.22006e-09
1.13046e-07
1.21847e-09
1.13049e-07
1.21672e-09
1.13053e-07
1.21479e-09
1.13056e-07
1.2127e-09
1.13059e-07
1.21045e-09
1.13061e-07
1.20804e-09
1.13063e-07
1.20546e-09
1.13065e-07
1.20273e-09
1.13067e-07
1.19984e-09
1.13068e-07
1.19679e-09
1.13069e-07
1.19358e-09
1.1307e-07
1.19023e-09
1.1307e-07
1.18672e-09
1.1307e-07
1.18307e-09
1.1307e-07
1.17927e-09
1.13069e-07
1.17534e-09
1.13068e-07
1.17127e-09
1.13067e-07
1.16708e-09
1.13065e-07
1.16277e-09
1.13063e-07
1.15834e-09
1.13061e-07
1.15381e-09
1.13058e-07
1.1492e-09
1.13055e-07
1.1445e-09
1.13052e-07
1.13974e-09
1.13048e-07
1.13493e-09
1.13044e-07
1.13009e-09
1.1304e-07
1.12525e-09
1.13035e-07
1.12041e-09
1.1303e-07
1.11561e-09
1.13025e-07
1.11087e-09
1.13019e-07
1.10623e-09
1.13013e-07
1.1017e-09
1.13006e-07
1.09734e-09
1.12999e-07
1.09316e-09
1.12992e-07
1.08921e-09
1.12984e-07
1.08553e-09
1.12976e-07
1.08215e-09
1.12968e-07
1.07913e-09
1.12959e-07
1.07649e-09
1.1295e-07
1.07428e-09
1.0726e-09
1.14769e-07
7.52198e-10
-1.14751e-07
1.14788e-07
7.71001e-10
1.14807e-07
7.89659e-10
1.14828e-07
8.08146e-10
1.14848e-07
8.26432e-10
1.14869e-07
8.4448e-10
1.14891e-07
8.62259e-10
1.14913e-07
8.79738e-10
1.14935e-07
8.96887e-10
1.14958e-07
9.13678e-10
1.14981e-07
9.30085e-10
1.15004e-07
9.46083e-10
1.15027e-07
9.6165e-10
1.1505e-07
9.76766e-10
1.15074e-07
9.91414e-10
1.15097e-07
1.00558e-09
1.15121e-07
1.01925e-09
1.15144e-07
1.03241e-09
1.15167e-07
1.04506e-09
1.1519e-07
1.05719e-09
1.15213e-07
1.06881e-09
1.15235e-07
1.0799e-09
1.15257e-07
1.09047e-09
1.15279e-07
1.10053e-09
1.153e-07
1.11009e-09
1.15321e-07
1.11914e-09
1.15341e-07
1.1277e-09
1.15361e-07
1.13578e-09
1.1538e-07
1.14339e-09
1.15399e-07
1.15055e-09
1.15418e-07
1.15726e-09
1.15435e-07
1.16354e-09
1.15453e-07
1.1694e-09
1.15469e-07
1.17486e-09
1.15485e-07
1.17993e-09
1.15501e-07
1.18462e-09
1.15516e-07
1.18896e-09
1.1553e-07
1.19295e-09
1.15544e-07
1.1966e-09
1.15558e-07
1.19994e-09
1.1557e-07
1.20296e-09
1.15583e-07
1.20569e-09
1.15594e-07
1.20813e-09
1.15606e-07
1.2103e-09
1.15616e-07
1.2122e-09
1.15626e-07
1.21385e-09
1.15636e-07
1.21526e-09
1.15645e-07
1.21643e-09
1.15654e-07
1.21736e-09
1.15662e-07
1.21808e-09
1.1567e-07
1.21858e-09
1.15678e-07
1.21887e-09
1.15685e-07
1.21895e-09
1.15691e-07
1.21884e-09
1.15697e-07
1.21853e-09
1.15703e-07
1.21803e-09
1.15709e-07
1.21734e-09
1.15714e-07
1.21647e-09
1.15718e-07
1.21542e-09
1.15722e-07
1.21419e-09
1.15726e-07
1.21278e-09
1.1573e-07
1.2112e-09
1.15733e-07
1.20946e-09
1.15736e-07
1.20754e-09
1.15739e-07
1.20545e-09
1.15741e-07
1.2032e-09
1.15743e-07
1.20078e-09
1.15745e-07
1.19821e-09
1.15746e-07
1.19547e-09
1.15747e-07
1.19258e-09
1.15748e-07
1.18954e-09
1.15748e-07
1.18634e-09
1.15748e-07
1.183e-09
1.15748e-07
1.17952e-09
1.15747e-07
1.1759e-09
1.15746e-07
1.17215e-09
1.15745e-07
1.16828e-09
1.15744e-07
1.16429e-09
1.15742e-07
1.16019e-09
1.1574e-07
1.15599e-09
1.15737e-07
1.15171e-09
1.15734e-07
1.14735e-09
1.15731e-07
1.14293e-09
1.15728e-07
1.13847e-09
1.15724e-07
1.13399e-09
1.15719e-07
1.12949e-09
1.15715e-07
1.12502e-09
1.1571e-07
1.12058e-09
1.15704e-07
1.11621e-09
1.15699e-07
1.11192e-09
1.15693e-07
1.10776e-09
1.15686e-07
1.10376e-09
1.1568e-07
1.09994e-09
1.15672e-07
1.09634e-09
1.15665e-07
1.093e-09
1.15657e-07
1.08996e-09
1.15649e-07
1.08725e-09
1.15641e-07
1.08491e-09
1.15632e-07
1.08299e-09
1.08158e-09
1.17535e-07
7.34601e-10
-1.17517e-07
1.17553e-07
7.5284e-10
1.17571e-07
7.70957e-10
1.17591e-07
7.88927e-10
1.1761e-07
8.06725e-10
1.17631e-07
8.24317e-10
1.17651e-07
8.41675e-10
1.17672e-07
8.5877e-10
1.17693e-07
8.75576e-10
1.17715e-07
8.92067e-10
1.17737e-07
9.08218e-10
1.17759e-07
9.24007e-10
1.17781e-07
9.39413e-10
1.17804e-07
9.54416e-10
1.17826e-07
9.68999e-10
1.17848e-07
9.83147e-10
1.17871e-07
9.96848e-10
1.17893e-07
1.01009e-09
1.17915e-07
1.02286e-09
1.17937e-07
1.03516e-09
1.17959e-07
1.04699e-09
1.17981e-07
1.05833e-09
1.18002e-07
1.06919e-09
1.18023e-07
1.07958e-09
1.18044e-07
1.08948e-09
1.18064e-07
1.09892e-09
1.18084e-07
1.10789e-09
1.18103e-07
1.11641e-09
1.18122e-07
1.12448e-09
1.1814e-07
1.1321e-09
1.18158e-07
1.1393e-09
1.18176e-07
1.14608e-09
1.18193e-07
1.15246e-09
1.18209e-07
1.15844e-09
1.18225e-07
1.16404e-09
1.1824e-07
1.16926e-09
1.18255e-07
1.17413e-09
1.1827e-07
1.17865e-09
1.18283e-07
1.18283e-09
1.18297e-07
1.18669e-09
1.18309e-07
1.19024e-09
1.18321e-07
1.19349e-09
1.18333e-07
1.19644e-09
1.18344e-07
1.19911e-09
1.18355e-07
1.20151e-09
1.18365e-07
1.20365e-09
1.18375e-07
1.20553e-09
1.18384e-07
1.20717e-09
1.18393e-07
1.20856e-09
1.18401e-07
1.20973e-09
1.18409e-07
1.21067e-09
1.18417e-07
1.21139e-09
1.18424e-07
1.21189e-09
1.1843e-07
1.21219e-09
1.18437e-07
1.21228e-09
1.18443e-07
1.21217e-09
1.18448e-07
1.21187e-09
1.18453e-07
1.21137e-09
1.18458e-07
1.21069e-09
1.18462e-07
1.20982e-09
1.18466e-07
1.20876e-09
1.1847e-07
1.20753e-09
1.18473e-07
1.20612e-09
1.18476e-07
1.20453e-09
1.18479e-07
1.20278e-09
1.18481e-07
1.20085e-09
1.18483e-07
1.19876e-09
1.18485e-07
1.1965e-09
1.18486e-07
1.19408e-09
1.18488e-07
1.1915e-09
1.18488e-07
1.18877e-09
1.18489e-07
1.18589e-09
1.18489e-07
1.18286e-09
1.18489e-07
1.17969e-09
1.18488e-07
1.17639e-09
1.18487e-07
1.17295e-09
1.18486e-07
1.16939e-09
1.18485e-07
1.16572e-09
1.18483e-07
1.16195e-09
1.18481e-07
1.15808e-09
1.18479e-07
1.15413e-09
1.18476e-07
1.1501e-09
1.18473e-07
1.14602e-09
1.18469e-07
1.14191e-09
1.18466e-07
1.13776e-09
1.18461e-07
1.13362e-09
1.18457e-07
1.12949e-09
1.18452e-07
1.12541e-09
1.18447e-07
1.12139e-09
1.18441e-07
1.11746e-09
1.18436e-07
1.11365e-09
1.18429e-07
1.10999e-09
1.18423e-07
1.10652e-09
1.18416e-07
1.10326e-09
1.18409e-07
1.10025e-09
1.18401e-07
1.09753e-09
1.18393e-07
1.09513e-09
1.18385e-07
1.09309e-09
1.18376e-07
1.09145e-09
1.09029e-09
1.20366e-07
7.17752e-10
-1.20349e-07
1.20383e-07
7.3547e-10
1.20401e-07
7.53086e-10
1.20419e-07
7.70577e-10
1.20438e-07
7.8792e-10
1.20458e-07
8.05087e-10
1.20477e-07
8.2205e-10
1.20497e-07
8.38784e-10
1.20517e-07
8.55264e-10
1.20538e-07
8.71468e-10
1.20559e-07
8.87372e-10
1.2058e-07
9.02955e-10
1.20601e-07
9.18197e-10
1.20622e-07
9.3308e-10
1.20644e-07
9.47586e-10
1.20665e-07
9.61701e-10
1.20687e-07
9.75412e-10
1.20708e-07
9.88707e-10
1.20729e-07
1.00158e-09
1.20751e-07
1.01401e-09
1.20772e-07
1.02601e-09
1.20792e-07
1.03757e-09
1.20813e-07
1.04868e-09
1.20833e-07
1.05934e-09
1.20853e-07
1.06956e-09
1.20873e-07
1.07934e-09
1.20892e-07
1.08868e-09
1.20911e-07
1.09759e-09
1.20929e-07
1.10607e-09
1.20947e-07
1.11413e-09
1.20964e-07
1.12178e-09
1.20982e-07
1.12903e-09
1.20998e-07
1.13587e-09
1.21014e-07
1.14234e-09
1.2103e-07
1.14843e-09
1.21045e-07
1.15415e-09
1.2106e-07
1.15952e-09
1.21074e-07
1.16454e-09
1.21087e-07
1.16922e-09
1.211e-07
1.17359e-09
1.21113e-07
1.17763e-09
1.21125e-07
1.18137e-09
1.21137e-07
1.18482e-09
1.21148e-07
1.18798e-09
1.21159e-07
1.19085e-09
1.21169e-07
1.19346e-09
1.21178e-07
1.19581e-09
1.21188e-07
1.1979e-09
1.21197e-07
1.19975e-09
1.21205e-07
1.20135e-09
1.21213e-07
1.20272e-09
1.2122e-07
1.20386e-09
1.21227e-07
1.20478e-09
1.21234e-07
1.20548e-09
1.2124e-07
1.20597e-09
1.21246e-07
1.20625e-09
1.21252e-07
1.20633e-09
1.21257e-07
1.2062e-09
1.21262e-07
1.20588e-09
1.21266e-07
1.20537e-09
1.2127e-07
1.20467e-09
1.21274e-07
1.20378e-09
1.21278e-07
1.20271e-09
1.21281e-07
1.20146e-09
1.21283e-07
1.20003e-09
1.21286e-07
1.19843e-09
1.21288e-07
1.19666e-09
1.2129e-07
1.19472e-09
1.21291e-07
1.19261e-09
1.21292e-07
1.19035e-09
1.21293e-07
1.18793e-09
1.21294e-07
1.18536e-09
1.21294e-07
1.18264e-09
1.21294e-07
1.17979e-09
1.21293e-07
1.17679e-09
1.21293e-07
1.17367e-09
1.21292e-07
1.17043e-09
1.2129e-07
1.16708e-09
1.21289e-07
1.16362e-09
1.21287e-07
1.16007e-09
1.21284e-07
1.15645e-09
1.21282e-07
1.15275e-09
1.21279e-07
1.149e-09
1.21275e-07
1.14522e-09
1.21272e-07
1.14142e-09
1.21268e-07
1.13761e-09
1.21263e-07
1.13383e-09
1.21259e-07
1.13008e-09
1.21254e-07
1.12641e-09
1.21248e-07
1.12282e-09
1.21243e-07
1.11936e-09
1.21237e-07
1.11604e-09
1.2123e-07
1.11289e-09
1.21224e-07
1.10996e-09
1.21217e-07
1.10727e-09
1.21209e-07
1.10486e-09
1.21202e-07
1.10276e-09
1.21194e-07
1.101e-09
1.21185e-07
1.09963e-09
1.09872e-09
1.23264e-07
7.01647e-10
-1.23248e-07
1.23281e-07
7.18884e-10
1.23298e-07
7.36035e-10
1.23316e-07
7.53082e-10
1.23333e-07
7.70004e-10
1.23352e-07
7.86773e-10
1.2337e-07
8.03367e-10
1.23389e-07
8.19761e-10
1.23409e-07
8.35934e-10
1.23428e-07
8.51863e-10
1.23448e-07
8.67529e-10
1.23468e-07
8.8291e-10
1.23488e-07
8.97988e-10
1.23509e-07
9.12746e-10
1.23529e-07
9.27166e-10
1.2355e-07
9.41235e-10
1.2357e-07
9.54939e-10
1.23591e-07
9.68267e-10
1.23611e-07
9.81208e-10
1.23631e-07
9.93753e-10
1.23651e-07
1.0059e-09
1.23671e-07
1.01763e-09
1.23691e-07
1.02896e-09
1.23711e-07
1.03987e-09
1.2373e-07
1.05036e-09
1.23749e-07
1.06045e-09
1.23767e-07
1.07012e-09
1.23785e-07
1.07938e-09
1.23803e-07
1.08823e-09
1.23821e-07
1.09668e-09
1.23838e-07
1.10474e-09
1.23854e-07
1.11241e-09
1.23871e-07
1.1197e-09
1.23886e-07
1.12661e-09
1.23902e-07
1.13315e-09
1.23916e-07
1.13934e-09
1.23931e-07
1.14517e-09
1.23945e-07
1.15067e-09
1.23958e-07
1.15583e-09
1.23971e-07
1.16066e-09
1.23983e-07
1.16519e-09
1.23995e-07
1.1694e-09
1.24007e-07
1.17331e-09
1.24018e-07
1.17694e-09
1.24028e-07
1.18028e-09
1.24039e-07
1.18334e-09
1.24048e-07
1.18614e-09
1.24057e-07
1.18867e-09
1.24066e-07
1.19095e-09
1.24075e-07
1.19298e-09
1.24083e-07
1.19478e-09
1.2409e-07
1.19633e-09
1.24097e-07
1.19765e-09
1.24104e-07
1.19875e-09
1.2411e-07
1.19963e-09
1.24116e-07
1.2003e-09
1.24122e-07
1.20075e-09
1.24127e-07
1.20099e-09
1.24132e-07
1.20103e-09
1.24136e-07
1.20088e-09
1.24141e-07
1.20052e-09
1.24144e-07
1.19998e-09
1.24148e-07
1.19924e-09
1.24151e-07
1.19832e-09
1.24154e-07
1.19722e-09
1.24156e-07
1.19595e-09
1.24158e-07
1.19449e-09
1.2416e-07
1.19287e-09
1.24162e-07
1.19108e-09
1.24163e-07
1.18913e-09
1.24164e-07
1.18702e-09
1.24165e-07
1.18476e-09
1.24165e-07
1.18235e-09
1.24165e-07
1.1798e-09
1.24164e-07
1.17712e-09
1.24164e-07
1.17431e-09
1.24163e-07
1.17138e-09
1.24162e-07
1.16834e-09
1.2416e-07
1.1652e-09
1.24158e-07
1.16197e-09
1.24156e-07
1.15866e-09
1.24153e-07
1.15529e-09
1.24151e-07
1.15187e-09
1.24147e-07
1.14841e-09
1.24144e-07
1.14493e-09
1.2414e-07
1.14146e-09
1.24136e-07
1.13801e-09
1.24131e-07
1.1346e-09
1.24126e-07
1.13125e-09
1.24121e-07
1.128e-09
1.24116e-07
1.12486e-09
1.2411e-07
1.12187e-09
1.24104e-07
1.11905e-09
1.24097e-07
1.11643e-09
1.24091e-07
1.11405e-09
1.24083e-07
1.11193e-09
1.24076e-07
1.11012e-09
1.24068e-07
1.10863e-09
1.24061e-07
1.10752e-09
1.10686e-09
1.26232e-07
6.86284e-10
-1.26216e-07
1.26248e-07
7.03077e-10
1.26264e-07
7.19799e-10
1.26281e-07
7.36434e-10
1.26298e-07
7.52964e-10
1.26315e-07
7.69364e-10
1.26333e-07
7.85612e-10
1.26351e-07
8.01687e-10
1.26369e-07
8.1757e-10
1.26388e-07
8.33238e-10
1.26407e-07
8.48675e-10
1.26426e-07
8.6386e-10
1.26445e-07
8.78775e-10
1.26464e-07
8.93405e-10
1.26484e-07
9.07734e-10
1.26503e-07
9.21746e-10
1.26523e-07
9.3543e-10
1.26542e-07
9.48772e-10
1.26562e-07
9.61763e-10
1.26581e-07
9.74393e-10
1.266e-07
9.86655e-10
1.26619e-07
9.98542e-10
1.26638e-07
1.01005e-09
1.26657e-07
1.02117e-09
1.26675e-07
1.03191e-09
1.26694e-07
1.04226e-09
1.26711e-07
1.05222e-09
1.26729e-07
1.0618e-09
1.26746e-07
1.07099e-09
1.26763e-07
1.07979e-09
1.2678e-07
1.08823e-09
1.26796e-07
1.09628e-09
1.26812e-07
1.10397e-09
1.26827e-07
1.1113e-09
1.26842e-07
1.11826e-09
1.26856e-07
1.12488e-09
1.2687e-07
1.13115e-09
1.26884e-07
1.13709e-09
1.26897e-07
1.1427e-09
1.2691e-07
1.14798e-09
1.26922e-07
1.15295e-09
1.26934e-07
1.15761e-09
1.26945e-07
1.16197e-09
1.26956e-07
1.16604e-09
1.26966e-07
1.16982e-09
1.26976e-07
1.17332e-09
1.26986e-07
1.17655e-09
1.26995e-07
1.17951e-09
1.27004e-07
1.18222e-09
1.27012e-07
1.18466e-09
1.2702e-07
1.18687e-09
1.27028e-07
1.18882e-09
1.27035e-07
1.19054e-09
1.27041e-07
1.19203e-09
1.27048e-07
1.19329e-09
1.27054e-07
1.19433e-09
1.27059e-07
1.19515e-09
1.27064e-07
1.19576e-09
1.27069e-07
1.19616e-09
1.27074e-07
1.19635e-09
1.27078e-07
1.19634e-09
1.27082e-07
1.19613e-09
1.27085e-07
1.19573e-09
1.27089e-07
1.19514e-09
1.27091e-07
1.19437e-09
1.27094e-07
1.19341e-09
1.27096e-07
1.19227e-09
1.27098e-07
1.19097e-09
1.271e-07
1.18949e-09
1.27101e-07
1.18785e-09
1.27102e-07
1.18604e-09
1.27103e-07
1.18409e-09
1.27103e-07
1.18199e-09
1.27103e-07
1.17974e-09
1.27103e-07
1.17736e-09
1.27102e-07
1.17486e-09
1.27101e-07
1.17224e-09
1.271e-07
1.16951e-09
1.27099e-07
1.16667e-09
1.27097e-07
1.16376e-09
1.27095e-07
1.16076e-09
1.27092e-07
1.1577e-09
1.2709e-07
1.1546e-09
1.27087e-07
1.15146e-09
1.27083e-07
1.14831e-09
1.2708e-07
1.14515e-09
1.27076e-07
1.14202e-09
1.27071e-07
1.13894e-09
1.27067e-07
1.13591e-09
1.27062e-07
1.13298e-09
1.27056e-07
1.13016e-09
1.27051e-07
1.12748e-09
1.27045e-07
1.12497e-09
1.27039e-07
1.12266e-09
1.27032e-07
1.12057e-09
1.27025e-07
1.11874e-09
1.27018e-07
1.1172e-09
1.27011e-07
1.11598e-09
1.27003e-07
1.11511e-09
1.11468e-09
1.2927e-07
6.71668e-10
-1.29255e-07
1.29285e-07
6.8805e-10
1.293e-07
7.04376e-10
1.29316e-07
7.20629e-10
1.29332e-07
7.36796e-10
1.29349e-07
7.52852e-10
1.29366e-07
7.68777e-10
1.29383e-07
7.84554e-10
1.294e-07
8.00162e-10
1.29418e-07
8.15584e-10
1.29436e-07
8.30801e-10
1.29454e-07
8.45796e-10
1.29472e-07
8.60552e-10
1.2949e-07
8.75054e-10
1.29509e-07
8.89286e-10
1.29527e-07
9.03234e-10
1.29546e-07
9.16885e-10
1.29564e-07
9.30228e-10
1.29583e-07
9.43251e-10
1.29601e-07
9.55946e-10
1.2962e-07
9.68303e-10
1.29638e-07
9.80315e-10
1.29656e-07
9.91977e-10
1.29674e-07
1.00328e-09
1.29692e-07
1.01423e-09
1.29709e-07
1.02481e-09
1.29726e-07
1.03503e-09
1.29743e-07
1.04489e-09
1.2976e-07
1.05438e-09
1.29776e-07
1.06351e-09
1.29792e-07
1.07228e-09
1.29808e-07
1.08069e-09
1.29823e-07
1.08875e-09
1.29838e-07
1.09645e-09
1.29852e-07
1.10381e-09
1.29866e-07
1.11083e-09
1.2988e-07
1.11751e-09
1.29893e-07
1.12386e-09
1.29906e-07
1.12988e-09
1.29918e-07
1.13559e-09
1.2993e-07
1.14098e-09
1.29942e-07
1.14606e-09
1.29953e-07
1.15085e-09
1.29964e-07
1.15534e-09
1.29974e-07
1.15954e-09
1.29984e-07
1.16346e-09
1.29993e-07
1.1671e-09
1.30002e-07
1.17048e-09
1.30011e-07
1.17358e-09
1.30019e-07
1.17643e-09
1.30027e-07
1.17903e-09
1.30034e-07
1.18138e-09
1.30041e-07
1.18348e-09
1.30048e-07
1.18535e-09
1.30054e-07
1.18698e-09
1.3006e-07
1.18839e-09
1.30066e-07
1.18957e-09
1.30071e-07
1.19053e-09
1.30076e-07
1.19128e-09
1.30081e-07
1.19182e-09
1.30085e-07
1.19215e-09
1.30089e-07
1.19227e-09
1.30092e-07
1.1922e-09
1.30095e-07
1.19193e-09
1.30098e-07
1.19148e-09
1.30101e-07
1.19084e-09
1.30103e-07
1.19001e-09
1.30105e-07
1.18901e-09
1.30107e-07
1.18784e-09
1.30108e-07
1.18651e-09
1.30109e-07
1.18501e-09
1.3011e-07
1.18335e-09
1.3011e-07
1.18155e-09
1.3011e-07
1.17961e-09
1.3011e-07
1.17753e-09
1.3011e-07
1.17533e-09
1.30109e-07
1.17301e-09
1.30108e-07
1.17058e-09
1.30106e-07
1.16805e-09
1.30105e-07
1.16543e-09
1.30103e-07
1.16275e-09
1.30101e-07
1.16e-09
1.30098e-07
1.1572e-09
1.30095e-07
1.15437e-09
1.30092e-07
1.15153e-09
1.30088e-07
1.14868e-09
1.30084e-07
1.14587e-09
1.3008e-07
1.14309e-09
1.30076e-07
1.14038e-09
1.30071e-07
1.13775e-09
1.30066e-07
1.13524e-09
1.30061e-07
1.13286e-09
1.30055e-07
1.13064e-09
1.30049e-07
1.12862e-09
1.30043e-07
1.12681e-09
1.30036e-07
1.12526e-09
1.30029e-07
1.12398e-09
1.30022e-07
1.12301e-09
1.30015e-07
1.12238e-09
1.12218e-09
1.3238e-07
6.57802e-10
-1.32366e-07
1.32395e-07
6.73805e-10
1.32409e-07
6.89765e-10
1.32424e-07
7.05667e-10
1.32439e-07
7.21496e-10
1.32455e-07
7.37233e-10
1.32471e-07
7.52858e-10
1.32487e-07
7.68355e-10
1.32504e-07
7.83706e-10
1.3252e-07
7.98894e-10
1.32537e-07
8.13903e-10
1.32554e-07
8.28715e-10
1.32572e-07
8.43316e-10
1.32589e-07
8.5769e-10
1.32606e-07
8.71823e-10
1.32624e-07
8.85701e-10
1.32641e-07
8.99311e-10
1.32659e-07
9.12642e-10
1.32677e-07
9.25684e-10
1.32694e-07
9.38425e-10
1.32712e-07
9.50857e-10
1.32729e-07
9.62972e-10
1.32746e-07
9.74764e-10
1.32763e-07
9.86227e-10
1.3278e-07
9.97355e-10
1.32797e-07
1.00815e-09
1.32813e-07
1.01859e-09
1.32829e-07
1.0287e-09
1.32845e-07
1.03846e-09
1.32861e-07
1.04788e-09
1.32876e-07
1.05696e-09
1.32891e-07
1.06569e-09
1.32906e-07
1.07408e-09
1.3292e-07
1.08213e-09
1.32934e-07
1.08985e-09
1.32948e-07
1.09723e-09
1.32961e-07
1.10429e-09
1.32974e-07
1.11102e-09
1.32986e-07
1.11744e-09
1.32998e-07
1.12353e-09
1.3301e-07
1.12932e-09
1.33021e-07
1.13481e-09
1.33032e-07
1.13999e-09
1.33043e-07
1.14488e-09
1.33053e-07
1.14948e-09
1.33062e-07
1.1538e-09
1.33072e-07
1.15783e-09
1.3308e-07
1.1616e-09
1.33089e-07
1.1651e-09
1.33097e-07
1.16833e-09
1.33105e-07
1.17131e-09
1.33112e-07
1.17403e-09
1.33119e-07
1.17651e-09
1.33126e-07
1.17874e-09
1.33132e-07
1.18074e-09
1.33138e-07
1.1825e-09
1.33143e-07
1.18403e-09
1.33149e-07
1.18534e-09
1.33153e-07
1.18643e-09
1.33158e-07
1.1873e-09
1.33162e-07
1.18796e-09
1.33166e-07
1.18841e-09
1.3317e-07
1.18866e-09
1.33173e-07
1.18871e-09
1.33176e-07
1.18857e-09
1.33178e-07
1.18824e-09
1.33181e-07
1.18772e-09
1.33183e-07
1.18703e-09
1.33184e-07
1.18616e-09
1.33186e-07
1.18512e-09
1.33187e-07
1.18392e-09
1.33187e-07
1.18256e-09
1.33188e-07
1.18105e-09
1.33188e-07
1.1794e-09
1.33188e-07
1.17762e-09
1.33188e-07
1.17571e-09
1.33187e-07
1.17368e-09
1.33186e-07
1.17155e-09
1.33185e-07
1.16932e-09
1.33183e-07
1.167e-09
1.33181e-07
1.1646e-09
1.33179e-07
1.16215e-09
1.33177e-07
1.15965e-09
1.33174e-07
1.15712e-09
1.33171e-07
1.15458e-09
1.33168e-07
1.15204e-09
1.33164e-07
1.14952e-09
1.3316e-07
1.14704e-09
1.33156e-07
1.14463e-09
1.33151e-07
1.1423e-09
1.33146e-07
1.14008e-09
1.33141e-07
1.13799e-09
1.33136e-07
1.13606e-09
1.3313e-07
1.13431e-09
1.33124e-07
1.13278e-09
1.33118e-07
1.13148e-09
1.33111e-07
1.13046e-09
1.33105e-07
1.12973e-09
1.33098e-07
1.12933e-09
1.12933e-09
1.35565e-07
6.44695e-10
-1.35552e-07
1.35578e-07
6.6035e-10
1.35592e-07
6.75972e-10
1.35606e-07
6.91549e-10
1.35621e-07
7.07067e-10
1.35636e-07
7.22507e-10
1.35651e-07
7.37854e-10
1.35666e-07
7.5309e-10
1.35681e-07
7.682e-10
1.35697e-07
7.83169e-10
1.35713e-07
7.97979e-10
1.35729e-07
8.12617e-10
1.35745e-07
8.27068e-10
1.35762e-07
8.41316e-10
1.35778e-07
8.55349e-10
1.35795e-07
8.69153e-10
1.35811e-07
8.82716e-10
1.35828e-07
8.96026e-10
1.35845e-07
9.09073e-10
1.35861e-07
9.21846e-10
1.35878e-07
9.34337e-10
1.35894e-07
9.46536e-10
1.3591e-07
9.58436e-10
1.35927e-07
9.70032e-10
1.35943e-07
9.81317e-10
1.35958e-07
9.92286e-10
1.35974e-07
1.00294e-09
1.3599e-07
1.01326e-09
1.36005e-07
1.02327e-09
1.3602e-07
1.03294e-09
1.36034e-07
1.04229e-09
1.36049e-07
1.05131e-09
1.36063e-07
1.06001e-09
1.36077e-07
1.06838e-09
1.3609e-07
1.07642e-09
1.36103e-07
1.08415e-09
1.36116e-07
1.09155e-09
1.36128e-07
1.09864e-09
1.3614e-07
1.10541e-09
1.36152e-07
1.11187e-09
1.36163e-07
1.11803e-09
1.36174e-07
1.12389e-09
1.36185e-07
1.12945e-09
1.36195e-07
1.13471e-09
1.36205e-07
1.13969e-09
1.36214e-07
1.14438e-09
1.36223e-07
1.1488e-09
1.36232e-07
1.15293e-09
1.3624e-07
1.1568e-09
1.36248e-07
1.1604e-09
1.36255e-07
1.16375e-09
1.36263e-07
1.16683e-09
1.3627e-07
1.16966e-09
1.36276e-07
1.17225e-09
1.36282e-07
1.17459e-09
1.36288e-07
1.1767e-09
1.36293e-07
1.17857e-09
1.36299e-07
1.18021e-09
1.36303e-07
1.18163e-09
1.36308e-07
1.18283e-09
1.36312e-07
1.18381e-09
1.36316e-07
1.18458e-09
1.36319e-07
1.18514e-09
1.36323e-07
1.1855e-09
1.36325e-07
1.18566e-09
1.36328e-07
1.18563e-09
1.3633e-07
1.18541e-09
1.36332e-07
1.18502e-09
1.36334e-07
1.18444e-09
1.36336e-07
1.18369e-09
1.36337e-07
1.18278e-09
1.36338e-07
1.18171e-09
1.36338e-07
1.18049e-09
1.36338e-07
1.17913e-09
1.36338e-07
1.17763e-09
1.36338e-07
1.17601e-09
1.36337e-07
1.17427e-09
1.36337e-07
1.17242e-09
1.36335e-07
1.17047e-09
1.36334e-07
1.16844e-09
1.36332e-07
1.16633e-09
1.3633e-07
1.16417e-09
1.36328e-07
1.16196e-09
1.36325e-07
1.15972e-09
1.36322e-07
1.15746e-09
1.36319e-07
1.15521e-09
1.36316e-07
1.15298e-09
1.36312e-07
1.15079e-09
1.36308e-07
1.14866e-09
1.36304e-07
1.14661e-09
1.36299e-07
1.14467e-09
1.36294e-07
1.14285e-09
1.36289e-07
1.14119e-09
1.36284e-07
1.13971e-09
1.36278e-07
1.13843e-09
1.36272e-07
1.13739e-09
1.36266e-07
1.1366e-09
1.3626e-07
1.1361e-09
1.36253e-07
1.13592e-09
1.13613e-09
1.38826e-07
6.32358e-10
-1.38813e-07
1.38838e-07
6.47693e-10
1.38851e-07
6.63005e-10
1.38865e-07
6.78282e-10
1.38878e-07
6.93513e-10
1.38892e-07
7.08681e-10
1.38906e-07
7.23769e-10
1.3892e-07
7.38763e-10
1.38935e-07
7.53648e-10
1.3895e-07
7.6841e-10
1.38965e-07
7.83035e-10
1.3898e-07
7.97507e-10
1.38995e-07
8.11813e-10
1.3901e-07
8.25939e-10
1.39026e-07
8.39873e-10
1.39041e-07
8.53601e-10
1.39057e-07
8.67112e-10
1.39073e-07
8.80394e-10
1.39088e-07
8.93436e-10
1.39104e-07
9.06229e-10
1.39119e-07
9.18762e-10
1.39135e-07
9.31028e-10
1.3915e-07
9.43019e-10
1.39166e-07
9.54726e-10
1.39181e-07
9.66145e-10
1.39196e-07
9.7727e-10
1.39211e-07
9.88095e-10
1.39225e-07
9.98617e-10
1.3924e-07
1.00883e-09
1.39254e-07
1.01874e-09
1.39268e-07
1.02833e-09
1.39282e-07
1.03762e-09
1.39295e-07
1.04659e-09
1.39308e-07
1.05524e-09
1.39321e-07
1.06359e-09
1.39334e-07
1.07162e-09
1.39346e-07
1.07934e-09
1.39358e-07
1.08675e-09
1.39369e-07
1.09386e-09
1.3938e-07
1.10066e-09
1.39391e-07
1.10716e-09
1.39402e-07
1.11337e-09
1.39412e-07
1.11928e-09
1.39422e-07
1.12489e-09
1.39431e-07
1.13022e-09
1.3944e-07
1.13527e-09
1.39449e-07
1.14004e-09
1.39458e-07
1.14453e-09
1.39466e-07
1.14874e-09
1.39473e-07
1.1527e-09
1.39481e-07
1.15638e-09
1.39488e-07
1.15981e-09
1.39494e-07
1.16299e-09
1.39501e-07
1.16591e-09
1.39507e-07
1.16858e-09
1.39512e-07
1.17102e-09
1.39518e-07
1.17322e-09
1.39523e-07
1.17518e-09
1.39528e-07
1.17691e-09
1.39532e-07
1.17842e-09
1.39536e-07
1.17972e-09
1.3954e-07
1.18079e-09
1.39543e-07
1.18166e-09
1.39546e-07
1.18231e-09
1.39549e-07
1.18277e-09
1.39552e-07
1.18303e-09
1.39554e-07
1.18311e-09
1.39556e-07
1.18299e-09
1.39558e-07
1.1827e-09
1.39559e-07
1.18224e-09
1.39561e-07
1.18161e-09
1.39562e-07
1.18082e-09
1.39562e-07
1.17988e-09
1.39563e-07
1.17879e-09
1.39563e-07
1.17757e-09
1.39562e-07
1.17622e-09
1.39562e-07
1.17476e-09
1.39561e-07
1.17318e-09
1.3956e-07
1.17151e-09
1.39559e-07
1.16976e-09
1.39557e-07
1.16793e-09
1.39555e-07
1.16604e-09
1.39553e-07
1.16411e-09
1.39551e-07
1.16214e-09
1.39548e-07
1.16016e-09
1.39545e-07
1.15819e-09
1.39542e-07
1.15623e-09
1.39538e-07
1.15431e-09
1.39534e-07
1.15245e-09
1.3953e-07
1.15067e-09
1.39526e-07
1.149e-09
1.39521e-07
1.14744e-09
1.39517e-07
1.14604e-09
1.39512e-07
1.14481e-09
1.39506e-07
1.14378e-09
1.39501e-07
1.14297e-09
1.39495e-07
1.14241e-09
1.39489e-07
1.14213e-09
1.39483e-07
1.14215e-09
1.14255e-09
1.42164e-07
6.20806e-10
-1.42153e-07
1.42176e-07
6.35849e-10
1.42188e-07
6.50876e-10
1.42201e-07
6.65878e-10
1.42213e-07
6.80845e-10
1.42226e-07
6.95761e-10
1.42239e-07
7.10611e-10
1.42253e-07
7.25381e-10
1.42266e-07
7.40057e-10
1.4228e-07
7.54627e-10
1.42294e-07
7.69077e-10
1.42308e-07
7.83392e-10
1.42322e-07
7.97561e-10
1.42337e-07
8.11569e-10
1.42351e-07
8.25406e-10
1.42366e-07
8.39057e-10
1.4238e-07
8.52513e-10
1.42395e-07
8.65761e-10
1.4241e-07
8.78791e-10
1.42424e-07
8.91593e-10
1.42439e-07
9.04157e-10
1.42454e-07
9.16475e-10
1.42468e-07
9.28539e-10
1.42482e-07
9.40341e-10
1.42497e-07
9.51874e-10
1.42511e-07
9.63132e-10
1.42525e-07
9.74109e-10
1.42539e-07
9.84801e-10
1.42552e-07
9.95204e-10
1.42566e-07
1.00531e-09
1.42579e-07
1.01513e-09
1.42592e-07
1.02464e-09
1.42605e-07
1.03386e-09
1.42617e-07
1.04278e-09
1.42629e-07
1.05139e-09
1.42641e-07
1.0597e-09
1.42653e-07
1.06771e-09
1.42664e-07
1.07543e-09
1.42675e-07
1.08284e-09
1.42686e-07
1.08995e-09
1.42696e-07
1.09677e-09
1.42706e-07
1.10329e-09
1.42716e-07
1.10953e-09
1.42725e-07
1.11547e-09
1.42735e-07
1.12113e-09
1.42743e-07
1.12651e-09
1.42752e-07
1.1316e-09
1.4276e-07
1.13642e-09
1.42768e-07
1.14097e-09
1.42775e-07
1.14525e-09
1.42782e-07
1.14926e-09
1.42789e-07
1.15302e-09
1.42795e-07
1.15651e-09
1.42802e-07
1.15976e-09
1.42807e-07
1.16275e-09
1.42813e-07
1.1655e-09
1.42818e-07
1.168e-09
1.42823e-07
1.17028e-09
1.42828e-07
1.17231e-09
1.42832e-07
1.17412e-09
1.42836e-07
1.17571e-09
1.4284e-07
1.17708e-09
1.42843e-07
1.17823e-09
1.42846e-07
1.17918e-09
1.42849e-07
1.17992e-09
1.42852e-07
1.18046e-09
1.42854e-07
1.18082e-09
1.42856e-07
1.18098e-09
1.42858e-07
1.18096e-09
1.42859e-07
1.18077e-09
1.4286e-07
1.18041e-09
1.42861e-07
1.17989e-09
1.42862e-07
1.17922e-09
1.42862e-07
1.1784e-09
1.42863e-07
1.17744e-09
1.42862e-07
1.17636e-09
1.42862e-07
1.17515e-09
1.42861e-07
1.17385e-09
1.4286e-07
1.17244e-09
1.42859e-07
1.17095e-09
1.42858e-07
1.16938e-09
1.42856e-07
1.16776e-09
1.42854e-07
1.16609e-09
1.42852e-07
1.16438e-09
1.42849e-07
1.16267e-09
1.42847e-07
1.16095e-09
1.42844e-07
1.15926e-09
1.4284e-07
1.1576e-09
1.42837e-07
1.156e-09
1.42833e-07
1.15447e-09
1.42829e-07
1.15305e-09
1.42825e-07
1.15174e-09
1.4282e-07
1.15058e-09
1.42815e-07
1.14959e-09
1.4281e-07
1.14878e-09
1.42805e-07
1.1482e-09
1.428e-07
1.14785e-09
1.42794e-07
1.14778e-09
1.42788e-07
1.14799e-09
1.14858e-09
1.45583e-07
6.10057e-10
-1.45572e-07
1.45594e-07
6.24832e-10
1.45605e-07
6.396e-10
1.45616e-07
6.54351e-10
1.45628e-07
6.69077e-10
1.4564e-07
6.83762e-10
1.45652e-07
6.98392e-10
1.45665e-07
7.12956e-10
1.45678e-07
7.2744e-10
1.4569e-07
7.41832e-10
1.45703e-07
7.56118e-10
1.45716e-07
7.70287e-10
1.4573e-07
7.84326e-10
1.45743e-07
7.98222e-10
1.45756e-07
8.11964e-10
1.4577e-07
8.2554e-10
1.45784e-07
8.38938e-10
1.45797e-07
8.52148e-10
1.45811e-07
8.6516e-10
1.45824e-07
8.77963e-10
1.45838e-07
8.90548e-10
1.45852e-07
9.02906e-10
1.45865e-07
9.15029e-10
1.45878e-07
9.26908e-10
1.45892e-07
9.38537e-10
1.45905e-07
9.49909e-10
1.45918e-07
9.61018e-10
1.45931e-07
9.71858e-10
1.45944e-07
9.82425e-10
1.45956e-07
9.92714e-10
1.45969e-07
1.00272e-09
1.45981e-07
1.01245e-09
1.45993e-07
1.02188e-09
1.46005e-07
1.03103e-09
1.46016e-07
1.03989e-09
1.46028e-07
1.04845e-09
1.46039e-07
1.05673e-09
1.46049e-07
1.06471e-09
1.4606e-07
1.0724e-09
1.4607e-07
1.0798e-09
1.4608e-07
1.0869e-09
1.46089e-07
1.09372e-09
1.46099e-07
1.10025e-09
1.46108e-07
1.1065e-09
1.46116e-07
1.11246e-09
1.46125e-07
1.11814e-09
1.46133e-07
1.12355e-09
1.4614e-07
1.12868e-09
1.46148e-07
1.13353e-09
1.46155e-07
1.13812e-09
1.46162e-07
1.14244e-09
1.46168e-07
1.1465e-09
1.46174e-07
1.15029e-09
1.4618e-07
1.15384e-09
1.46186e-07
1.15713e-09
1.46191e-07
1.16017e-09
1.46196e-07
1.16297e-09
1.46201e-07
1.16553e-09
1.46206e-07
1.16786e-09
1.4621e-07
1.16995e-09
1.46214e-07
1.17182e-09
1.46217e-07
1.17347e-09
1.46221e-07
1.1749e-09
1.46224e-07
1.17612e-09
1.46226e-07
1.17713e-09
1.46229e-07
1.17794e-09
1.46231e-07
1.17856e-09
1.46233e-07
1.17898e-09
1.46235e-07
1.17923e-09
1.46236e-07
1.1793e-09
1.46238e-07
1.17919e-09
1.46239e-07
1.17893e-09
1.46239e-07
1.17851e-09
1.4624e-07
1.17794e-09
1.4624e-07
1.17724e-09
1.4624e-07
1.17641e-09
1.4624e-07
1.17546e-09
1.46239e-07
1.1744e-09
1.46238e-07
1.17325e-09
1.46237e-07
1.172e-09
1.46236e-07
1.17069e-09
1.46234e-07
1.16931e-09
1.46233e-07
1.16789e-09
1.4623e-07
1.16644e-09
1.46228e-07
1.16497e-09
1.46226e-07
1.1635e-09
1.46223e-07
1.16205e-09
1.4622e-07
1.16064e-09
1.46216e-07
1.15928e-09
1.46213e-07
1.158e-09
1.46209e-07
1.15681e-09
1.46205e-07
1.15573e-09
1.46201e-07
1.1548e-09
1.46197e-07
1.15403e-09
1.46192e-07
1.15344e-09
1.46187e-07
1.15306e-09
1.46182e-07
1.15292e-09
1.46177e-07
1.15303e-09
1.46171e-07
1.15343e-09
1.15419e-09
1.49083e-07
6.00131e-10
-1.49073e-07
1.49093e-07
6.14664e-10
1.49103e-07
6.29197e-10
1.49114e-07
6.4372e-10
1.49125e-07
6.58226e-10
1.49136e-07
6.72701e-10
1.49147e-07
6.87132e-10
1.49159e-07
7.01507e-10
1.4917e-07
7.15814e-10
1.49182e-07
7.30041e-10
1.49194e-07
7.44177e-10
1.49206e-07
7.5821e-10
1.49218e-07
7.72127e-10
1.49231e-07
7.85917e-10
1.49243e-07
7.99568e-10
1.49255e-07
8.1307e-10
1.49268e-07
8.26411e-10
1.49281e-07
8.39582e-10
1.49293e-07
8.52571e-10
1.49306e-07
8.65368e-10
1.49318e-07
8.77965e-10
1.49331e-07
8.90352e-10
1.49343e-07
9.02522e-10
1.49356e-07
9.14464e-10
1.49368e-07
9.26174e-10
1.4938e-07
9.37642e-10
1.49393e-07
9.48863e-10
1.49405e-07
9.59831e-10
1.49417e-07
9.70541e-10
1.49428e-07
9.80987e-10
1.4944e-07
9.91165e-10
1.49451e-07
1.00107e-09
1.49462e-07
1.0107e-09
1.49473e-07
1.02006e-09
1.49484e-07
1.02913e-09
1.49495e-07
1.03792e-09
1.49505e-07
1.04643e-09
1.49515e-07
1.05466e-09
1.49525e-07
1.0626e-09
1.49534e-07
1.07025e-09
1.49544e-07
1.07763e-09
1.49553e-07
1.08471e-09
1.49561e-07
1.09152e-09
1.4957e-07
1.09804e-09
1.49578e-07
1.10428e-09
1.49586e-07
1.11024e-09
1.49594e-07
1.11593e-09
1.49601e-07
1.12134e-09
1.49608e-07
1.12648e-09
1.49615e-07
1.13135e-09
1.49621e-07
1.13595e-09
1.49627e-07
1.14029e-09
1.49633e-07
1.14437e-09
1.49639e-07
1.14819e-09
1.49644e-07
1.15176e-09
1.49649e-07
1.15508e-09
1.49654e-07
1.15816e-09
1.49659e-07
1.16099e-09
1.49663e-07
1.16359e-09
1.49667e-07
1.16595e-09
1.49671e-07
1.16808e-09
1.49674e-07
1.16999e-09
1.49677e-07
1.17168e-09
1.4968e-07
1.17315e-09
1.49683e-07
1.17442e-09
1.49686e-07
1.17549e-09
1.49688e-07
1.17635e-09
1.4969e-07
1.17703e-09
1.49691e-07
1.17752e-09
1.49693e-07
1.17783e-09
1.49694e-07
1.17797e-09
1.49695e-07
1.17795e-09
1.49696e-07
1.17777e-09
1.49696e-07
1.17744e-09
1.49697e-07
1.17698e-09
1.49697e-07
1.17638e-09
1.49696e-07
1.17567e-09
1.49696e-07
1.17485e-09
1.49695e-07
1.17393e-09
1.49694e-07
1.17292e-09
1.49693e-07
1.17184e-09
1.49692e-07
1.1707e-09
1.4969e-07
1.16952e-09
1.49688e-07
1.1683e-09
1.49686e-07
1.16706e-09
1.49684e-07
1.16583e-09
1.49681e-07
1.16461e-09
1.49679e-07
1.16342e-09
1.49676e-07
1.16229e-09
1.49672e-07
1.16123e-09
1.49669e-07
1.16026e-09
1.49665e-07
1.1594e-09
1.49661e-07
1.15868e-09
1.49657e-07
1.15811e-09
1.49653e-07
1.15773e-09
1.49649e-07
1.15754e-09
1.49644e-07
1.15759e-09
1.49639e-07
1.15788e-09
1.49634e-07
1.15845e-09
1.15936e-09
1.52667e-07
5.91054e-10
-1.52658e-07
1.52676e-07
6.0537e-10
1.52686e-07
6.1969e-10
1.52695e-07
6.34008e-10
1.52705e-07
6.48316e-10
1.52715e-07
6.62601e-10
1.52726e-07
6.76851e-10
1.52736e-07
6.91054e-10
1.52747e-07
7.052e-10
1.52757e-07
7.19278e-10
1.52768e-07
7.33276e-10
1.52779e-07
7.47183e-10
1.5279e-07
7.60987e-10
1.52802e-07
7.74678e-10
1.52813e-07
7.88244e-10
1.52824e-07
8.01675e-10
1.52836e-07
8.14961e-10
1.52847e-07
8.2809e-10
1.52859e-07
8.41053e-10
1.5287e-07
8.5384e-10
1.52882e-07
8.66442e-10
1.52893e-07
8.7885e-10
1.52905e-07
8.91055e-10
1.52916e-07
9.03048e-10
1.52928e-07
9.14824e-10
1.52939e-07
9.26373e-10
1.5295e-07
9.37689e-10
1.52961e-07
9.48766e-10
1.52972e-07
9.59598e-10
1.52983e-07
9.7018e-10
1.52994e-07
9.80506e-10
1.53004e-07
9.90573e-10
1.53014e-07
1.00038e-09
1.53025e-07
1.00991e-09
1.53034e-07
1.01918e-09
1.53044e-07
1.02817e-09
1.53054e-07
1.03689e-09
1.53063e-07
1.04533e-09
1.53072e-07
1.0535e-09
1.53081e-07
1.06138e-09
1.5309e-07
1.06899e-09
1.53098e-07
1.07632e-09
1.53106e-07
1.08337e-09
1.53114e-07
1.09014e-09
1.53122e-07
1.09663e-09
1.53129e-07
1.10285e-09
1.53136e-07
1.10879e-09
1.53143e-07
1.11446e-09
1.5315e-07
1.11986e-09
1.53156e-07
1.12499e-09
1.53162e-07
1.12985e-09
1.53168e-07
1.13445e-09
1.53174e-07
1.13879e-09
1.53179e-07
1.14287e-09
1.53184e-07
1.1467e-09
1.53189e-07
1.15027e-09
1.53193e-07
1.1536e-09
1.53198e-07
1.15668e-09
1.53202e-07
1.15953e-09
1.53206e-07
1.16214e-09
1.53209e-07
1.16452e-09
1.53213e-07
1.16667e-09
1.53216e-07
1.1686e-09
1.53218e-07
1.17032e-09
1.53221e-07
1.17182e-09
1.53223e-07
1.17312e-09
1.53226e-07
1.17422e-09
1.53227e-07
1.17512e-09
1.53229e-07
1.17584e-09
1.53231e-07
1.17639e-09
1.53232e-07
1.17675e-09
1.53233e-07
1.17696e-09
1.53234e-07
1.177e-09
1.53234e-07
1.1769e-09
1.53234e-07
1.17666e-09
1.53235e-07
1.17629e-09
1.53234e-07
1.17579e-09
1.53234e-07
1.17519e-09
1.53234e-07
1.17449e-09
1.53233e-07
1.1737e-09
1.53232e-07
1.17284e-09
1.53231e-07
1.17192e-09
1.53229e-07
1.17095e-09
1.53227e-07
1.16995e-09
1.53226e-07
1.16893e-09
1.53223e-07
1.16791e-09
1.53221e-07
1.1669e-09
1.53219e-07
1.16593e-09
1.53216e-07
1.165e-09
1.53213e-07
1.16415e-09
1.5321e-07
1.16338e-09
1.53207e-07
1.16272e-09
1.53203e-07
1.1622e-09
1.53199e-07
1.16182e-09
1.53195e-07
1.16162e-09
1.53191e-07
1.16162e-09
1.53187e-07
1.16183e-09
1.53183e-07
1.16229e-09
1.53178e-07
1.16301e-09
1.16408e-09
1.56336e-07
5.82856e-10
-1.56328e-07
1.56345e-07
5.96977e-10
1.56353e-07
6.11109e-10
1.56362e-07
6.25243e-10
1.56371e-07
6.39375e-10
1.5638e-07
6.53489e-10
1.56389e-07
6.67577e-10
1.56399e-07
6.81626e-10
1.56408e-07
6.95628e-10
1.56418e-07
7.0957e-10
1.56428e-07
7.23443e-10
1.56438e-07
7.37235e-10
1.56448e-07
7.50936e-10
1.56458e-07
7.64536e-10
1.56468e-07
7.78023e-10
1.56479e-07
7.91387e-10
1.56489e-07
8.04619e-10
1.56499e-07
8.17707e-10
1.5651e-07
8.30643e-10
1.5652e-07
8.43416e-10
1.56531e-07
8.56017e-10
1.56541e-07
8.68438e-10
1.56551e-07
8.8067e-10
1.56562e-07
8.92704e-10
1.56572e-07
9.04532e-10
1.56582e-07
9.16148e-10
1.56592e-07
9.27544e-10
1.56603e-07
9.38713e-10
1.56612e-07
9.49649e-10
1.56622e-07
9.60346e-10
1.56632e-07
9.708e-10
1.56642e-07
9.81004e-10
1.56651e-07
9.90956e-10
1.5666e-07
1.00065e-09
1.56669e-07
1.01008e-09
1.56678e-07
1.01925e-09
1.56687e-07
1.02815e-09
1.56696e-07
1.03679e-09
1.56704e-07
1.04515e-09
1.56712e-07
1.05324e-09
1.5672e-07
1.06106e-09
1.56728e-07
1.0686e-09
1.56735e-07
1.07587e-09
1.56742e-07
1.08286e-09
1.5675e-07
1.08958e-09
1.56756e-07
1.09602e-09
1.56763e-07
1.1022e-09
1.56769e-07
1.1081e-09
1.56775e-07
1.11373e-09
1.56781e-07
1.11909e-09
1.56787e-07
1.12419e-09
1.56792e-07
1.12903e-09
1.56798e-07
1.1336e-09
1.56803e-07
1.13791e-09
1.56807e-07
1.14197e-09
1.56812e-07
1.14578e-09
1.56816e-07
1.14934e-09
1.5682e-07
1.15265e-09
1.56824e-07
1.15572e-09
1.56827e-07
1.15856e-09
1.56831e-07
1.16116e-09
1.56834e-07
1.16354e-09
1.56837e-07
1.16569e-09
1.5684e-07
1.16763e-09
1.56842e-07
1.16935e-09
1.56844e-07
1.17086e-09
1.56846e-07
1.17218e-09
1.56848e-07
1.1733e-09
1.5685e-07
1.17423e-09
1.56851e-07
1.17498e-09
1.56852e-07
1.17555e-09
1.56853e-07
1.17596e-09
1.56854e-07
1.17622e-09
1.56855e-07
1.17632e-09
1.56855e-07
1.17628e-09
1.56855e-07
1.17611e-09
1.56855e-07
1.17582e-09
1.56855e-07
1.17543e-09
1.56855e-07
1.17493e-09
1.56854e-07
1.17434e-09
1.56853e-07
1.17368e-09
1.56852e-07
1.17296e-09
1.56851e-07
1.17219e-09
1.56849e-07
1.17138e-09
1.56848e-07
1.17056e-09
1.56846e-07
1.16974e-09
1.56844e-07
1.16892e-09
1.56842e-07
1.16814e-09
1.56839e-07
1.16741e-09
1.56837e-07
1.16674e-09
1.56834e-07
1.16616e-09
1.56831e-07
1.16569e-09
1.56828e-07
1.16534e-09
1.56824e-07
1.16514e-09
1.56821e-07
1.16511e-09
1.56817e-07
1.16526e-09
1.56814e-07
1.16564e-09
1.5681e-07
1.16624e-09
1.56806e-07
1.16711e-09
1.1683e-09
1.60094e-07
5.7557e-10
-1.60087e-07
1.60101e-07
5.89521e-10
1.60109e-07
6.03486e-10
1.60117e-07
6.17459e-10
1.60125e-07
6.31435e-10
1.60133e-07
6.454e-10
1.60141e-07
6.59344e-10
1.60149e-07
6.73257e-10
1.60158e-07
6.8713e-10
1.60167e-07
7.00952e-10
1.60175e-07
7.14713e-10
1.60184e-07
7.28402e-10
1.60193e-07
7.42011e-10
1.60202e-07
7.55527e-10
1.60211e-07
7.68942e-10
1.6022e-07
7.82244e-10
1.60229e-07
7.95425e-10
1.60239e-07
8.08474e-10
1.60248e-07
8.21381e-10
1.60257e-07
8.34138e-10
1.60267e-07
8.46735e-10
1.60276e-07
8.59163e-10
1.60285e-07
8.71413e-10
1.60294e-07
8.83478e-10
1.60303e-07
8.95349e-10
1.60313e-07
9.07018e-10
1.60322e-07
9.18479e-10
1.60331e-07
9.29724e-10
1.6034e-07
9.40747e-10
1.60348e-07
9.51542e-10
1.60357e-07
9.62103e-10
1.60366e-07
9.72424e-10
1.60374e-07
9.82502e-10
1.60382e-07
9.92331e-10
1.60391e-07
1.00191e-09
1.60399e-07
1.01123e-09
1.60406e-07
1.02029e-09
1.60414e-07
1.02909e-09
1.60422e-07
1.03762e-09
1.60429e-07
1.04589e-09
1.60436e-07
1.05389e-09
1.60443e-07
1.06161e-09
1.6045e-07
1.06907e-09
1.60457e-07
1.07626e-09
1.60463e-07
1.08318e-09
1.60469e-07
1.08983e-09
1.60475e-07
1.0962e-09
1.60481e-07
1.10231e-09
1.60487e-07
1.10815e-09
1.60492e-07
1.11372e-09
1.60497e-07
1.11902e-09
1.60502e-07
1.12407e-09
1.60507e-07
1.12885e-09
1.60511e-07
1.13337e-09
1.60516e-07
1.13764e-09
1.6052e-07
1.14165e-09
1.60524e-07
1.14542e-09
1.60527e-07
1.14894e-09
1.60531e-07
1.15221e-09
1.60534e-07
1.15525e-09
1.60537e-07
1.15806e-09
1.6054e-07
1.16063e-09
1.60543e-07
1.16298e-09
1.60546e-07
1.16511e-09
1.60548e-07
1.16703e-09
1.6055e-07
1.16874e-09
1.60552e-07
1.17025e-09
1.60554e-07
1.17156e-09
1.60555e-07
1.17268e-09
1.60557e-07
1.17362e-09
1.60558e-07
1.17439e-09
1.60559e-07
1.17498e-09
1.60559e-07
1.17542e-09
1.6056e-07
1.17571e-09
1.6056e-07
1.17586e-09
1.60561e-07
1.17587e-09
1.60561e-07
1.17577e-09
1.60561e-07
1.17555e-09
1.6056e-07
1.17523e-09
1.6056e-07
1.17483e-09
1.60559e-07
1.17435e-09
1.60558e-07
1.17381e-09
1.60557e-07
1.17322e-09
1.60556e-07
1.17259e-09
1.60555e-07
1.17195e-09
1.60553e-07
1.1713e-09
1.60551e-07
1.17066e-09
1.6055e-07
1.17005e-09
1.60547e-07
1.16949e-09
1.60545e-07
1.16899e-09
1.60543e-07
1.16858e-09
1.6054e-07
1.16827e-09
1.60537e-07
1.16808e-09
1.60535e-07
1.16803e-09
1.60532e-07
1.16815e-09
1.60528e-07
1.16846e-09
1.60525e-07
1.16897e-09
1.60522e-07
1.16971e-09
1.60518e-07
1.17071e-09
1.17202e-09
1.63941e-07
5.69236e-10
-1.63935e-07
1.63948e-07
5.8304e-10
1.63954e-07
5.96862e-10
1.63961e-07
6.10696e-10
1.63968e-07
6.24536e-10
1.63975e-07
6.38371e-10
1.63982e-07
6.52191e-10
1.6399e-07
6.65986e-10
1.63997e-07
6.79747e-10
1.64004e-07
6.93464e-10
1.64012e-07
7.07127e-10
1.6402e-07
7.20726e-10
1.64027e-07
7.34252e-10
1.64035e-07
7.47695e-10
1.64043e-07
7.61044e-10
1.64051e-07
7.74291e-10
1.64059e-07
7.87425e-10
1.64067e-07
8.00437e-10
1.64075e-07
8.13317e-10
1.64083e-07
8.26056e-10
1.64091e-07
8.38645e-10
1.641e-07
8.51075e-10
1.64108e-07
8.63338e-10
1.64116e-07
8.75425e-10
1.64124e-07
8.87328e-10
1.64132e-07
8.9904e-10
1.6414e-07
9.10552e-10
1.64147e-07
9.21859e-10
1.64155e-07
9.32952e-10
1.64163e-07
9.43827e-10
1.64171e-07
9.54476e-10
1.64178e-07
9.64894e-10
1.64186e-07
9.75077e-10
1.64193e-07
9.85018e-10
1.642e-07
9.94714e-10
1.64207e-07
1.00416e-09
1.64214e-07
1.01336e-09
1.64221e-07
1.02229e-09
1.64227e-07
1.03097e-09
1.64234e-07
1.03939e-09
1.6424e-07
1.04754e-09
1.64246e-07
1.05543e-09
1.64253e-07
1.06305e-09
1.64258e-07
1.07041e-09
1.64264e-07
1.0775e-09
1.6427e-07
1.08431e-09
1.64275e-07
1.09086e-09
1.6428e-07
1.09715e-09
1.64285e-07
1.10316e-09
1.6429e-07
1.10891e-09
1.64294e-07
1.1144e-09
1.64299e-07
1.11962e-09
1.64303e-07
1.12459e-09
1.64307e-07
1.12929e-09
1.64311e-07
1.13374e-09
1.64315e-07
1.13793e-09
1.64318e-07
1.14188e-09
1.64322e-07
1.14557e-09
1.64325e-07
1.14903e-09
1.64328e-07
1.15224e-09
1.64331e-07
1.15523e-09
1.64333e-07
1.15798e-09
1.64336e-07
1.1605e-09
1.64338e-07
1.16281e-09
1.6434e-07
1.1649e-09
1.64342e-07
1.16678e-09
1.64344e-07
1.16845e-09
1.64346e-07
1.16993e-09
1.64347e-07
1.17122e-09
1.64348e-07
1.17233e-09
1.6435e-07
1.17326e-09
1.64351e-07
1.17402e-09
1.64351e-07
1.17463e-09
1.64352e-07
1.17508e-09
1.64352e-07
1.17539e-09
1.64353e-07
1.17556e-09
1.64353e-07
1.17562e-09
1.64353e-07
1.17556e-09
1.64353e-07
1.17541e-09
1.64352e-07
1.17516e-09
1.64352e-07
1.17484e-09
1.64351e-07
1.17446e-09
1.6435e-07
1.17403e-09
1.64349e-07
1.17356e-09
1.64348e-07
1.17307e-09
1.64347e-07
1.17258e-09
1.64346e-07
1.17209e-09
1.64344e-07
1.17164e-09
1.64342e-07
1.17123e-09
1.6434e-07
1.17088e-09
1.64338e-07
1.17061e-09
1.64336e-07
1.17044e-09
1.64334e-07
1.1704e-09
1.64331e-07
1.17049e-09
1.64329e-07
1.17074e-09
1.64326e-07
1.17118e-09
1.64323e-07
1.17181e-09
1.6432e-07
1.17267e-09
1.64317e-07
1.17378e-09
1.17519e-09
1.67881e-07
5.63898e-10
-1.67876e-07
1.67886e-07
5.77579e-10
1.67892e-07
5.91281e-10
1.67898e-07
6.04997e-10
1.67903e-07
6.18724e-10
1.67909e-07
6.3245e-10
1.67915e-07
6.46165e-10
1.67921e-07
6.5986e-10
1.67928e-07
6.73526e-10
1.67934e-07
6.87153e-10
1.6794e-07
7.00733e-10
1.67947e-07
7.14255e-10
1.67953e-07
7.2771e-10
1.6796e-07
7.41089e-10
1.67967e-07
7.54382e-10
1.67973e-07
7.67579e-10
1.6798e-07
7.80671e-10
1.67987e-07
7.93649e-10
1.67994e-07
8.06503e-10
1.68001e-07
8.19224e-10
1.68007e-07
8.31803e-10
1.68014e-07
8.44232e-10
1.68021e-07
8.56502e-10
1.68028e-07
8.68604e-10
1.68035e-07
8.8053e-10
1.68041e-07
8.92273e-10
1.68048e-07
9.03825e-10
1.68055e-07
9.15179e-10
1.68062e-07
9.26328e-10
1.68068e-07
9.37265e-10
1.68075e-07
9.47985e-10
1.68081e-07
9.5848e-10
1.68087e-07
9.68747e-10
1.68094e-07
9.78779e-10
1.681e-07
9.88572e-10
1.68106e-07
9.98122e-10
1.68112e-07
1.00742e-09
1.68117e-07
1.01648e-09
1.68123e-07
1.02527e-09
1.68129e-07
1.03381e-09
1.68134e-07
1.04209e-09
1.6814e-07
1.05011e-09
1.68145e-07
1.05787e-09
1.6815e-07
1.06536e-09
1.68155e-07
1.07259e-09
1.68159e-07
1.07955e-09
1.68164e-07
1.08625e-09
1.68169e-07
1.09268e-09
1.68173e-07
1.09884e-09
1.68177e-07
1.10474e-09
1.68181e-07
1.11038e-09
1.68185e-07
1.11575e-09
1.68189e-07
1.12086e-09
1.68192e-07
1.12572e-09
1.68196e-07
1.13032e-09
1.68199e-07
1.13467e-09
1.68202e-07
1.13876e-09
1.68205e-07
1.14261e-09
1.68208e-07
1.14622e-09
1.6821e-07
1.14958e-09
1.68213e-07
1.15271e-09
1.68215e-07
1.15561e-09
1.68218e-07
1.15828e-09
1.6822e-07
1.16074e-09
1.68222e-07
1.16297e-09
1.68223e-07
1.165e-09
1.68225e-07
1.16682e-09
1.68226e-07
1.16844e-09
1.68228e-07
1.16987e-09
1.68229e-07
1.17112e-09
1.6823e-07
1.17219e-09
1.68231e-07
1.1731e-09
1.68232e-07
1.17384e-09
1.68232e-07
1.17443e-09
1.68233e-07
1.17488e-09
1.68233e-07
1.17519e-09
1.68234e-07
1.17539e-09
1.68234e-07
1.17547e-09
1.68234e-07
1.17545e-09
1.68233e-07
1.17534e-09
1.68233e-07
1.17516e-09
1.68233e-07
1.17491e-09
1.68232e-07
1.17461e-09
1.68231e-07
1.17428e-09
1.6823e-07
1.17392e-09
1.6823e-07
1.17356e-09
1.68228e-07
1.17321e-09
1.68227e-07
1.17288e-09
1.68226e-07
1.1726e-09
1.68224e-07
1.17238e-09
1.68223e-07
1.17224e-09
1.68221e-07
1.17219e-09
1.68219e-07
1.17227e-09
1.68217e-07
1.17248e-09
1.68215e-07
1.17284e-09
1.68213e-07
1.17339e-09
1.6821e-07
1.17413e-09
1.68208e-07
1.17509e-09
1.68205e-07
1.17629e-09
1.17781e-09
1.71915e-07
5.5961e-10
-1.7191e-07
1.71919e-07
5.73191e-10
1.71923e-07
5.86796e-10
1.71928e-07
6.00419e-10
1.71933e-07
6.14054e-10
1.71937e-07
6.27691e-10
1.71942e-07
6.41321e-10
1.71947e-07
6.54935e-10
1.71952e-07
6.68523e-10
1.71957e-07
6.82078e-10
1.71962e-07
6.95589e-10
1.71968e-07
7.09048e-10
1.71973e-07
7.22445e-10
1.71978e-07
7.3577e-10
1.71984e-07
7.49015e-10
1.71989e-07
7.62171e-10
1.71994e-07
7.75227e-10
1.72e-07
7.88174e-10
1.72005e-07
8.01005e-10
1.72011e-07
8.13708e-10
1.72016e-07
8.26277e-10
1.72022e-07
8.38701e-10
1.72028e-07
8.50972e-10
1.72033e-07
8.63083e-10
1.72039e-07
8.75024e-10
1.72044e-07
8.86789e-10
1.72049e-07
8.98368e-10
1.72055e-07
9.09756e-10
1.7206e-07
9.20946e-10
1.72066e-07
9.31929e-10
1.72071e-07
9.42701e-10
1.72076e-07
9.53254e-10
1.72081e-07
9.63584e-10
1.72086e-07
9.73685e-10
1.72091e-07
9.83552e-10
1.72096e-07
9.9318e-10
1.72101e-07
1.00257e-09
1.72106e-07
1.01171e-09
1.72111e-07
1.02059e-09
1.72115e-07
1.02923e-09
1.7212e-07
1.03761e-09
1.72124e-07
1.04573e-09
1.72128e-07
1.05359e-09
1.72133e-07
1.06119e-09
1.72137e-07
1.06853e-09
1.72141e-07
1.0756e-09
1.72144e-07
1.08241e-09
1.72148e-07
1.08896e-09
1.72152e-07
1.09524e-09
1.72155e-07
1.10126e-09
1.72159e-07
1.10701e-09
1.72162e-07
1.1125e-09
1.72165e-07
1.11774e-09
1.72168e-07
1.12271e-09
1.72171e-07
1.12743e-09
1.72174e-07
1.1319e-09
1.72176e-07
1.13612e-09
1.72179e-07
1.14009e-09
1.72181e-07
1.14381e-09
1.72183e-07
1.1473e-09
1.72186e-07
1.15055e-09
1.72188e-07
1.15357e-09
1.7219e-07
1.15636e-09
1.72191e-07
1.15893e-09
1.72193e-07
1.16128e-09
1.72195e-07
1.16342e-09
1.72196e-07
1.16536e-09
1.72197e-07
1.1671e-09
1.72199e-07
1.16864e-09
1.722e-07
1.17001e-09
1.72201e-07
1.17119e-09
1.72202e-07
1.17221e-09
1.72202e-07
1.17307e-09
1.72203e-07
1.17377e-09
1.72204e-07
1.17433e-09
1.72204e-07
1.17476e-09
1.72204e-07
1.17506e-09
1.72205e-07
1.17526e-09
1.72205e-07
1.17535e-09
1.72205e-07
1.17535e-09
1.72205e-07
1.17528e-09
1.72204e-07
1.17514e-09
1.72204e-07
1.17495e-09
1.72204e-07
1.17473e-09
1.72203e-07
1.17448e-09
1.72202e-07
1.17423e-09
1.72202e-07
1.17398e-09
1.72201e-07
1.17376e-09
1.722e-07
1.17359e-09
1.72199e-07
1.17347e-09
1.72197e-07
1.17343e-09
1.72196e-07
1.17349e-09
1.72195e-07
1.17366e-09
1.72193e-07
1.17397e-09
1.72192e-07
1.17443e-09
1.7219e-07
1.17506e-09
1.72188e-07
1.17589e-09
1.72186e-07
1.17694e-09
1.72184e-07
1.17821e-09
1.17979e-09
1.76045e-07
5.56428e-10
-1.76042e-07
1.76048e-07
5.69935e-10
1.76051e-07
5.83468e-10
1.76055e-07
5.97019e-10
1.76058e-07
6.10586e-10
1.76062e-07
6.24156e-10
1.76065e-07
6.37722e-10
1.76069e-07
6.51274e-10
1.76073e-07
6.64803e-10
1.76076e-07
6.78302e-10
1.7608e-07
6.91761e-10
1.76084e-07
7.0517e-10
1.76088e-07
7.18522e-10
1.76092e-07
7.31805e-10
1.76096e-07
7.45013e-10
1.761e-07
7.58134e-10
1.76104e-07
7.71161e-10
1.76108e-07
7.84083e-10
1.76112e-07
7.96892e-10
1.76116e-07
8.0958e-10
1.76121e-07
8.22137e-10
1.76125e-07
8.34554e-10
1.76129e-07
8.46823e-10
1.76133e-07
8.58936e-10
1.76137e-07
8.70885e-10
1.76141e-07
8.82661e-10
1.76145e-07
8.94258e-10
1.7615e-07
9.05667e-10
1.76154e-07
9.16882e-10
1.76158e-07
9.27895e-10
1.76162e-07
9.38702e-10
1.76166e-07
9.49294e-10
1.7617e-07
9.59667e-10
1.76173e-07
9.69814e-10
1.76177e-07
9.79732e-10
1.76181e-07
9.89414e-10
1.76185e-07
9.98857e-10
1.76188e-07
1.00806e-09
1.76192e-07
1.01701e-09
1.76195e-07
1.02571e-09
1.76199e-07
1.03416e-09
1.76202e-07
1.04235e-09
1.76206e-07
1.05029e-09
1.76209e-07
1.05797e-09
1.76212e-07
1.06538e-09
1.76215e-07
1.07253e-09
1.76218e-07
1.07942e-09
1.76221e-07
1.08605e-09
1.76224e-07
1.09242e-09
1.76226e-07
1.09852e-09
1.76229e-07
1.10436e-09
1.76232e-07
1.10994e-09
1.76234e-07
1.11526e-09
1.76237e-07
1.12032e-09
1.76239e-07
1.12513e-09
1.76241e-07
1.12968e-09
1.76243e-07
1.13399e-09
1.76245e-07
1.13804e-09
1.76247e-07
1.14186e-09
1.76249e-07
1.14543e-09
1.76251e-07
1.14877e-09
1.76253e-07
1.15187e-09
1.76254e-07
1.15475e-09
1.76256e-07
1.15741e-09
1.76257e-07
1.15985e-09
1.76258e-07
1.16208e-09
1.7626e-07
1.1641e-09
1.76261e-07
1.16592e-09
1.76262e-07
1.16756e-09
1.76263e-07
1.169e-09
1.76264e-07
1.17027e-09
1.76265e-07
1.17137e-09
1.76265e-07
1.17231e-09
1.76266e-07
1.1731e-09
1.76267e-07
1.17375e-09
1.76267e-07
1.17426e-09
1.76268e-07
1.17465e-09
1.76268e-07
1.17493e-09
1.76268e-07
1.1751e-09
1.76268e-07
1.17519e-09
1.76268e-07
1.1752e-09
1.76268e-07
1.17514e-09
1.76268e-07
1.17504e-09
1.76268e-07
1.1749e-09
1.76268e-07
1.17473e-09
1.76268e-07
1.17456e-09
1.76267e-07
1.1744e-09
1.76267e-07
1.17426e-09
1.76266e-07
1.17416e-09
1.76265e-07
1.17412e-09
1.76265e-07
1.17416e-09
1.76264e-07
1.17429e-09
1.76263e-07
1.17454e-09
1.76262e-07
1.17492e-09
1.76261e-07
1.17545e-09
1.7626e-07
1.17616e-09
1.76259e-07
1.17706e-09
1.76258e-07
1.17817e-09
1.76256e-07
1.17951e-09
1.18116e-09
1.80273e-07
5.54422e-10
-1.80271e-07
1.80276e-07
5.67881e-10
1.80278e-07
5.81366e-10
1.8028e-07
5.94871e-10
1.80282e-07
6.08392e-10
1.80284e-07
6.21918e-10
1.80286e-07
6.35441e-10
1.80289e-07
6.48951e-10
1.80291e-07
6.62441e-10
1.80294e-07
6.75902e-10
1.80296e-07
6.89324e-10
1.80298e-07
7.027e-10
1.80301e-07
7.16019e-10
1.80304e-07
7.29273e-10
1.80306e-07
7.42453e-10
1.80309e-07
7.55549e-10
1.80311e-07
7.68553e-10
1.80314e-07
7.81455e-10
1.80317e-07
7.94247e-10
1.80319e-07
8.0692e-10
1.80322e-07
8.19464e-10
1.80325e-07
8.31872e-10
1.80327e-07
8.44135e-10
1.8033e-07
8.56245e-10
1.80333e-07
8.68193e-10
1.80335e-07
8.79971e-10
1.80338e-07
8.91572e-10
1.80341e-07
9.02989e-10
1.80343e-07
9.14215e-10
1.80346e-07
9.25242e-10
1.80349e-07
9.36064e-10
1.80351e-07
9.46675e-10
1.80354e-07
9.57069e-10
1.80356e-07
9.6724e-10
1.80359e-07
9.77183e-10
1.80362e-07
9.86894e-10
1.80364e-07
9.96367e-10
1.80366e-07
1.0056e-09
1.80369e-07
1.01459e-09
1.80371e-07
1.02333e-09
1.80374e-07
1.03181e-09
1.80376e-07
1.04005e-09
1.80378e-07
1.04802e-09
1.8038e-07
1.05574e-09
1.80383e-07
1.0632e-09
1.80385e-07
1.0704e-09
1.80387e-07
1.07733e-09
1.80389e-07
1.08401e-09
1.80391e-07
1.09042e-09
1.80393e-07
1.09657e-09
1.80395e-07
1.10246e-09
1.80397e-07
1.10809e-09
1.80398e-07
1.11346e-09
1.804e-07
1.11858e-09
1.80402e-07
1.12343e-09
1.80403e-07
1.12804e-09
1.80405e-07
1.1324e-09
1.80407e-07
1.1365e-09
1.80408e-07
1.14037e-09
1.80409e-07
1.144e-09
1.80411e-07
1.14738e-09
1.80412e-07
1.15054e-09
1.80413e-07
1.15347e-09
1.80415e-07
1.15618e-09
1.80416e-07
1.15867e-09
1.80417e-07
1.16095e-09
1.80418e-07
1.16303e-09
1.80419e-07
1.16491e-09
1.8042e-07
1.16659e-09
1.80421e-07
1.16809e-09
1.80422e-07
1.16941e-09
1.80423e-07
1.17057e-09
1.80423e-07
1.17156e-09
1.80424e-07
1.1724e-09
1.80425e-07
1.1731e-09
1.80425e-07
1.17366e-09
1.80426e-07
1.1741e-09
1.80426e-07
1.17443e-09
1.80427e-07
1.17466e-09
1.80427e-07
1.1748e-09
1.80428e-07
1.17486e-09
1.80428e-07
1.17486e-09
1.80428e-07
1.17481e-09
1.80428e-07
1.17472e-09
1.80428e-07
1.17461e-09
1.80428e-07
1.17449e-09
1.80428e-07
1.17438e-09
1.80428e-07
1.17429e-09
1.80428e-07
1.17425e-09
1.80428e-07
1.17426e-09
1.80428e-07
1.17435e-09
1.80428e-07
1.17454e-09
1.80427e-07
1.17483e-09
1.80427e-07
1.17526e-09
1.80427e-07
1.17585e-09
1.80426e-07
1.1766e-09
1.80426e-07
1.17755e-09
1.80425e-07
1.17871e-09
1.80425e-07
1.18009e-09
1.18176e-09
1.84604e-07
-1.84603e-07
1.84605e-07
1.84606e-07
1.84607e-07
1.84608e-07
1.84609e-07
1.8461e-07
1.84611e-07
1.84612e-07
1.84613e-07
1.84614e-07
1.84615e-07
1.84616e-07
1.84617e-07
1.84618e-07
1.84619e-07
1.8462e-07
1.84622e-07
1.84623e-07
1.84624e-07
1.84625e-07
1.84626e-07
1.84628e-07
1.84629e-07
1.8463e-07
1.84631e-07
1.84633e-07
1.84634e-07
1.84635e-07
1.84637e-07
1.84638e-07
1.84639e-07
1.84641e-07
1.84642e-07
1.84643e-07
1.84645e-07
1.84646e-07
1.84647e-07
1.84649e-07
1.8465e-07
1.84651e-07
1.84653e-07
1.84654e-07
1.84655e-07
1.84657e-07
1.84658e-07
1.84659e-07
1.84661e-07
1.84662e-07
1.84663e-07
1.84665e-07
1.84666e-07
1.84667e-07
1.84668e-07
1.8467e-07
1.84671e-07
1.84672e-07
1.84673e-07
1.84674e-07
1.84675e-07
1.84677e-07
1.84678e-07
1.84679e-07
1.8468e-07
1.84681e-07
1.84682e-07
1.84683e-07
1.84684e-07
1.84685e-07
1.84686e-07
1.84687e-07
1.84688e-07
1.84689e-07
1.8469e-07
1.84691e-07
1.84692e-07
1.84693e-07
1.84694e-07
1.84694e-07
1.84695e-07
1.84696e-07
1.84697e-07
1.84697e-07
1.84698e-07
1.84699e-07
1.847e-07
1.847e-07
1.84701e-07
1.84701e-07
1.84702e-07
1.84702e-07
1.84703e-07
1.84703e-07
1.84704e-07
1.84704e-07
1.84705e-07
1.84705e-07
1.84705e-07
1.84706e-07
3.46189e-08
5.70335e-12
3.46131e-08
1.22855e-11
3.46047e-08
1.96501e-11
3.4594e-08
2.77582e-11
3.45809e-08
3.65949e-11
3.45654e-08
4.61687e-11
3.45475e-08
5.65168e-11
3.4527e-08
6.77037e-11
3.45039e-08
7.98226e-11
3.44777e-08
9.3001e-11
3.44483e-08
1.07411e-10
3.44152e-08
1.23281e-10
3.43779e-08
1.40921e-10
3.43356e-08
1.60749e-10
3.42875e-08
1.83344e-10
3.42321e-08
2.09527e-10
3.41676e-08
2.40502e-10
3.40914e-08
2.7811e-10
3.39996e-08
3.25321e-10
3.38854e-08
3.87292e-10
3.37375e-08
4.73878e-10
3.35333e-08
6.06561e-10
3.32199e-08
8.41966e-10
3.26328e-08
1.38589e-09
3.00446e-09
3.52398e-08
8.87716e-12
3.52339e-08
1.81692e-11
3.52254e-08
2.80811e-11
3.52146e-08
3.86291e-11
3.52013e-08
4.98582e-11
3.51856e-08
6.18338e-11
3.51675e-08
7.46455e-11
3.51468e-08
8.84096e-11
3.51234e-08
1.03276e-10
3.50969e-08
1.19436e-10
3.50672e-08
1.37141e-10
3.50338e-08
1.56716e-10
3.49961e-08
1.78597e-10
3.49535e-08
2.0337e-10
3.4905e-08
2.31845e-10
3.48493e-08
2.65175e-10
3.47848e-08
3.0505e-10
3.47088e-08
3.5406e-10
3.46177e-08
4.16387e-10
3.45058e-08
4.99236e-10
3.43636e-08
6.16108e-10
3.41751e-08
7.95035e-10
3.39159e-08
1.10115e-09
3.36011e-08
1.70065e-09
2.97605e-09
3.58717e-08
1.20352e-11
3.58658e-08
2.40954e-11
3.58573e-08
3.6583e-11
3.58463e-08
4.96025e-11
3.58329e-08
6.32539e-11
3.58171e-08
7.76581e-11
3.57988e-08
9.29568e-11
3.57779e-08
1.09318e-10
3.57542e-08
1.26947e-10
3.57276e-08
1.461e-10
3.56976e-08
1.67102e-10
3.56639e-08
1.90373e-10
3.56261e-08
2.16468e-10
3.55833e-08
2.46131e-10
3.55348e-08
2.80386e-10
3.54793e-08
3.20682e-10
3.54152e-08
3.69135e-10
3.53403e-08
4.28962e-10
3.52514e-08
5.05278e-10
3.51439e-08
6.06685e-10
3.50115e-08
7.48574e-10
3.48462e-08
9.60303e-10
3.46472e-08
1.30011e-09
3.447e-08
1.87786e-09
2.84725e-09
3.65151e-08
1.51869e-11
3.65091e-08
3.00557e-11
3.65005e-08
4.51466e-11
3.64895e-08
6.06634e-11
3.6476e-08
7.67614e-11
3.646e-08
9.36149e-11
3.64415e-08
1.11417e-10
3.64205e-08
1.30388e-10
3.63966e-08
1.50785e-10
3.63698e-08
1.72927e-10
3.63397e-08
1.97211e-10
3.63059e-08
2.24145e-10
3.6268e-08
2.54394e-10
3.62253e-08
2.88846e-10
3.6177e-08
3.28713e-10
3.61219e-08
3.75698e-10
3.60588e-08
4.32263e-10
3.59857e-08
5.0209e-10
3.59001e-08
5.90909e-10
3.57987e-08
7.08004e-10
3.56783e-08
8.69039e-10
3.55375e-08
1.10111e-09
3.53876e-08
1.44998e-09
3.52844e-08
1.98103e-09
2.73757e-09
3.71699e-08
1.8335e-11
3.71639e-08
3.60426e-11
3.71553e-08
5.37625e-11
3.71442e-08
7.17981e-11
3.71306e-08
9.03621e-11
3.71145e-08
1.0968e-10
3.70959e-08
1.29996e-10
3.70747e-08
1.51578e-10
3.70508e-08
1.74739e-10
3.70238e-08
1.99853e-10
3.69937e-08
2.27385e-10
3.69599e-08
2.57925e-10
3.6922e-08
2.92236e-10
3.68796e-08
3.31331e-10
3.68317e-08
3.76581e-10
3.67775e-08
4.29888e-10
3.67158e-08
4.93965e-10
3.66451e-08
5.72791e-10
3.65636e-08
6.72371e-10
3.64696e-08
8.02019e-10
3.63622e-08
9.7643e-10
3.62448e-08
1.21851e-09
3.61337e-08
1.56109e-09
3.60762e-08
2.03854e-09
2.64534e-09
3.78365e-08
2.14809e-11
3.78305e-08
4.20497e-11
3.78218e-08
6.24206e-11
3.78106e-08
8.29924e-11
3.77969e-08
1.04036e-10
3.77808e-08
1.25828e-10
3.77621e-08
1.4866e-10
3.77409e-08
1.7285e-10
3.77168e-08
1.98757e-10
3.76899e-08
2.26812e-10
3.76597e-08
2.57541e-10
3.76261e-08
2.91606e-10
3.75884e-08
3.29856e-10
3.75464e-08
3.73405e-10
3.74992e-08
4.23748e-10
3.74461e-08
4.8293e-10
3.73863e-08
5.53814e-10
3.73186e-08
6.40498e-10
3.7242e-08
7.48955e-10
3.7156e-08
8.87999e-10
3.70619e-08
1.07055e-09
3.69658e-08
1.31465e-09
3.6885e-08
1.64185e-09
3.68572e-08
2.0664e-09
2.56386e-09
3.8515e-08
2.46247e-11
3.8509e-08
4.80705e-11
3.85003e-08
7.11099e-11
3.84891e-08
9.42308e-11
3.84753e-08
1.17764e-10
3.84591e-08
1.42033e-10
3.84404e-08
1.67377e-10
3.84191e-08
1.94158e-10
3.83951e-08
2.22785e-10
3.83682e-08
2.53736e-10
3.83381e-08
2.87593e-10
3.83046e-08
3.25078e-10
3.82674e-08
3.67111e-10
3.82259e-08
4.14886e-10
3.81797e-08
4.69981e-10
3.81281e-08
5.34522e-10
3.80705e-08
6.11424e-10
3.80062e-08
7.04741e-10
3.7935e-08
8.20151e-10
3.78574e-08
9.65589e-10
3.77762e-08
1.15179e-09
3.76988e-08
1.39202e-09
3.76417e-08
1.69895e-09
3.76336e-08
2.07453e-09
2.48912e-09
3.92057e-08
2.77654e-11
3.91997e-08
5.40981e-11
3.9191e-08
7.98186e-11
3.91797e-08
1.05497e-10
3.9166e-08
1.31522e-10
3.91497e-08
1.58265e-10
3.9131e-08
1.86109e-10
3.91097e-08
2.15459e-10
3.90857e-08
2.46767e-10
3.90589e-08
2.80555e-10
3.9029e-08
3.17451e-10
3.89959e-08
3.5823e-10
3.89591e-08
4.03862e-10
3.89184e-08
4.55596e-10
3.88734e-08
5.15055e-10
3.88235e-08
5.84386e-10
3.87685e-08
6.66461e-10
3.87081e-08
7.65147e-10
3.86426e-08
8.85634e-10
3.85734e-08
1.03474e-09
3.85043e-08
1.22091e-09
3.84431e-08
1.45318e-09
3.84045e-08
1.73762e-09
3.84098e-08
2.06922e-09
2.41898e-09
3.99088e-08
3.0901e-11
3.99028e-08
6.0125e-11
3.98941e-08
8.85339e-11
3.98828e-08
1.16772e-10
3.9869e-08
1.45287e-10
3.98528e-08
1.74494e-10
3.98341e-08
2.04818e-10
3.98129e-08
2.36705e-10
3.9789e-08
2.70643e-10
3.97623e-08
3.07194e-10
3.97328e-08
3.47026e-10
3.97e-08
3.90948e-10
3.96639e-08
4.3997e-10
3.96242e-08
4.95363e-10
3.95805e-08
5.5876e-10
3.95326e-08
6.32272e-10
3.94804e-08
7.18645e-10
3.94241e-08
8.21447e-10
3.93645e-08
9.45241e-10
3.93036e-08
1.09563e-09
3.92456e-08
1.27886e-09
3.91984e-08
1.50047e-09
3.91741e-08
1.76189e-09
3.91888e-08
2.05454e-09
2.35237e-09
4.06245e-08
3.40289e-11
4.06185e-08
6.61435e-11
4.06098e-08
9.72424e-11
4.05985e-08
1.28039e-10
4.05848e-08
1.59035e-10
4.05686e-08
1.9069e-10
4.05499e-08
2.23466e-10
4.05288e-08
2.57846e-10
4.05051e-08
2.94353e-10
4.04787e-08
3.33581e-10
4.04495e-08
3.76225e-10
4.04173e-08
4.23122e-10
4.0382e-08
4.75297e-10
4.03433e-08
5.34024e-10
4.03012e-08
6.00906e-10
4.02555e-08
6.77964e-10
4.02064e-08
7.67755e-10
4.01544e-08
8.73464e-10
4.01007e-08
9.98951e-10
4.00477e-08
1.14859e-09
3.99999e-08
1.32669e-09
3.99643e-08
1.53599e-09
3.99514e-08
1.77488e-09
3.99726e-08
2.03326e-09
2.28871e-09
4.13531e-08
3.71457e-11
4.13471e-08
7.2145e-11
4.13384e-08
1.0593e-10
4.13271e-08
1.39276e-10
4.13134e-08
1.72739e-10
4.12973e-08
2.06818e-10
4.12788e-08
2.42011e-10
4.12578e-08
2.78833e-10
4.12343e-08
3.17836e-10
4.12082e-08
3.59638e-10
4.11795e-08
4.04957e-10
4.1148e-08
4.5464e-10
4.11136e-08
5.09713e-10
4.10762e-08
5.71427e-10
4.10358e-08
6.41319e-10
4.09924e-08
7.21283e-10
4.09466e-08
8.13628e-10
4.08989e-08
9.21107e-10
4.0851e-08
1.04685e-09
4.08055e-08
1.19409e-09
4.07668e-08
1.36546e-09
4.07411e-08
1.56159e-09
4.0737e-08
1.779e-09
4.0763e-08
2.00732e-09
2.22766e-09
4.20947e-08
4.02475e-11
4.20887e-08
7.81205e-11
4.208e-08
1.14582e-10
4.20689e-08
1.50465e-10
4.20552e-08
1.86373e-10
4.20392e-08
2.22844e-10
4.20208e-08
2.6041e-10
4.2e-08
2.99612e-10
4.19768e-08
3.41027e-10
4.19512e-08
3.85292e-10
4.1923e-08
4.33133e-10
4.18922e-08
4.85399e-10
4.18589e-08
5.43096e-10
4.18229e-08
6.07432e-10
4.17843e-08
6.79851e-10
4.17435e-08
7.62082e-10
4.1701e-08
8.56154e-10
4.16577e-08
9.64362e-10
4.16155e-08
1.08913e-09
4.15769e-08
1.23264e-09
4.15462e-08
1.39617e-09
4.1529e-08
1.57885e-09
4.15318e-08
1.77612e-09
4.15611e-08
1.97808e-09
2.16901e-09
4.28496e-08
4.333e-11
4.28436e-08
8.40603e-11
4.2835e-08
1.23182e-10
4.28239e-08
1.61582e-10
4.28104e-08
1.99908e-10
4.27945e-08
2.38734e-10
4.27763e-08
2.7862e-10
4.27558e-08
3.20133e-10
4.27329e-08
3.63866e-10
4.27078e-08
4.10466e-10
4.26802e-08
4.60664e-10
4.26503e-08
5.15294e-10
4.26181e-08
5.75331e-10
4.25836e-08
6.41914e-10
4.25471e-08
7.16376e-10
4.25089e-08
8.00254e-10
4.24698e-08
8.95276e-10
4.24309e-08
1.00328e-09
4.2394e-08
1.12601e-09
4.23619e-08
1.26478e-09
4.23382e-08
1.41977e-09
4.2328e-08
1.58911e-09
4.23364e-08
1.76773e-09
4.23679e-08
1.94656e-09
2.11259e-09
4.3618e-08
4.63884e-11
4.36121e-08
8.99541e-11
4.36036e-08
1.31715e-10
4.35926e-08
1.72605e-10
4.35792e-08
2.13315e-10
4.35635e-08
2.54451e-10
4.35455e-08
2.96598e-10
4.35253e-08
3.40341e-10
4.35029e-08
3.86287e-10
4.34782e-08
4.35089e-10
4.34514e-08
4.87466e-10
4.34225e-08
5.44232e-10
4.33915e-08
6.06313e-10
4.33587e-08
6.74767e-10
4.33242e-08
7.50794e-10
4.32888e-08
8.35725e-10
4.32531e-08
9.3098e-10
4.32184e-08
1.03795e-09
4.31866e-08
1.1578e-09
4.31603e-08
1.29107e-09
4.31429e-08
1.43715e-09
4.31385e-08
1.5935e-09
4.31513e-08
1.755e-09
4.31844e-08
1.91348e-09
2.05829e-09
4.44003e-08
4.94175e-11
4.43944e-08
9.57915e-11
4.4386e-08
1.40164e-10
4.43751e-08
1.83513e-10
4.43618e-08
2.26566e-10
4.43463e-08
2.69959e-10
4.43286e-08
3.14298e-10
4.43088e-08
3.60184e-10
4.42868e-08
4.08231e-10
4.42628e-08
4.59087e-10
4.42369e-08
5.13457e-10
4.4209e-08
5.72122e-10
4.41793e-08
6.35947e-10
4.41482e-08
7.05897e-10
4.4116e-08
7.83026e-10
4.40832e-08
8.68453e-10
4.40509e-08
9.63292e-10
4.40203e-08
1.06853e-09
4.39933e-08
1.1848e-09
4.39724e-08
1.31205e-09
4.39604e-08
1.44908e-09
4.39609e-08
1.593e-09
4.39771e-08
1.73883e-09
4.40112e-08
1.87941e-09
2.006e-09
4.51965e-08
5.24119e-11
4.51908e-08
1.01561e-10
4.51824e-08
1.48512e-10
4.51717e-08
1.94281e-10
4.51586e-08
2.3963e-10
4.51433e-08
2.85221e-10
4.5126e-08
3.31677e-10
4.51065e-08
3.7961e-10
4.50851e-08
4.29635e-10
4.50618e-08
4.82392e-10
4.50367e-08
5.38563e-10
4.501e-08
5.98884e-10
4.49817e-08
6.64154e-10
4.49524e-08
7.35231e-10
4.49224e-08
8.1302e-10
4.48925e-08
8.98425e-10
4.48635e-08
9.92274e-10
4.48368e-08
1.09518e-09
4.48143e-08
1.20735e-09
4.47981e-08
1.32824e-09
4.47909e-08
1.45627e-09
4.47955e-08
1.58841e-09
4.48143e-08
1.71998e-09
4.4849e-08
1.84476e-09
1.95561e-09
4.60071e-08
5.53659e-11
4.60014e-08
1.07252e-10
4.59932e-08
1.5674e-10
4.59826e-08
2.04885e-10
4.59697e-08
2.52477e-10
4.59548e-08
3.00199e-10
4.59377e-08
3.4869e-10
4.59188e-08
3.98567e-10
4.5898e-08
4.50442e-10
4.58754e-08
5.0494e-10
4.58513e-08
5.62712e-10
4.58257e-08
6.24445e-10
4.5799e-08
6.90861e-10
4.57715e-08
7.62711e-10
4.57438e-08
8.40743e-10
4.57166e-08
9.25656e-10
4.56908e-08
1.01801e-09
4.56679e-08
1.11811e-09
4.56495e-08
1.22577e-09
4.56376e-08
1.34013e-09
4.56345e-08
1.45936e-09
4.56425e-08
1.58042e-09
4.56635e-08
1.69903e-09
4.56984e-08
1.80985e-09
1.90704e-09
4.68322e-08
5.82736e-11
4.68266e-08
1.12852e-10
4.68185e-08
1.64833e-10
4.68081e-08
2.15302e-10
4.67955e-08
2.65077e-10
4.67808e-08
3.14858e-10
4.67642e-08
3.65295e-10
4.67458e-08
4.17006e-10
4.67256e-08
4.70596e-10
4.67039e-08
5.26668e-10
4.66808e-08
5.85839e-10
4.66565e-08
6.48741e-10
4.66313e-08
7.16013e-10
4.66057e-08
7.88295e-10
4.65803e-08
8.66184e-10
4.65558e-08
9.50185e-10
4.65332e-08
1.04062e-09
4.65138e-08
1.13751e-09
4.64991e-08
1.2404e-09
4.64911e-08
1.34818e-09
4.64916e-08
1.45889e-09
4.65024e-08
1.5696e-09
4.65249e-08
1.67646e-09
4.65599e-08
1.77491e-09
1.8602e-09
4.76721e-08
6.11291e-11
4.76666e-08
1.18349e-10
4.76587e-08
1.72771e-10
4.76484e-08
2.25507e-10
4.76361e-08
2.77399e-10
4.76218e-08
3.2916e-10
4.76057e-08
3.81448e-10
4.75878e-08
4.34878e-10
4.75684e-08
4.90042e-10
4.75475e-08
5.47521e-10
4.75255e-08
6.07889e-10
4.75025e-08
6.71717e-10
4.74789e-08
7.39566e-10
4.74553e-08
8.11959e-10
4.74321e-08
8.89351e-10
4.74102e-08
9.72068e-10
4.73906e-08
1.06022e-09
4.73745e-08
1.15361e-09
4.73633e-08
1.25156e-09
4.73587e-08
1.3528e-09
4.73623e-08
1.45535e-09
4.73754e-08
1.55644e-09
4.73992e-08
1.65266e-09
4.7434e-08
1.74014e-09
1.81501e-09
4.8527e-08
6.39262e-11
4.85217e-08
1.23732e-10
4.85139e-08
1.80536e-10
4.85039e-08
2.35477e-10
4.84919e-08
2.89413e-10
4.8478e-08
3.43071e-10
4.84623e-08
3.97108e-10
4.84451e-08
4.52137e-10
4.84264e-08
5.08733e-10
4.84065e-08
5.67446e-10
4.83856e-08
6.28809e-10
4.83639e-08
6.9333e-10
4.8342e-08
7.61486e-10
4.83203e-08
8.33692e-10
4.82994e-08
9.10269e-10
4.82801e-08
9.91381e-10
4.82633e-08
1.07696e-09
4.82503e-08
1.16663e-09
4.82423e-08
1.25955e-09
4.82407e-08
1.35438e-09
4.82469e-08
1.44917e-09
4.8262e-08
1.54136e-09
4.82867e-08
1.62793e-09
4.83212e-08
1.70566e-09
1.77139e-09
4.93973e-08
6.66588e-11
4.93921e-08
1.28988e-10
4.93845e-08
1.88112e-10
4.93748e-08
2.45188e-10
4.93631e-08
3.01091e-10
4.93496e-08
3.56554e-10
4.93345e-08
4.12237e-10
4.93179e-08
4.6874e-10
4.93e-08
5.26621e-10
4.92811e-08
5.86398e-10
4.92613e-08
6.48557e-10
4.92411e-08
7.13545e-10
4.92208e-08
7.81754e-10
4.9201e-08
8.53499e-10
4.91823e-08
9.28976e-10
4.91655e-08
1.00821e-09
4.91515e-08
1.09099e-09
4.91413e-08
1.17679e-09
4.91362e-08
1.26468e-09
4.91373e-08
1.35328e-09
4.91457e-08
1.44072e-09
4.91624e-08
1.52469e-09
4.91878e-08
1.60255e-09
4.92219e-08
1.6716e-09
1.72928e-09
5.02833e-08
6.93207e-11
5.02781e-08
1.34105e-10
5.02708e-08
1.95479e-10
5.02613e-08
2.54617e-10
5.025e-08
3.12404e-10
5.0237e-08
3.69579e-10
5.02224e-08
4.26796e-10
5.02065e-08
4.84647e-10
5.01895e-08
5.43665e-10
5.01716e-08
6.04336e-10
5.0153e-08
6.67097e-10
5.01342e-08
7.32334e-10
5.01156e-08
8.00361e-10
5.00977e-08
8.71396e-10
5.00812e-08
9.45526e-10
5.00667e-08
1.02266e-09
5.00553e-08
1.10246e-09
5.00477e-08
1.1843e-09
5.00452e-08
1.26721e-09
5.00487e-08
1.34981e-09
5.00591e-08
1.43034e-09
5.0077e-08
1.50673e-09
5.01029e-08
1.57671e-09
5.01364e-08
1.63801e-09
1.68859e-09
5.11851e-08
7.19059e-11
5.11801e-08
1.39071e-10
5.11729e-08
2.02621e-10
5.11638e-08
2.63741e-10
5.11529e-08
3.23324e-10
5.11404e-08
3.82112e-10
5.11264e-08
4.40752e-10
5.11112e-08
4.99821e-10
5.10951e-08
5.59828e-10
5.10782e-08
6.21225e-10
5.10609e-08
6.84402e-10
5.10435e-08
7.49683e-10
5.10266e-08
8.17308e-10
5.10106e-08
8.8741e-10
5.09961e-08
9.5998e-10
5.09839e-08
1.03483e-09
5.09749e-08
1.11153e-09
5.09698e-08
1.18939e-09
5.09696e-08
1.2674e-09
5.09752e-08
1.34425e-09
5.09872e-08
1.41831e-09
5.10062e-08
1.48774e-09
5.10323e-08
1.55058e-09
5.10654e-08
1.60497e-09
1.64926e-09
5.2103e-08
7.44083e-11
5.20982e-08
1.43875e-10
5.20913e-08
2.09521e-10
5.20825e-08
2.72538e-10
5.2072e-08
3.33826e-10
5.206e-08
3.94124e-10
5.20467e-08
4.54071e-10
5.20323e-08
5.14228e-10
5.2017e-08
5.75079e-10
5.20012e-08
6.37038e-10
5.19852e-08
7.00451e-10
5.19693e-08
7.65584e-10
5.1954e-08
8.32608e-10
5.19398e-08
9.01581e-10
5.19274e-08
9.72411e-10
5.19174e-08
1.04483e-09
5.19105e-08
1.11835e-09
5.19077e-08
1.19223e-09
5.19096e-08
1.26549e-09
5.1917e-08
1.33687e-09
5.19304e-08
1.40488e-09
5.19502e-08
1.46791e-09
5.19765e-08
1.5243e-09
5.2009e-08
1.57252e-09
1.61124e-09
5.30375e-08
7.68222e-11
5.30328e-08
1.48506e-10
5.30262e-08
2.16162e-10
5.30177e-08
2.80988e-10
5.30077e-08
3.43885e-10
5.29962e-08
4.05587e-10
5.29836e-08
4.66725e-10
5.297e-08
5.2784e-10
5.29556e-08
5.89389e-10
5.29409e-08
6.51753e-10
5.29261e-08
7.15231e-10
5.29117e-08
7.80037e-10
5.2898e-08
8.46282e-10
5.28856e-08
9.13955e-10
5.28752e-08
9.82898e-10
5.28672e-08
1.05278e-09
5.28625e-08
1.12308e-09
5.28617e-08
1.19304e-09
5.28655e-08
1.2617e-09
5.28744e-08
1.32789e-09
5.28891e-08
1.39027e-09
5.29095e-08
1.44744e-09
5.29358e-08
1.49799e-09
5.29677e-08
1.54068e-09
1.57445e-09
5.39887e-08
7.9142e-11
5.39842e-08
1.52953e-10
5.39778e-08
2.2253e-10
5.39698e-08
2.89071e-10
5.39602e-08
3.53477e-10
5.39493e-08
4.16477e-10
5.39373e-08
4.78687e-10
5.39245e-08
5.4063e-10
5.39112e-08
6.02736e-10
5.38976e-08
6.65353e-10
5.38841e-08
7.28737e-10
5.38711e-08
7.93053e-10
5.3859e-08
8.58358e-10
5.38484e-08
9.24585e-10
5.38397e-08
9.91525e-10
5.38337e-08
1.05881e-09
5.38309e-08
1.12587e-09
5.3832e-08
1.19199e-09
5.38374e-08
1.25623e-09
5.38478e-08
1.31752e-09
5.38634e-08
1.37467e-09
5.38844e-08
1.42647e-09
5.39106e-08
1.47174e-09
5.39418e-08
1.50948e-09
1.53885e-09
5.49569e-08
8.13623e-11
5.49527e-08
1.57206e-10
5.49466e-08
2.28609e-10
5.49389e-08
2.9677e-10
5.49298e-08
3.62583e-10
5.49195e-08
4.2677e-10
5.49082e-08
4.89934e-10
5.48963e-08
5.52577e-10
5.48839e-08
6.15104e-10
5.48715e-08
6.77829e-10
5.48592e-08
7.40969e-10
5.48476e-08
8.04647e-10
5.48371e-08
8.68872e-10
5.48282e-08
9.33534e-10
5.48213e-08
9.98381e-10
5.48171e-08
1.06301e-09
5.48161e-08
1.12687e-09
5.48188e-08
1.18924e-09
5.48258e-08
1.24926e-09
5.48374e-08
1.30594e-09
5.48538e-08
1.35825e-09
5.48752e-08
1.40513e-09
5.49013e-08
1.44562e-09
5.49318e-08
1.47892e-09
1.50437e-09
5.59425e-08
8.34783e-11
5.59385e-08
1.61255e-10
5.59327e-08
2.34387e-10
5.59254e-08
3.04066e-10
5.59168e-08
3.71183e-10
5.59071e-08
4.36446e-10
5.58966e-08
5.00447e-10
5.58855e-08
5.63665e-10
5.58742e-08
6.26481e-10
5.58628e-08
6.89177e-10
5.58519e-08
7.51937e-10
5.58417e-08
8.14843e-10
5.58327e-08
8.77868e-10
5.58253e-08
9.40865e-10
5.58202e-08
1.00356e-09
5.58176e-08
1.06553e-09
5.58183e-08
1.12623e-09
5.58226e-08
1.18497e-09
5.58309e-08
1.24096e-09
5.58435e-08
1.29332e-09
5.58606e-08
1.34114e-09
5.58822e-08
1.38353e-09
5.59081e-08
1.4197e-09
5.5938e-08
1.44901e-09
1.47097e-09
5.69458e-08
8.54852e-11
5.6942e-08
1.65091e-10
5.69365e-08
2.3985e-10
5.69297e-08
3.10946e-10
5.69216e-08
3.7926e-10
5.69125e-08
4.45489e-10
5.69028e-08
5.10209e-10
5.68926e-08
5.73881e-10
5.68822e-08
6.3686e-10
5.6872e-08
6.99399e-10
5.68623e-08
7.61652e-10
5.68534e-08
8.2367e-10
5.68459e-08
8.85393e-10
5.68401e-08
9.46649e-10
5.68365e-08
1.00714e-09
5.68356e-08
1.06646e-09
5.68378e-08
1.12407e-09
5.68434e-08
1.17932e-09
5.68529e-08
1.23149e-09
5.68664e-08
1.27981e-09
5.6884e-08
1.32348e-09
5.69058e-08
1.36177e-09
5.69315e-08
1.39403e-09
5.69607e-08
1.41975e-09
1.4386e-09
5.79671e-08
8.73789e-11
5.79635e-08
1.68707e-10
5.79584e-08
2.44989e-10
5.79519e-08
3.17397e-10
5.79444e-08
3.868e-10
5.7936e-08
4.53885e-10
5.7927e-08
5.1921e-10
5.79177e-08
5.83217e-10
5.79083e-08
6.46238e-10
5.78992e-08
7.08503e-10
5.78907e-08
7.70136e-10
5.78832e-08
8.31162e-10
5.78771e-08
8.915e-10
5.78728e-08
9.50958e-10
5.78707e-08
1.00924e-09
5.78712e-08
1.06593e-09
5.78748e-08
1.12052e-09
5.78817e-08
1.17243e-09
5.78922e-08
1.22099e-09
5.79064e-08
1.26553e-09
5.79245e-08
1.30538e-09
5.79464e-08
1.33992e-09
5.79718e-08
1.36863e-09
5.80004e-08
1.39115e-09
1.40721e-09
5.90068e-08
8.91556e-11
5.90034e-08
1.72095e-10
5.89986e-08
2.49793e-10
5.89926e-08
3.23406e-10
5.89856e-08
3.93791e-10
5.89778e-08
4.61622e-10
5.89696e-08
5.2744e-10
5.89611e-08
5.91669e-10
5.89528e-08
6.54621e-10
5.89448e-08
7.165e-10
5.89375e-08
7.77413e-10
5.89313e-08
8.3736e-10
5.89265e-08
8.96245e-10
5.89236e-08
9.53867e-10
5.89229e-08
1.00993e-09
5.89248e-08
1.06404e-09
5.89296e-08
1.11571e-09
5.89376e-08
1.16443e-09
5.89491e-08
1.20959e-09
5.8964e-08
1.25061e-09
5.89824e-08
1.28693e-09
5.90043e-08
1.31805e-09
5.90294e-08
1.34356e-09
5.90573e-08
1.36318e-09
1.37676e-09
6.0065e-08
9.0812e-11
6.00619e-08
1.7525e-10
6.00574e-08
2.54255e-10
6.00518e-08
3.28964e-10
6.00454e-08
4.00224e-10
6.00383e-08
4.68692e-10
6.00309e-08
5.34895e-10
6.00233e-08
5.99238e-10
6.00159e-08
6.62014e-10
6.0009e-08
7.2341e-10
6.00029e-08
7.83512e-10
5.9998e-08
8.42307e-10
5.99945e-08
8.99688e-10
5.99929e-08
9.55452e-10
5.99936e-08
1.00931e-09
5.99967e-08
1.06089e-09
6.00027e-08
1.10976e-09
6.00116e-08
1.15543e-09
6.00238e-08
1.1974e-09
6.00393e-08
1.23515e-09
6.0058e-08
1.26823e-09
6.00798e-08
1.29622e-09
6.01046e-08
1.31883e-09
6.01319e-08
1.33586e-09
1.34721e-09
6.11422e-08
9.23455e-11
6.11393e-08
1.78167e-10
6.11352e-08
2.58367e-10
6.11301e-08
3.34065e-10
6.11242e-08
4.06092e-10
6.11178e-08
4.75092e-10
6.11112e-08
5.41574e-10
6.11045e-08
6.05928e-10
6.10981e-08
6.68431e-10
6.10922e-08
7.29253e-10
6.10873e-08
7.88467e-10
6.10835e-08
8.4605e-10
6.10813e-08
9.0189e-10
6.1081e-08
9.55788e-10
6.10828e-08
1.00747e-09
6.10871e-08
1.05659e-09
6.10941e-08
1.10276e-09
6.1104e-08
1.14555e-09
6.11169e-08
1.18452e-09
6.11328e-08
1.21924e-09
6.11517e-08
1.24933e-09
6.11734e-08
1.27448e-09
6.11978e-08
1.29446e-09
6.12245e-08
1.30916e-09
1.31852e-09
6.22388e-08
9.37539e-11
6.22361e-08
1.8084e-10
6.22324e-08
2.62124e-10
6.22277e-08
3.38703e-10
6.22224e-08
4.11392e-10
6.22167e-08
4.80819e-10
6.22108e-08
5.47479e-10
6.2205e-08
6.11748e-10
6.21995e-08
6.73888e-10
6.21947e-08
7.34056e-10
6.21909e-08
7.92316e-10
6.21883e-08
8.48639e-10
6.21872e-08
9.02914e-10
6.21881e-08
9.54953e-10
6.21911e-08
1.0045e-09
6.21964e-08
1.05124e-09
6.22043e-08
1.09483e-09
6.2215e-08
1.1349e-09
6.22285e-08
1.17106e-09
6.22447e-08
1.20296e-09
6.22637e-08
1.23031e-09
6.22854e-08
1.25287e-09
6.23093e-08
1.27048e-09
6.23354e-08
1.28307e-09
1.29067e-09
6.3355e-08
9.50355e-11
6.33526e-08
1.83269e-10
6.33492e-08
2.65524e-10
6.3345e-08
3.42876e-10
6.33403e-08
4.16121e-10
6.33352e-08
4.85875e-10
6.33301e-08
5.52618e-10
6.33251e-08
6.16711e-10
6.33206e-08
6.78404e-10
6.33168e-08
7.37848e-10
6.3314e-08
7.95098e-10
6.33125e-08
8.50126e-10
6.33126e-08
9.02826e-10
6.33146e-08
9.53023e-10
6.33186e-08
1.00048e-09
6.33249e-08
1.04493e-09
6.33337e-08
1.08606e-09
6.3345e-08
1.12355e-09
6.3359e-08
1.15709e-09
6.33755e-08
1.1864e-09
6.33946e-08
1.21123e-09
6.34161e-08
1.23143e-09
6.34396e-08
1.24688e-09
6.34651e-08
1.2576e-09
1.2636e-09
6.44912e-08
9.61895e-11
6.4489e-08
1.85451e-10
6.4486e-08
2.68565e-10
6.44823e-08
3.46582e-10
6.44781e-08
4.20282e-10
6.44737e-08
4.90265e-10
6.44694e-08
5.56998e-10
6.44652e-08
6.20831e-10
6.44616e-08
6.82005e-10
6.44588e-08
7.40663e-10
6.44571e-08
7.96858e-10
6.44566e-08
8.50566e-10
6.44578e-08
9.01689e-10
6.44607e-08
9.50071e-10
6.44657e-08
9.95505e-10
6.44729e-08
1.03775e-09
6.44824e-08
1.07654e-09
6.44943e-08
1.11161e-09
6.45087e-08
1.1427e-09
6.45255e-08
1.16961e-09
6.45446e-08
1.19213e-09
6.45659e-08
1.21018e-09
6.45891e-08
1.22369e-09
6.46139e-08
1.23271e-09
1.2373e-09
6.56478e-08
9.72155e-11
6.56459e-08
1.87385e-10
6.56432e-08
2.71246e-10
6.564e-08
3.49824e-10
6.56364e-08
4.23879e-10
6.56326e-08
4.93997e-10
6.5629e-08
5.60634e-10
6.56257e-08
6.2413e-10
6.5623e-08
6.84717e-10
6.56211e-08
7.42536e-10
6.56203e-08
7.97642e-10
6.56209e-08
8.50014e-10
6.5623e-08
8.9957e-10
6.56269e-08
9.46173e-10
6.56328e-08
9.89643e-10
6.56407e-08
1.02978e-09
6.56509e-08
1.06635e-09
6.56634e-08
1.09915e-09
6.56781e-08
1.12797e-09
6.56951e-08
1.15265e-09
6.57142e-08
1.17307e-09
6.57352e-08
1.18916e-09
6.5758e-08
1.20092e-09
6.57823e-08
1.20841e-09
1.21174e-09
6.68252e-08
9.81138e-11
6.68235e-08
1.89072e-10
6.68211e-08
2.7357e-10
6.68184e-08
3.52604e-10
6.68153e-08
4.26917e-10
6.68122e-08
4.97082e-10
6.68093e-08
5.63542e-10
6.68068e-08
6.26628e-10
6.6805e-08
6.86571e-10
6.6804e-08
7.43507e-10
6.68042e-08
7.97496e-10
6.68056e-08
8.48527e-10
6.68087e-08
8.96533e-10
6.68135e-08
9.41399e-10
6.68201e-08
9.82975e-10
6.68288e-08
1.02109e-09
6.68396e-08
1.05557e-09
6.68525e-08
1.08624e-09
6.68675e-08
1.11295e-09
6.68846e-08
1.13558e-09
6.69036e-08
1.15406e-09
6.69244e-08
1.16838e-09
6.69467e-08
1.17855e-09
6.69705e-08
1.18468e-09
1.18689e-09
6.80236e-08
9.88856e-11
6.80222e-08
1.90515e-10
6.80202e-08
2.75539e-10
6.80179e-08
3.54929e-10
6.80154e-08
4.29407e-10
6.80129e-08
4.99532e-10
6.80107e-08
5.6574e-10
6.8009e-08
6.28353e-10
6.8008e-08
6.87598e-10
6.80079e-08
7.43616e-10
6.80089e-08
7.9647e-10
6.80113e-08
8.46162e-10
6.80151e-08
8.92643e-10
6.80207e-08
9.3582e-10
6.80281e-08
9.75574e-10
6.80374e-08
1.01177e-09
6.80487e-08
1.04427e-09
6.8062e-08
1.07295e-09
6.80773e-08
1.0977e-09
6.80944e-08
1.11845e-09
6.81133e-08
1.13517e-09
6.81338e-08
1.14786e-09
6.81558e-08
1.15661e-09
6.81789e-08
1.16152e-09
1.16272e-09
6.92435e-08
9.95328e-11
6.92423e-08
1.91715e-10
6.92407e-08
2.7716e-10
6.92388e-08
3.56806e-10
6.92369e-08
4.31359e-10
6.9235e-08
5.01365e-10
6.92335e-08
5.67249e-10
6.92326e-08
6.29331e-10
6.92323e-08
6.87835e-10
6.9233e-08
7.42905e-10
6.92349e-08
7.94613e-10
6.92381e-08
8.42976e-10
6.92428e-08
8.87962e-10
6.92491e-08
9.29503e-10
6.92571e-08
9.67511e-10
6.9267e-08
1.00189e-09
6.92788e-08
1.03253e-09
6.92924e-08
1.05935e-09
6.93078e-08
1.08228e-09
6.93249e-08
1.1013e-09
6.93437e-08
1.1164e-09
6.93639e-08
1.12763e-09
6.93855e-08
1.13509e-09
6.94081e-08
1.1389e-09
1.13921e-09
9.22925e-08
1.0019e-10
9.22913e-08
1.92923e-10
9.22897e-08
2.78757e-10
9.22879e-08
3.58594e-10
9.22862e-08
4.33114e-10
9.22847e-08
5.02848e-10
9.22837e-08
5.68212e-10
9.22835e-08
6.29519e-10
9.22844e-08
6.86997e-10
9.22865e-08
7.40796e-10
9.22901e-08
7.91002e-10
9.22954e-08
8.37651e-10
9.23026e-08
8.80738e-10
9.23119e-08
9.20229e-10
9.23234e-08
9.56073e-10
9.2337e-08
9.88214e-10
9.2353e-08
1.0166e-09
9.23711e-08
1.04118e-09
9.23915e-08
1.06195e-09
9.24138e-08
1.07892e-09
9.24381e-08
1.09213e-09
9.24641e-08
1.10166e-09
9.24915e-08
1.10762e-09
9.25203e-08
1.11018e-09
1.10949e-09
9.45253e-08
1.0064e-10
9.45244e-08
1.93737e-10
9.45234e-08
2.7979e-10
9.45223e-08
3.59663e-10
9.45214e-08
4.34014e-10
9.45209e-08
5.03359e-10
9.4521e-08
5.68105e-10
9.4522e-08
6.28564e-10
9.4524e-08
6.84967e-10
9.45273e-08
7.37472e-10
9.45322e-08
7.86183e-10
9.45387e-08
8.31157e-10
9.4547e-08
8.72416e-10
9.45573e-08
9.09958e-10
9.45696e-08
9.43771e-10
9.45839e-08
9.73836e-10
9.46004e-08
1.00014e-09
9.46189e-08
1.02269e-09
9.46393e-08
1.04151e-09
9.46616e-08
1.05665e-09
9.46855e-08
1.06817e-09
9.4711e-08
1.0762e-09
9.47377e-08
1.08087e-09
9.47656e-08
1.08235e-09
1.08079e-09
9.6812e-08
1.00891e-10
9.68116e-08
1.94171e-10
9.68111e-08
2.80279e-10
9.68107e-08
3.60043e-10
9.68106e-08
4.34098e-10
9.6811e-08
5.02947e-10
9.68121e-08
5.66989e-10
9.68142e-08
6.26537e-10
9.68173e-08
6.81826e-10
9.68217e-08
7.33027e-10
9.68277e-08
7.80261e-10
9.68352e-08
8.23607e-10
9.68445e-08
8.63114e-10
9.68557e-08
8.98814e-10
9.68687e-08
9.30727e-10
9.68837e-08
9.58872e-10
9.69005e-08
9.83277e-10
9.69193e-08
1.00398e-09
9.69397e-08
1.02104e-09
9.69618e-08
1.03454e-09
9.69854e-08
1.04458e-09
9.70103e-08
1.0513e-09
9.70364e-08
1.05484e-09
9.70633e-08
1.05538e-09
1.05309e-09
9.9154e-08
1.00952e-10
9.9154e-08
1.94242e-10
9.9154e-08
2.80251e-10
9.91543e-08
3.59769e-10
9.91549e-08
4.33411e-10
9.91562e-08
5.01667e-10
9.91583e-08
5.64931e-10
9.91613e-08
6.23517e-10
9.91655e-08
6.77666e-10
9.91709e-08
7.27564e-10
9.91778e-08
7.73349e-10
9.91863e-08
8.15121e-10
9.91965e-08
8.52959e-10
9.92084e-08
8.86922e-10
9.9222e-08
9.17064e-10
9.92375e-08
9.43438e-10
9.92546e-08
9.66104e-10
9.92735e-08
9.85135e-10
9.92939e-08
1.00062e-09
9.93158e-08
1.01266e-09
9.9339e-08
1.02139e-09
9.93633e-08
1.02696e-09
9.93886e-08
1.02952e-09
9.94148e-08
1.02926e-09
1.02636e-09
1.01553e-07
1.00834e-10
1.01553e-07
1.93969e-10
1.01553e-07
2.79734e-10
1.01554e-07
3.5888e-10
1.01556e-07
4.32002e-10
1.01558e-07
4.9958e-10
1.01561e-07
5.62003e-10
1.01565e-07
6.19587e-10
1.0157e-07
6.72582e-10
1.01576e-07
7.21187e-10
1.01584e-07
7.65557e-10
1.01593e-07
8.05816e-10
1.01604e-07
8.42068e-10
1.01617e-07
8.74401e-10
1.01631e-07
9.02898e-10
1.01647e-07
9.27643e-10
1.01664e-07
9.48725e-10
1.01683e-07
9.66245e-10
1.01703e-07
9.80316e-10
1.01725e-07
9.91067e-10
1.01748e-07
9.98643e-10
1.01771e-07
1.0032e-09
1.01796e-07
1.00492e-09
1.01821e-07
1.00398e-09
1.00056e-09
1.04009e-07
1.00546e-10
1.0401e-07
1.93375e-10
1.04011e-07
2.7876e-10
1.04012e-07
3.57419e-10
1.04014e-07
4.29927e-10
1.04017e-07
4.96752e-10
1.04021e-07
5.58282e-10
1.04026e-07
6.14834e-10
1.04032e-07
6.66669e-10
1.04039e-07
7.13998e-10
1.04047e-07
7.56995e-10
1.04057e-07
7.95807e-10
1.04069e-07
8.30559e-10
1.04082e-07
8.61367e-10
1.04097e-07
8.88341e-10
1.04113e-07
9.11591e-10
1.0413e-07
9.31233e-10
1.04149e-07
9.47391e-10
1.04169e-07
9.60199e-10
1.0419e-07
9.69804e-10
1.04213e-07
9.76365e-10
1.04236e-07
9.80052e-10
1.0426e-07
9.81044e-10
1.04284e-07
9.7953e-10
9.75681e-10
1.06525e-07
1.00103e-10
1.06526e-07
1.92483e-10
1.06528e-07
2.77365e-10
1.0653e-07
3.55432e-10
1.06532e-07
4.2724e-10
1.06536e-07
4.93249e-10
1.0654e-07
5.53843e-10
1.06546e-07
6.09345e-10
1.06553e-07
6.60022e-10
1.0656e-07
7.06101e-10
1.0657e-07
7.47773e-10
1.0658e-07
7.85203e-10
1.06592e-07
8.18543e-10
1.06606e-07
8.47929e-10
1.06621e-07
8.73496e-10
1.06637e-07
8.95379e-10
1.06654e-07
9.13714e-10
1.06673e-07
9.28646e-10
1.06693e-07
9.40328e-10
1.06714e-07
9.4892e-10
1.06736e-07
9.54592e-10
1.06758e-07
9.57522e-10
1.06781e-07
9.57893e-10
1.06805e-07
9.55894e-10
9.51695e-10
1.09102e-07
9.95161e-11
1.09104e-07
1.9132e-10
1.09105e-07
2.75586e-10
1.09108e-07
3.52968e-10
1.09111e-07
4.24003e-10
1.09115e-07
4.89142e-10
1.0912e-07
5.48768e-10
1.09126e-07
6.03208e-10
1.09134e-07
6.52738e-10
1.09142e-07
6.97598e-10
1.09152e-07
7.37994e-10
1.09163e-07
7.74113e-10
1.09175e-07
8.06125e-10
1.09189e-07
8.34189e-10
1.09204e-07
8.5846e-10
1.09221e-07
8.79094e-10
1.09238e-07
8.96247e-10
1.09257e-07
9.1008e-10
1.09276e-07
9.20759e-10
1.09297e-07
9.28458e-10
1.09318e-07
9.33355e-10
1.0934e-07
9.35631e-10
1.09362e-07
9.35473e-10
1.09385e-07
9.33069e-10
9.28589e-10
1.11742e-07
9.88003e-11
1.11743e-07
1.89911e-10
1.11745e-07
2.73463e-10
1.11748e-07
3.50077e-10
1.11752e-07
4.20276e-10
1.11756e-07
4.84502e-10
1.11762e-07
5.43137e-10
1.11769e-07
5.96512e-10
1.11777e-07
6.44911e-10
1.11786e-07
6.88587e-10
1.11796e-07
7.27763e-10
1.11807e-07
7.6264e-10
1.1182e-07
7.93408e-10
1.11834e-07
8.20245e-10
1.11849e-07
8.43326e-10
1.11865e-07
8.62823e-10
1.11883e-07
8.78908e-10
1.11901e-07
8.91756e-10
1.1192e-07
9.01546e-10
1.1194e-07
9.08459e-10
1.11961e-07
9.1268e-10
1.11982e-07
9.14395e-10
1.12004e-07
9.1379e-10
1.12026e-07
9.11052e-10
9.06348e-10
1.14445e-07
9.79699e-11
1.14446e-07
1.88285e-10
1.14449e-07
2.71034e-10
1.14452e-07
3.46811e-10
1.14456e-07
4.16121e-10
1.14461e-07
4.79401e-10
1.14467e-07
5.37031e-10
1.14475e-07
5.89344e-10
1.14483e-07
6.36636e-10
1.14492e-07
6.79167e-10
1.14503e-07
7.17177e-10
1.14515e-07
7.50882e-10
1.14528e-07
7.80489e-10
1.14542e-07
8.06192e-10
1.14557e-07
8.28181e-10
1.14573e-07
8.46643e-10
1.1459e-07
8.61766e-10
1.14608e-07
8.73734e-10
1.14627e-07
8.82737e-10
1.14646e-07
8.88961e-10
1.14666e-07
8.92596e-10
1.14687e-07
8.9383e-10
1.14708e-07
8.9285e-10
1.14729e-07
8.89841e-10
8.84965e-10
1.17213e-07
9.70398e-11
1.17215e-07
1.8647e-10
1.17218e-07
2.68342e-10
1.17221e-07
3.43223e-10
1.17226e-07
4.11604e-10
1.17231e-07
4.73913e-10
1.17238e-07
5.3053e-10
1.17245e-07
5.81793e-10
1.17254e-07
6.28003e-10
1.17264e-07
6.69434e-10
1.17275e-07
7.06334e-10
1.17287e-07
7.38936e-10
1.173e-07
7.6746e-10
1.17314e-07
7.92115e-10
1.17329e-07
8.13106e-10
1.17345e-07
8.30631e-10
1.17362e-07
8.44887e-10
1.17379e-07
8.56072e-10
1.17398e-07
8.64379e-10
1.17417e-07
8.70001e-10
1.17436e-07
8.7313e-10
1.17456e-07
8.73955e-10
1.17476e-07
8.72663e-10
1.17496e-07
8.69435e-10
8.64432e-10
1.20049e-07
9.60253e-11
1.20051e-07
1.84496e-10
1.20053e-07
2.65429e-10
1.20057e-07
3.39367e-10
1.20062e-07
4.06786e-10
1.20068e-07
4.68109e-10
1.20075e-07
5.23715e-10
1.20083e-07
5.73944e-10
1.20092e-07
6.19104e-10
1.20101e-07
6.59478e-10
1.20112e-07
6.95326e-10
1.20125e-07
7.26894e-10
1.20138e-07
7.54411e-10
1.20152e-07
7.78101e-10
1.20167e-07
7.98179e-10
1.20182e-07
8.14855e-10
1.20199e-07
8.28335e-10
1.20216e-07
8.38822e-10
1.20234e-07
8.46516e-10
1.20252e-07
8.51613e-10
1.20271e-07
8.54307e-10
1.2029e-07
8.54787e-10
1.2031e-07
8.53239e-10
1.20329e-07
8.4984e-10
8.44747e-10
1.22953e-07
9.49417e-11
1.22955e-07
1.82392e-10
1.22958e-07
2.62337e-10
1.22962e-07
3.35296e-10
1.22967e-07
4.01732e-10
1.22973e-07
4.62062e-10
1.2298e-07
5.16664e-10
1.22988e-07
5.65881e-10
1.22997e-07
6.10026e-10
1.23007e-07
6.4939e-10
1.23018e-07
6.84244e-10
1.2303e-07
7.14842e-10
1.23043e-07
7.41426e-10
1.23057e-07
7.6423e-10
1.23072e-07
7.83476e-10
1.23087e-07
7.99385e-10
1.23104e-07
8.12169e-10
1.2312e-07
8.22037e-10
1.23138e-07
8.29191e-10
1.23155e-07
8.33833e-10
1.23174e-07
8.36154e-10
1.23192e-07
8.36346e-10
1.23211e-07
8.34588e-10
1.23229e-07
8.31059e-10
8.2591e-10
1.25927e-07
9.38044e-11
1.25929e-07
1.80188e-10
1.25932e-07
2.59108e-10
1.25936e-07
3.31063e-10
1.25942e-07
3.96504e-10
1.25948e-07
4.55843e-10
1.25955e-07
5.09455e-10
1.25963e-07
5.57686e-10
1.25972e-07
6.00855e-10
1.25983e-07
6.39258e-10
1.25994e-07
6.73174e-10
1.26006e-07
7.02867e-10
1.26018e-07
7.28587e-10
1.26032e-07
7.50577e-10
1.26047e-07
7.69067e-10
1.26062e-07
7.84284e-10
1.26077e-07
7.96446e-10
1.26094e-07
8.05765e-10
1.2611e-07
8.12448e-10
1.26127e-07
8.16695e-10
1.26145e-07
8.187e-10
1.26163e-07
8.1865e-10
1.26181e-07
8.16726e-10
1.26198e-07
8.13101e-10
8.07923e-10
1.28973e-07
9.26287e-11
1.28975e-07
1.77912e-10
1.28978e-07
2.55784e-10
1.28983e-07
3.26721e-10
1.28988e-07
3.91165e-10
1.28994e-07
4.49521e-10
1.29002e-07
5.02164e-10
1.2901e-07
5.4944e-10
1.29019e-07
5.91672e-10
1.29029e-07
6.29163e-10
1.2904e-07
6.62198e-10
1.29052e-07
6.91049e-10
1.29065e-07
7.15972e-10
1.29078e-07
7.37217e-10
1.29092e-07
7.55021e-10
1.29107e-07
7.69615e-10
1.29122e-07
7.81222e-10
1.29138e-07
7.90056e-10
1.29154e-07
7.96326e-10
1.2917e-07
8.00233e-10
1.29187e-07
8.0197e-10
1.29204e-07
8.01722e-10
1.29221e-07
7.99668e-10
1.29238e-07
7.95976e-10
7.90793e-10
1.32093e-07
9.14297e-11
1.32095e-07
1.75594e-10
1.32098e-07
2.52405e-10
1.32103e-07
3.22322e-10
1.32108e-07
3.85775e-10
1.32115e-07
4.43165e-10
1.32122e-07
4.94864e-10
1.3213e-07
5.4122e-10
1.32139e-07
5.82559e-10
1.32149e-07
6.19188e-10
1.3216e-07
6.51398e-10
1.32172e-07
6.79466e-10
1.32184e-07
7.03656e-10
1.32197e-07
7.2422e-10
1.3221e-07
7.41403e-10
1.32225e-07
7.55437e-10
1.32239e-07
7.6655e-10
1.32254e-07
7.74957e-10
1.3227e-07
7.80868e-10
1.32286e-07
7.84483e-10
1.32302e-07
7.85994e-10
1.32318e-07
7.85585e-10
1.32334e-07
7.83431e-10
1.3235e-07
7.79698e-10
7.74529e-10
1.35288e-07
9.02224e-11
1.3529e-07
1.73262e-10
1.35294e-07
2.49012e-10
1.35298e-07
3.17916e-10
1.35303e-07
3.80394e-10
1.3531e-07
4.36841e-10
1.35317e-07
4.87628e-10
1.35325e-07
5.33103e-10
1.35334e-07
5.73594e-10
1.35344e-07
6.09412e-10
1.35354e-07
6.40852e-10
1.35366e-07
6.68195e-10
1.35378e-07
6.91711e-10
1.3539e-07
7.11656e-10
1.35403e-07
7.28276e-10
1.35417e-07
7.4181e-10
1.35431e-07
7.52483e-10
1.35445e-07
7.60515e-10
1.3546e-07
7.66114e-10
1.35475e-07
7.69479e-10
1.3549e-07
7.70802e-10
1.35506e-07
7.70264e-10
1.35521e-07
7.68037e-10
1.35537e-07
7.64284e-10
7.59143e-10
1.3856e-07
8.90213e-11
1.38563e-07
1.70944e-10
1.38566e-07
2.45646e-10
1.3857e-07
3.13554e-10
1.38576e-07
3.7508e-10
1.38582e-07
4.30614e-10
1.38589e-07
4.80525e-10
1.38597e-07
5.25161e-10
1.38606e-07
5.64851e-10
1.38615e-07
5.99909e-10
1.38626e-07
6.30634e-10
1.38636e-07
6.5731e-10
1.38648e-07
6.80208e-10
1.3866e-07
6.9959e-10
1.38673e-07
7.15705e-10
1.38686e-07
7.2879e-10
1.38699e-07
7.39075e-10
1.38713e-07
7.46778e-10
1.38727e-07
7.52106e-10
1.38741e-07
7.5526e-10
1.38755e-07
7.56427e-10
1.3877e-07
7.55786e-10
1.38784e-07
7.53508e-10
1.38799e-07
7.49751e-10
7.44652e-10
1.41912e-07
8.78407e-11
1.41914e-07
1.68668e-10
1.41918e-07
2.42343e-10
1.41922e-07
3.09283e-10
1.41927e-07
3.69889e-10
1.41933e-07
4.24547e-10
1.4194e-07
4.73624e-10
1.41948e-07
5.17466e-10
1.41956e-07
5.56404e-10
1.41965e-07
5.90755e-10
1.41975e-07
6.20818e-10
1.41986e-07
6.4688e-10
1.41997e-07
6.69217e-10
1.42008e-07
6.8809e-10
1.4202e-07
7.03749e-10
1.42032e-07
7.16436e-10
1.42045e-07
7.26377e-10
1.42058e-07
7.33792e-10
1.42071e-07
7.38888e-10
1.42085e-07
7.41862e-10
1.42098e-07
7.42901e-10
1.42112e-07
7.42181e-10
1.42126e-07
7.39869e-10
1.42139e-07
7.36122e-10
7.31073e-10
1.45345e-07
8.66946e-11
1.45347e-07
1.66459e-10
1.4535e-07
2.39143e-10
1.45354e-07
3.05151e-10
1.45359e-07
3.64877e-10
1.45365e-07
4.18702e-10
1.45372e-07
4.6699e-10
1.45379e-07
5.10087e-10
1.45387e-07
5.48325e-10
1.45396e-07
5.82021e-10
1.45405e-07
6.11475e-10
1.45415e-07
6.36978e-10
1.45426e-07
6.58804e-10
1.45437e-07
6.77218e-10
1.45448e-07
6.92471e-10
1.45459e-07
7.04803e-10
1.45471e-07
7.14443e-10
1.45484e-07
7.21608e-10
1.45496e-07
7.26504e-10
1.45509e-07
7.29326e-10
1.45521e-07
7.30261e-10
1.45534e-07
7.29481e-10
1.45547e-07
7.27151e-10
1.45559e-07
7.23424e-10
7.18431e-10
1.48861e-07
8.55966e-11
1.48863e-07
1.64344e-10
1.48866e-07
2.36082e-10
1.4887e-07
3.01204e-10
1.48874e-07
3.60097e-10
1.4888e-07
4.13138e-10
1.48886e-07
4.60688e-10
1.48893e-07
5.03093e-10
1.48901e-07
5.40684e-10
1.48909e-07
5.73777e-10
1.48918e-07
6.02676e-10
1.48927e-07
6.2767e-10
1.48937e-07
6.49037e-10
1.48947e-07
6.6704e-10
1.48958e-07
6.81931e-10
1.48969e-07
6.9395e-10
1.4898e-07
7.03326e-10
1.48991e-07
7.10274e-10
1.49003e-07
7.14999e-10
1.49014e-07
7.17695e-10
1.49026e-07
7.18546e-10
1.49038e-07
7.17722e-10
1.49049e-07
7.15384e-10
1.49061e-07
7.11685e-10
7.06752e-10
1.52461e-07
8.456e-11
1.52463e-07
1.62349e-10
1.52466e-07
2.33196e-10
1.5247e-07
2.97487e-10
1.52474e-07
3.55602e-10
1.5248e-07
4.07915e-10
1.52486e-07
4.54783e-10
1.52492e-07
4.96551e-10
1.52499e-07
5.33549e-10
1.52507e-07
5.66094e-10
1.52515e-07
5.9449e-10
1.52524e-07
6.19027e-10
1.52533e-07
6.39982e-10
1.52542e-07
6.5762e-10
1.52552e-07
6.72191e-10
1.52562e-07
6.83936e-10
1.52572e-07
6.93082e-10
1.52583e-07
6.99843e-10
1.52593e-07
7.04423e-10
1.52604e-07
7.07015e-10
1.52615e-07
7.07798e-10
1.52625e-07
7.06942e-10
1.52636e-07
7.04607e-10
1.52647e-07
7.0094e-10
6.96067e-10
1.56149e-07
8.35978e-11
1.56151e-07
1.60497e-10
1.56154e-07
2.30521e-10
1.56157e-07
2.94044e-10
1.56161e-07
3.51444e-10
1.56166e-07
4.03089e-10
1.56172e-07
4.49335e-10
1.56178e-07
4.90525e-10
1.56184e-07
5.26988e-10
1.56191e-07
5.59041e-10
1.56199e-07
5.86987e-10
1.56207e-07
6.11117e-10
1.56215e-07
6.31708e-10
1.56224e-07
6.49023e-10
1.56232e-07
6.63315e-10
1.56242e-07
6.74821e-10
1.56251e-07
6.83768e-10
1.5626e-07
6.9037e-10
1.5627e-07
6.94828e-10
1.5628e-07
6.97333e-10
1.56289e-07
6.98063e-10
1.56299e-07
6.97186e-10
1.56309e-07
6.94858e-10
1.56319e-07
6.91226e-10
6.86413e-10
1.59926e-07
8.27228e-11
1.59928e-07
1.58814e-10
1.5993e-07
2.2809e-10
1.59934e-07
2.9092e-10
1.59937e-07
3.47674e-10
1.59942e-07
3.98719e-10
1.59947e-07
4.44408e-10
1.59952e-07
4.85081e-10
1.59958e-07
5.21069e-10
1.59964e-07
5.52686e-10
1.59971e-07
5.80236e-10
1.59978e-07
6.04009e-10
1.59986e-07
6.24282e-10
1.59993e-07
6.41317e-10
1.60001e-07
6.55367e-10
1.60009e-07
6.66668e-10
1.60018e-07
6.75445e-10
1.60026e-07
6.81912e-10
1.60035e-07
6.86268e-10
1.60043e-07
6.88702e-10
1.60052e-07
6.89391e-10
1.60061e-07
6.885e-10
1.60069e-07
6.86184e-10
1.60078e-07
6.82587e-10
6.7783e-10
1.63795e-07
8.19477e-11
1.63796e-07
1.57324e-10
1.63798e-07
2.25939e-10
1.63801e-07
2.88156e-10
1.63804e-07
3.44343e-10
1.63808e-07
3.94861e-10
1.63813e-07
4.40062e-10
1.63817e-07
4.80286e-10
1.63823e-07
5.1586e-10
1.63828e-07
5.471e-10
1.63834e-07
5.74308e-10
1.6384e-07
5.97774e-10
1.63847e-07
6.17774e-10
1.63854e-07
6.34572e-10
1.63861e-07
6.48416e-10
1.63868e-07
6.59543e-10
1.63875e-07
6.68179e-10
1.63882e-07
6.74533e-10
1.6389e-07
6.78805e-10
1.63897e-07
6.81182e-10
1.63905e-07
6.81839e-10
1.63912e-07
6.8094e-10
1.6392e-07
6.78637e-10
1.63928e-07
6.75073e-10
6.70368e-10
1.67757e-07
8.1285e-11
1.67758e-07
1.5605e-10
1.6776e-07
2.24101e-10
1.67762e-07
2.85797e-10
1.67765e-07
3.41501e-10
1.67768e-07
3.91572e-10
1.67772e-07
4.3636e-10
1.67776e-07
4.76204e-10
1.67781e-07
5.1143e-10
1.67785e-07
5.42353e-10
1.6779e-07
5.69275e-10
1.67796e-07
5.92485e-10
1.67801e-07
6.12259e-10
1.67807e-07
6.28858e-10
1.67813e-07
6.42532e-10
1.67819e-07
6.53517e-10
1.67825e-07
6.62036e-10
1.67831e-07
6.68299e-10
1.67837e-07
6.72503e-10
1.67844e-07
6.74834e-10
1.6785e-07
6.75467e-10
1.67857e-07
6.74562e-10
1.67863e-07
6.72272e-10
1.67869e-07
6.68738e-10
6.64077e-10
1.71815e-07
8.07472e-11
1.71816e-07
1.55017e-10
1.71817e-07
2.22611e-10
1.71819e-07
2.83885e-10
1.71821e-07
3.39198e-10
1.71824e-07
3.88909e-10
1.71827e-07
4.33365e-10
1.7183e-07
4.72903e-10
1.71834e-07
5.0785e-10
1.71838e-07
5.3852e-10
1.71842e-07
5.65213e-10
1.71846e-07
5.88219e-10
1.7185e-07
6.07812e-10
1.71855e-07
6.24254e-10
1.7186e-07
6.37793e-10
1.71865e-07
6.48666e-10
1.7187e-07
6.57093e-10
1.71875e-07
6.63283e-10
1.7188e-07
6.67435e-10
1.71885e-07
6.69731e-10
1.7189e-07
6.70345e-10
1.71895e-07
6.69438e-10
1.719e-07
6.67159e-10
1.71905e-07
6.63649e-10
6.59025e-10
1.75971e-07
8.03468e-11
1.75971e-07
1.54248e-10
1.75972e-07
2.21503e-10
1.75974e-07
2.82463e-10
1.75976e-07
3.37487e-10
1.75978e-07
3.8693e-10
1.7598e-07
4.3114e-10
1.75982e-07
4.70452e-10
1.75985e-07
5.05192e-10
1.75988e-07
5.35674e-10
1.75991e-07
5.62198e-10
1.75994e-07
5.85053e-10
1.75997e-07
6.04513e-10
1.76001e-07
6.20839e-10
1.76004e-07
6.34279e-10
1.76008e-07
6.45068e-10
1.76011e-07
6.53427e-10
1.76015e-07
6.59565e-10
1.76019e-07
6.63677e-10
1.76023e-07
6.65947e-10
1.76026e-07
6.66547e-10
1.7603e-07
6.65636e-10
1.76034e-07
6.63366e-10
1.76038e-07
6.59872e-10
6.55274e-10
1.80227e-07
8.00967e-11
1.80227e-07
1.53769e-10
1.80228e-07
2.20812e-10
1.80229e-07
2.81576e-10
1.8023e-07
3.36419e-10
1.80231e-07
3.85695e-10
1.80233e-07
4.29751e-10
1.80234e-07
4.68922e-10
1.80236e-07
5.03532e-10
1.80238e-07
5.33897e-10
1.8024e-07
5.60315e-10
1.80242e-07
5.83075e-10
1.80244e-07
6.0245e-10
1.80246e-07
6.18703e-10
1.80248e-07
6.3208e-10
1.8025e-07
6.42816e-10
1.80253e-07
6.51131e-10
1.80255e-07
6.57234e-10
1.80257e-07
6.61321e-10
1.8026e-07
6.63573e-10
1.80262e-07
6.64163e-10
1.80264e-07
6.63249e-10
1.80267e-07
6.60982e-10
1.80269e-07
6.57499e-10
6.52915e-10
1.84586e-07
1.84587e-07
1.84587e-07
1.84587e-07
1.84588e-07
1.84588e-07
1.84589e-07
1.84589e-07
1.8459e-07
1.8459e-07
1.84591e-07
1.84592e-07
1.84593e-07
1.84593e-07
1.84594e-07
1.84595e-07
1.84596e-07
1.84597e-07
1.84598e-07
1.84599e-07
1.846e-07
1.84601e-07
1.84602e-07
1.84602e-07
)
;
boundaryField
{
top
{
type calculated;
value nonuniform List<scalar>
125
(
5.53613e-10
5.67046e-10
5.80507e-10
5.93988e-10
6.07486e-10
6.20989e-10
6.34488e-10
6.47976e-10
6.61444e-10
6.74882e-10
6.88283e-10
7.01637e-10
7.14935e-10
7.28169e-10
7.41329e-10
7.54406e-10
7.67392e-10
7.80277e-10
7.93052e-10
8.05709e-10
8.18238e-10
8.30632e-10
8.42881e-10
8.54978e-10
8.66914e-10
8.78682e-10
8.90273e-10
9.01681e-10
9.12899e-10
9.23919e-10
9.34735e-10
9.45341e-10
9.5573e-10
9.65898e-10
9.75839e-10
9.85549e-10
9.95022e-10
1.00425e-09
1.01324e-09
1.02198e-09
1.03047e-09
1.03871e-09
1.04669e-09
1.05442e-09
1.06188e-09
1.06908e-09
1.07603e-09
1.08271e-09
1.08913e-09
1.09529e-09
1.10119e-09
1.10683e-09
1.11221e-09
1.11734e-09
1.12221e-09
1.12682e-09
1.13119e-09
1.13531e-09
1.13919e-09
1.14283e-09
1.14624e-09
1.14941e-09
1.15235e-09
1.15508e-09
1.15758e-09
1.15988e-09
1.16197e-09
1.16387e-09
1.16557e-09
1.16709e-09
1.16843e-09
1.1696e-09
1.17061e-09
1.17147e-09
1.17219e-09
1.17277e-09
1.17324e-09
1.17359e-09
1.17384e-09
1.174e-09
1.17408e-09
1.1741e-09
1.17408e-09
1.17401e-09
1.17392e-09
1.17383e-09
1.17374e-09
1.17368e-09
1.17366e-09
1.1737e-09
1.17382e-09
1.17403e-09
1.17435e-09
1.17481e-09
1.17542e-09
1.1762e-09
1.17718e-09
1.17838e-09
1.17983e-09
1.18161e-09
8.00084e-11
1.536e-10
2.20567e-10
2.8126e-10
3.36036e-10
3.8525e-10
4.29247e-10
4.68363e-10
5.02923e-10
5.3324e-10
5.59615e-10
5.82335e-10
6.01674e-10
6.17894e-10
6.31243e-10
6.41953e-10
6.50247e-10
6.56331e-10
6.60402e-10
6.62642e-10
6.63222e-10
6.62302e-10
6.6003e-10
6.56545e-10
6.51962e-10
)
;
}
inlet
{
type calculated;
value nonuniform List<scalar>
70
(
-9.22932e-08
-9.45257e-08
-9.68122e-08
-9.91541e-08
-1.01553e-07
-1.04009e-07
-1.06525e-07
-1.09102e-07
-1.11741e-07
-1.14444e-07
-1.17212e-07
-1.20048e-07
-1.22951e-07
-1.25926e-07
-1.28972e-07
-1.32091e-07
-1.35287e-07
-1.38559e-07
-1.41911e-07
-1.45344e-07
-1.48859e-07
-1.5246e-07
-1.56148e-07
-1.59925e-07
-1.63794e-07
-1.67756e-07
-1.71814e-07
-1.7597e-07
-1.80227e-07
-1.84586e-07
-3.46221e-08
-3.52429e-08
-3.58749e-08
-3.65182e-08
-3.7173e-08
-3.78396e-08
-3.85182e-08
-3.92089e-08
-3.9912e-08
-4.06277e-08
-4.13562e-08
-4.20978e-08
-4.28527e-08
-4.36211e-08
-4.44033e-08
-4.51995e-08
-4.60101e-08
-4.68351e-08
-4.76749e-08
-4.85298e-08
-4.94001e-08
-5.02859e-08
-5.11876e-08
-5.21055e-08
-5.30399e-08
-5.3991e-08
-5.49591e-08
-5.59447e-08
-5.69479e-08
-5.7969e-08
-5.90085e-08
-6.00667e-08
-6.11438e-08
-6.22402e-08
-6.33563e-08
-6.44924e-08
-6.56489e-08
-6.68261e-08
-6.80244e-08
-6.92442e-08
)
;
}
outlet
{
type calculated;
value nonuniform List<scalar>
70
(
9.358e-08
9.58093e-08
9.80906e-08
1.00425e-07
1.02814e-07
1.05258e-07
1.0776e-07
1.10321e-07
1.12941e-07
1.15623e-07
1.18368e-07
1.21177e-07
1.24052e-07
1.26995e-07
1.30008e-07
1.33091e-07
1.36246e-07
1.39476e-07
1.42782e-07
1.46166e-07
1.49629e-07
1.53173e-07
1.56801e-07
1.60514e-07
1.64314e-07
1.68203e-07
1.72183e-07
1.76255e-07
1.80424e-07
1.84706e-07
2.15688e-09
6.70968e-09
1.14282e-08
1.617e-08
2.07899e-08
2.51443e-08
2.91059e-08
3.25838e-08
3.55378e-08
3.79801e-08
3.99659e-08
4.15764e-08
4.29014e-08
4.40254e-08
4.50194e-08
4.5937e-08
4.68156e-08
4.76793e-08
4.85424e-08
4.9413e-08
5.02953e-08
5.11914e-08
5.21025e-08
5.30291e-08
5.39716e-08
5.49305e-08
5.5906e-08
5.68984e-08
5.79079e-08
5.89349e-08
5.99796e-08
6.10424e-08
6.21236e-08
6.32234e-08
6.43423e-08
6.54804e-08
6.66382e-08
6.7816e-08
6.90141e-08
7.02326e-08
)
;
}
plate
{
type calculated;
value uniform 0;
}
symmBound
{
type calculated;
value nonuniform List<scalar>
25
(
-2.52188e-12
-6.43162e-12
-1.13048e-11
-1.70167e-11
-2.34945e-11
-3.06978e-11
-3.86132e-11
-4.72521e-11
-5.66507e-11
-6.68716e-11
-7.80077e-11
-9.01897e-11
-1.03597e-10
-1.18474e-10
-1.35159e-10
-1.54124e-10
-1.7605e-10
-2.01952e-10
-2.33424e-10
-2.73136e-10
-3.26003e-10
-4.02346e-10
-5.28604e-10
-7.98737e-10
-1.57425e-09
)
;
}
frontAndBack
{
type empty;
value nonuniform 0();
}
}
// ************************************************************************* //
| |
bbb36ec275983cc3900e5c54be7bb2e353b9fe91 | 21cbd934d935bd17de198826927a9052f2142ab4 | /session4/C12.cpp | 36a56a057b16b5a1ff76916ac664139e9eb46084 | [] | no_license | rock3rdiaz/course_cpp_training | b80d67d3d830b57f8f960df238689e41bbef0c1b | dedf6e09850c6812cd9e21c3c336579d704b0a3a | refs/heads/master | 2020-03-30T00:02:49.382775 | 2018-10-25T23:42:14 | 2018-10-25T23:42:14 | 150,502,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | C12.cpp | // sesion 4, class 12. Basic vector.
#include <iostream>
#include <vector>
using namespace std;
int main() {
vector<string> strings;
strings.push_back("one");
strings.push_back("two");
strings.push_back("three");
for(int i = 0; i < strings.size(); i++) {
cout << "with index: " << strings[i] << endl;
}
for(vector<string>::iterator it = strings.begin(); it != strings.end(); it++) {
cout << "with iterator: " << *it << endl;
}
return 0;
}
|
08bd214af7a222d61abe38c2ce10cdab509f9466 | 269e13a077d3ef90d4c352249fb6e32d2360a4ec | /leetcode/trie/211-Design-Add-and-Search-Words-Data-Structure.cpp | 5d255aa35004804d81a78182f939356fb4f3163d | [] | no_license | luckyzahuo/Snorlax | d3df462ee484ecd338cde05869006f907e684153 | 51cf7e313fddee6fd00c2a276b43c48013375618 | refs/heads/master | 2023-08-21T11:02:01.975516 | 2021-10-10T08:50:40 | 2021-10-10T08:50:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,397 | cpp | 211-Design-Add-and-Search-Words-Data-Structure.cpp | #include <string>
#include <unordered_map>
using namespace std;
class WordDictionary {
private:
class TreeNode {
public:
bool isWord;
unordered_map<char, TreeNode *> next;
TreeNode() {
isWord = false;
}
};
TreeNode *root;
public:
/** Initialize your data structure here. */
WordDictionary() {
root = new TreeNode();
}
void addWord(string word) {
TreeNode *current = root;
for (int i = 0; i < word.size(); i++) {
if (current->next.count(word[i]) == 0)
current->next.insert({word[i], new TreeNode()});
current = current->next[word[i]];
}
current->isWord = true;
}
bool search(string word) {
return dfs(word, root, 0);
}
bool dfs(string &word, TreeNode *node, int index) {
if (index == word.size())
return node->isWord;
if (word[index] != '.') {
if (node->next.count(word[index]) == 0)
return false;
return dfs(word, node->next[word[index]], index + 1);
} else {
// 多叉树的遍历
for (auto &item: node->next) {
if (dfs(word, node->next[item.first], index + 1))
return true;
}
}
return false;
}
};
|
70a7f7aa8ebc49d3e3f020bdc540b987732a80b7 | 5a58e370a85095717320383ba3dd66beb3efad47 | /src/models/lbann_model.cpp | 25ed32ba1ff69ea74b8af378c4740e65fc333be5 | [
"Apache-2.0"
] | permissive | rylberg/lbann | c3a5d7e57822c1622296305d34fb0a11deac68c3 | f5878cfa0bf3a32fdcf9a66083ed88f16fb5876e | refs/heads/master | 2020-03-14T17:59:34.197837 | 2017-06-20T23:02:50 | 2017-06-20T23:05:27 | 131,732,662 | 0 | 0 | null | 2018-05-01T15:56:21 | 2018-05-01T15:56:21 | null | UTF-8 | C++ | false | false | 15,443 | cpp | lbann_model.cpp | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@llnl.gov>
//
// LLNL-CODE-697807.
// All rights reserved.
//
// This file is part of LBANN: Livermore Big Artificial Neural Network
// Toolkit. For details, see http://software.llnl.gov/LBANN or
// https://github.com/LLNL/LBANN.
//
// Licensed under the Apache License, Version 2.0 (the "Licensee"); you
// may not use this file except in compliance with the License. You may
// obtain a copy of the License at:
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
// implied. See the License for the specific language governing
// permissions and limitations under the license.
//
// lbann_model .hpp .cpp - Abstract class for neural network models
////////////////////////////////////////////////////////////////////////////////
#include "lbann/models/lbann_model.hpp"
#include "lbann/callbacks/lbann_callback.hpp"
#include "lbann/io/lbann_persist.hpp"
#include <string>
#include <unistd.h>
#include "mpi.h"
using namespace std;
using namespace El;
lbann::model::model(lbann_comm *comm, objective_functions::objective_fn *obj_fn,
optimizer_factory *optimizer_fac) :
m_obj_fn(obj_fn),
m_execution_mode(execution_mode::invalid),
m_terminate_training(false),
m_current_epoch(0), m_current_step(0),
m_current_validation_step(0), m_current_testing_step(0),
m_current_mini_batch_size(0),m_current_phase(0),
m_comm(comm),
m_checkpoint_dir(""), m_checkpoint_epochs(0), m_checkpoint_steps(0),
m_checkpoint_secs(0.0), m_checkpoint_last(MPI_Wtime()),
m_optimizer_fac(optimizer_fac) {
/* store our global rank and size since we refer to this a lot */
int rank, ranks;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
MPI_Comm_size(MPI_COMM_WORLD, &ranks);
m_rank = rank;
m_ranks = ranks;
}
void lbann::model::add_callback(lbann::lbann_callback *cb) {
m_callbacks.push_back(cb);
}
void lbann::model::setup_callbacks() {
for (auto&& cb : m_callbacks) {
cb->setup(this);
}
}
void lbann::model::add_metric(lbann::metrics::metric *m) {
m_metrics.push_back(m);
}
void lbann::model::do_train_begin_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_train_begin(this);
}
}
void lbann::model::do_train_end_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_train_end(this);
}
}
void lbann::model::do_phase_end_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_phase_end(this);
}
}
void lbann::model::do_epoch_begin_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_epoch_begin(this);
}
}
void lbann::model::do_epoch_end_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_epoch_end(this);
}
}
void lbann::model::do_batch_begin_cbs() {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_batch_begin(this);
}
}
}
void lbann::model::do_batch_end_cbs() {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_batch_end(this);
}
}
}
void lbann::model::do_test_begin_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_test_begin(this);
}
}
void lbann::model::do_test_end_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_test_end(this);
}
}
void lbann::model::do_validation_begin_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_validation_begin(this);
}
}
void lbann::model::do_validation_end_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_validation_end(this);
}
}
void lbann::model::do_model_forward_prop_begin_cbs() {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_forward_prop_begin(this);
}
}
}
void lbann::model::do_layer_forward_prop_begin_cbs(Layer *l) {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_forward_prop_begin(this, l);
}
}
}
void lbann::model::do_model_forward_prop_end_cbs() {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_forward_prop_end(this);
}
}
}
void lbann::model::do_layer_forward_prop_end_cbs(Layer *l) {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_forward_prop_end(this, l);
}
}
}
void lbann::model::do_model_backward_prop_begin_cbs() {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_backward_prop_begin(this);
}
}
}
void lbann::model::do_layer_backward_prop_begin_cbs(Layer *l) {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_backward_prop_begin(this, l);
}
}
}
void lbann::model::do_model_backward_prop_end_cbs() {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_backward_prop_end(this);
}
}
}
void lbann::model::do_layer_backward_prop_end_cbs(Layer *l) {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_backward_prop_end(this, l);
}
}
}
////////////////////////////////////////////////////////////////////////////////
// Evaluation callbacks
////////////////////////////////////////////////////////////////////////////////
void lbann::model::do_batch_evaluate_begin_cbs() {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_batch_evaluate_begin(this);
}
}
}
void lbann::model::do_batch_evaluate_end_cbs() {
for (auto&& cb : m_callbacks) {
if (get_cur_step() % cb->m_batch_interval == 0) {
cb->on_batch_evaluate_end(this);
}
}
}
void lbann::model::do_model_evaluate_forward_prop_begin_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_evaluate_forward_prop_begin(this);
}
}
void lbann::model::do_layer_evaluate_forward_prop_begin_cbs(Layer *l) {
for (auto&& cb : m_callbacks) {
cb->on_evaluate_forward_prop_begin(this, l);
}
}
void lbann::model::do_model_evaluate_forward_prop_end_cbs() {
for (auto&& cb : m_callbacks) {
cb->on_evaluate_forward_prop_end(this);
}
}
void lbann::model::do_layer_evaluate_forward_prop_end_cbs(Layer *l) {
for (auto&& cb : m_callbacks) {
cb->on_evaluate_forward_prop_end(this, l);
}
}
/** \brief Returns true if a checkpoint should be taken, false otherwise */
bool lbann::model::need_checkpoint() {
/* TODO: since we're using clocks, this requires a bcast for each call,
* we could use number of samples processed to make a local decision */
// if none of our checkpoint conditions are set, assume we're not checkpointing
if (m_checkpoint_epochs == 0 &&
m_checkpoint_steps == 0 &&
m_checkpoint_secs == 0.0) {
return false;
}
// assume that we won't checkpoint
int flag = 0;
// if at start of epoch and evenly divide
if (flag == 0 && m_checkpoint_epochs > 0) {
if (at_epoch_start()) {
flag = (int) (m_current_epoch % m_checkpoint_epochs == 0);
}
}
// if our current step is evenly divisable by checkpoint steps,
// take a checkpoint
if (flag == 0 && m_checkpoint_steps > 0) {
flag = (int) (m_current_step % m_checkpoint_steps == 0);
}
// check the clock if time-based checkpoint is enabled
if (flag == 0 && m_checkpoint_secs != 0.0) {
// have rank 0 determine whether we should checkpoint
// to avoid issues with clock skew, we rely on rank 0 to make decision
if (m_rank == 0) {
// get the current time
double current = MPI_Wtime();
// compute time next checkpoint is due
double next = m_checkpoint_last + m_checkpoint_secs;
// determine whether it's time for a checkpoint
flag = (current >= next);
}
// get flag from rank 0
MPI_Bcast(&flag, 1, MPI_INT, 0, MPI_COMM_WORLD);
}
return (bool)flag;
}
/** \brief Writes a "latest" file which records epoch number and sample offset for the most recent checkpoint */
static bool write_latest(const char *dir, const char *name, int epoch, int train) {
// define filename
char filename[1024];
sprintf(filename, "%s/%s", dir, name);
// open the file for writing
int fd = lbann::openwrite(filename);
if (fd != -1) {
lbann::write_uint32(fd, "epoch", (uint32_t)epoch);
lbann::write_uint32(fd, "train", (uint32_t)train);
// close our file
lbann::closewrite(fd, filename);
}
return true;
}
/** \brief Reads the "latest" file and returns the epoch number and sample offset for most recent checkpoint */
static bool read_latest(const char *dir, const char *name, int *epochLast, int *trainLast) {
// assume we don't have a file, we'll return -1 in that case
*epochLast = -1;
*trainLast = -1;
// define filename
char filename[1024];
sprintf(filename, "%s/%s", dir, name);
// open the file for reading
int fd = lbann::openread(filename);
if (fd != -1) {
// read epoch from file
uint32_t epoch;
lbann::read_uint32(fd, "epoch", &epoch);
*epochLast = (int) epoch;
// read epoch from file
uint32_t train;
lbann::read_uint32(fd, "train", &train);
*trainLast = train;
// close our file
lbann::closeread(fd, filename);
}
return true;
}
struct lbann_checkpoint {
int64_t epoch; // current epoch number
int64_t step; // current offset into list of training example indices array
float learning_rate; // current learning rate
};
//bool lbann::model::checkpointShared(TrainingParams& trainParams)
bool lbann::model::checkpointShared() {
// if the checkpoint directory is not defined, bail
if (m_checkpoint_dir.length() == 0) {
return false;
}
// time how long this takes
Timer timer;
// get checkpoint directory
const char *dir = m_checkpoint_dir.c_str();
// read current epoch and step counters from model
int64_t epoch = m_current_epoch;
int64_t step = m_current_step;
// let user know we're saving a checkpoint
MPI_Barrier(MPI_COMM_WORLD);
if (m_rank == 0) {
timer.Start();
printf("Checkpoint: epoch %ld step %ld ...\n", epoch, step);
fflush(stdout);
}
// create top level directory
//const char* dir = trainParams.ParameterDir.c_str();
lbann::makedir(dir);
// create subdirectory for this epoch
char epochdir[1024];
snprintf(epochdir, sizeof(epochdir), "%s/shared.epoch.%ld.step.%ld", dir, epoch, step);
// start our checkpoint
lbann::persist p;
p.open_checkpoint(epochdir);
// call virtual function to checkpoint model state
this->save_to_checkpoint_shared(p);
// close our checkpoint
p.close_checkpoint();
uint64_t bytes_count = p.get_bytes();
// write epoch number to current file, we do this at the end so as to only update
// this file when we know we have a new valid checkpoint
if (m_rank == 0) {
write_latest(dir, "shared.last", epoch, step);
}
// stop timer and report cost
MPI_Barrier(MPI_COMM_WORLD);
if (m_rank == 0) {
double secs = timer.Stop();
double bw = 0.0;
if (secs > 0.0) {
bw = ((double) bytes_count) / (secs * 1024.0 * 1024.0);
}
printf("Checkpoint complete: Epoch=%ld Step=%ld (%f secs, %llu bytes, %f MB/sec)\n",
epoch, step, secs, (unsigned long long) bytes_count, bw
);
fflush(stdout);
}
// saved a checkpoint, update our last checkpoint time
m_checkpoint_last = MPI_Wtime();
return true;
}
bool lbann::model::restartShared() {
// if the checkpoint directory is not defined, bail
if (m_checkpoint_dir.length() == 0) {
return false;
}
// get top level directory
const char *dir = m_checkpoint_dir.c_str();
// read epoch number from current file
int epoch, step;
if (m_rank == 0) {
read_latest(dir, "shared.last", &epoch, &step);
}
MPI_Bcast(&epoch, 1, MPI_INT, 0, MPI_COMM_WORLD);
MPI_Bcast(&step, 1, MPI_INT, 0, MPI_COMM_WORLD);
// if we couldn't find the latest epoch, just return
if (epoch < 0) {
return false;
}
// time how long this takes
Timer timer;
// let user know we're restarting from a checkpoint
MPI_Barrier(MPI_COMM_WORLD);
if (m_rank == 0) {
timer.Start();
printf("Restart: epoch %d ...\n", epoch);
fflush(stdout);
}
// get subdirectory for this epoch
char epochdir[1024];
sprintf(epochdir, "%s/shared.epoch.%d.step.%d", dir, epoch, step);
// open our checkpoint
lbann::persist p;
p.open_restart(epochdir);
// call virtual function to restore model from checkpoint
this->load_from_checkpoint_shared(p);
// close our checkpoint
p.close_restart();
uint64_t bytes_count = p.get_bytes();
// let user know we've completed reading our restart
MPI_Barrier(MPI_COMM_WORLD);
if (m_rank == 0) {
double secs = timer.Stop();
double bw = 0.0;
if (secs > 0.0) {
bw = ((double) bytes_count) / (secs * 1024.0 * 1024.0);
}
printf("Restart complete: Epoch=%d Step=%d (%f secs, %llu bytes, %f MB/sec)\n",
epoch, step, secs, (unsigned long long) bytes_count, bw
);
fflush(stdout);
}
return true;
}
/* struct used to serialize mode fields in file and MPI transfer */
struct lbann_model_header {
uint32_t execution_mode;
uint32_t terminate_training;
uint64_t current_epoch;
uint64_t current_step;
uint32_t current_phase;
};
bool lbann::model::save_to_checkpoint_shared(lbann::persist& p) {
// write out fields we need to save for model
if (p.get_rank() == 0) {
p.write_uint32(persist_type::train, "execution_mode", (uint32_t) m_execution_mode);
p.write_uint32(persist_type::train, "terminate_training", (uint32_t) m_terminate_training);
p.write_uint64(persist_type::train, "current_epoch", (uint64_t) m_current_epoch);
p.write_uint64(persist_type::train, "current_step", (uint64_t) m_current_step);
p.write_uint32(persist_type::train, "current_phase", (uint32_t) m_current_phase);
}
return true;
}
bool lbann::model::load_from_checkpoint_shared(lbann::persist& p) {
// have rank 0 read the file
// read state from file
struct lbann_model_header header;
if (p.get_rank() == 0) {
p.read_uint32(persist_type::train, "execution_mode", &header.execution_mode);
p.read_uint32(persist_type::train, "terminate_training", &header.terminate_training);
p.read_uint64(persist_type::train, "current_epoch", &header.current_epoch);
p.read_uint64(persist_type::train, "current_step", &header.current_step);
p.read_uint32(persist_type::train, "current_phase", &header.current_phase);
}
// TODO: this assumes homogeneous processors
// broadcast state from rank 0
MPI_Bcast(&header, sizeof(header), MPI_BYTE, 0, MPI_COMM_WORLD);
// set our member params from values read from disk
m_execution_mode = (execution_mode) header.execution_mode;
m_terminate_training = (bool) header.terminate_training;
m_current_epoch = (int64_t) header.current_epoch;
m_current_step = (int64_t) header.current_step;
m_current_phase = header.current_phase;
return true;
}
|
e8551fdd0b5a2722997aaa23a4d4d39c08495842 | ce99b399bead6c9a285f07d386d04a4a1c5f6bb7 | /Cookbook/Chapter03/Chapter03/SceneEditor/SceneEditor/SceneEditorView.cpp | 34cd561f55c4e1e88d8432d9bc5e9cdca3b2f565 | [] | no_license | codediy/OgreDemo | 13e97c984499330bbd733f5c7c64212324e428b4 | 6fb0ad2edde881feda040f5eb8bdf134f6ca9495 | refs/heads/master | 2020-12-05T21:44:51.348401 | 2020-01-07T06:13:00 | 2020-01-07T06:13:00 | 232,255,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,020 | cpp | SceneEditorView.cpp |
// SceneEditorView.cpp : implementation of the CSceneEditorView class
//
#include "stdafx.h"
// SHARED_HANDLERS can be defined in an ATL project implementing preview, thumbnail
// and search filter handlers and allows sharing of document code with that project.
#ifndef SHARED_HANDLERS
#include "SceneEditor.h"
#endif
#include "SceneEditorDoc.h"
#include "SceneEditorView.h"
#include "ChildSceneNodeDlg.h"
#include "EntityCreatorDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CSceneEditorView
IMPLEMENT_DYNCREATE(CSceneEditorView, CView)
BEGIN_MESSAGE_MAP(CSceneEditorView, CView)
ON_WM_PAINT()
ON_COMMAND(ID_EDITSCENE_SCENEMANAGER, &CSceneEditorView::OnEditSceneManager)
ON_COMMAND(ID_EDITSCENE_ADDSCENENODE, &CSceneEditorView::OnEditsceneAddscenenode)
ON_COMMAND(ID_EDITSCENE_ADDCAMERA, &CSceneEditorView::OnEditsceneAddcamera)
ON_COMMAND(ID_EDITSCENE_ADDLIGHT, &CSceneEditorView::OnEditsceneAddlight)
ON_COMMAND(ID_EDITSCENE_ADDPARTICLESYSTEM, &CSceneEditorView::OnEditsceneAddparticlesystem)
ON_COMMAND(ID_EDITSCENE_ADDENTITY, &CSceneEditorView::OnEditsceneAddentity)
ON_COMMAND(ID_EDITSCENE_DESTROY, &CSceneEditorView::OnEditsceneDestroy)
ON_COMMAND(ID_EDITSCENE_DESTROYENTITIES, &CSceneEditorView::OnEditsceneDestroyentities)
END_MESSAGE_MAP()
// CSceneEditorView construction/destruction
CSceneEditorView::CSceneEditorView()
{
m_Root = NULL;
m_SceneManager = NULL;
m_SceneManagerDlg = NULL;
}
CSceneEditorView::~CSceneEditorView()
{
}
BOOL CSceneEditorView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return CView::PreCreateWindow(cs);
}
// CSceneEditorView drawing
void CSceneEditorView::OnDraw(CDC* /*pDC*/)
{
CSceneEditorDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
if (!pDoc)
return;
// TODO: add draw code for native data here
}
// CSceneEditorView diagnostics
#ifdef _DEBUG
void CSceneEditorView::AssertValid() const
{
CView::AssertValid();
}
void CSceneEditorView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CSceneEditorDoc* CSceneEditorView::GetDocument() const // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CSceneEditorDoc)));
return (CSceneEditorDoc*)m_pDocument;
}
#endif //_DEBUG
// CSceneEditorView message handlers
void CSceneEditorView::OnPaint()
{
CPaintDC dc(this); // device context for painting
CSceneEditorDoc *Document = GetDocument();
CEngine *Engine = ((CSceneEditorApp*)AfxGetApp())->m_Engine;
if (Engine == NULL)
return;
m_Root = Engine->GetRoot();
if (m_First && m_Root != NULL)
{
m_First = false;
EngineSetup();
}
if (m_Root != NULL)
{
m_Root->renderOneFrame();
}
}
void CSceneEditorView::EngineSetup(void)
{
Ogre::Root *Root = ((CSceneEditorApp*)AfxGetApp())->m_Engine->GetRoot();
m_SceneManager = Root->createSceneManager(Ogre::ST_GENERIC, "SceneEditor");
//
// Create a render window
// This window should be the current ChildView window using the externalWindowHandle
// value pair option.
//
Ogre::NameValuePairList parms;
parms["externalWindowHandle"] = Ogre::StringConverter::toString((long)m_hWnd);
parms["vsync"] = "true";
CRect rect;
GetClientRect(&rect);
Ogre::RenderTarget *RenderWindow = Root->getRenderTarget("SceneEditor");
if (RenderWindow == NULL)
{
try
{
m_RenderWindow = Root->createRenderWindow("SceneEditor", rect.Width(), rect.Height(), false, &parms);
}
catch(...)
{
MessageBox("Cannot initialize\nCheck that graphic-card driver is up-to-date", "Initialize Render System", MB_OK | MB_ICONSTOP);
exit(EXIT_SUCCESS);
}
}
// Load resources
Ogre::ResourceGroupManager::getSingleton().initialiseAllResourceGroups();
// Create the camera
m_Camera = m_SceneManager->createCamera("Camera");
m_Camera->setNearClipDistance(0.5);
m_Camera->setFarClipDistance(5000);
m_Camera->setCastShadows(false);
m_Camera->setUseRenderingDistance(true);
m_Camera->setPosition(Ogre::Vector3(200.0, 50.0, 100.0));
Ogre::SceneNode *CameraNode = NULL;
CameraNode = m_SceneManager->getRootSceneNode()->createChildSceneNode("CameraNode");
Ogre::Viewport* Viewport = NULL;
if (0 == m_RenderWindow->getNumViewports())
{
Viewport = m_RenderWindow->addViewport(m_Camera);
Viewport->setBackgroundColour(Ogre::ColourValue(0.0f, 0.0f, 0.0f));
}
// Alter the camera aspect ratio to match the viewport
m_Camera->setAspectRatio(Ogre::Real(rect.Width()) / Ogre::Real(rect.Height()));
/*
Ogre::Entity *RobotEntity = SceneManager->createEntity("Robot", "robot.mesh");
Ogre::SceneNode *RobotNode = SceneManager->getRootSceneNode()->createChildSceneNode();
RobotNode->attachObject(RobotEntity);
Ogre::AxisAlignedBox Box = RobotEntity->getBoundingBox();
Ogre::Vector3 Center = Box.getCenter();
m_Camera->lookAt(Center);
*/
}
void CSceneEditorView::OnEditSceneManager()
{
if (this->m_SceneManagerDlg == NULL)
{
m_SceneManagerDlg = new CSceneManagerDlg();
m_SceneManagerDlg->Create(IDD_SCENE_MANAGER);
}
m_SceneManagerDlg->ShowWindow(SW_SHOW);
}
void CSceneEditorView::OnEditsceneAddscenenode()
{
CChildSceneNodeDlg ChildSceneNodeDlg;
if (IDOK == ChildSceneNodeDlg.DoModal())
{
HTREEITEM Selected = m_SceneManagerDlg->m_SceneTree.GetSelectedItem();
m_SceneManagerDlg->m_SceneTree.InsertItem(ChildSceneNodeDlg.m_NodeName, Selected);
m_SceneManagerDlg->m_SceneTree.Expand(Selected, TVE_EXPAND);
m_SceneManager->getRootSceneNode()->createChildSceneNode(Ogre::String(ChildSceneNodeDlg.m_NodeName));
if (m_Root != NULL)
{
m_Root->renderOneFrame();
}
}
}
void CSceneEditorView::OnEditsceneAddcamera()
{
// TODO: Add your command handler code here
}
void CSceneEditorView::OnEditsceneAddlight()
{
// TODO: Add your command handler code here
}
void CSceneEditorView::OnEditsceneAddparticlesystem()
{
// TODO: Add your command handler code here
}
void CSceneEditorView::OnEditsceneAddentity()
{
CEntityCreatorDlg EntityCreatorDlg;
if (IDOK == EntityCreatorDlg.DoModal())
{
HTREEITEM Selected = m_SceneManagerDlg->m_SceneTree.GetSelectedItem();
m_SceneManagerDlg->m_SceneTree.InsertItem(EntityCreatorDlg.m_EntityName, Selected);
Ogre::String SceneNodeName = m_SceneManagerDlg->m_SceneTree.GetItemText(Selected);
Ogre::Entity *Entity = m_SceneManager->createEntity(Ogre::String(EntityCreatorDlg.m_EntityName), Ogre::String(EntityCreatorDlg.m_MeshName));
Ogre::SceneNode *SceneNode = m_SceneManager->getSceneNode(SceneNodeName);
SceneNode->attachObject(Entity);
Ogre::AxisAlignedBox Box = Entity->getBoundingBox();
Ogre::Vector3 Center = Box.getCenter();
m_Camera->lookAt(Center);
m_SceneManagerDlg->m_SceneTree.Expand(Selected, TVE_EXPAND);
if (m_Root != NULL)
{
m_Root->renderOneFrame();
}
}
}
void CSceneEditorView::OnEditsceneDestroy()
{
// TODO: Add your command handler code here
}
void CSceneEditorView::OnEditsceneDestroyentities()
{
// TODO: Add your command handler code here
}
|
3ce2067d1b9318673af6a50466a3ec34daaa82b7 | e29277d48aae1c4148d08bda129bf81af6f9f937 | /seqList/SeqList.cpp | a016c201ad6bd89d6acb9ecb40bbb33e161f51fd | [
"MulanPSL-2.0",
"LicenseRef-scancode-mulanpsl-2.0-en",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cyber-dash-edu/data-structure-cpp | 6c20ac6c227bee48998820845c36c8eb44206671 | 5e146f954158277b6b1b38f1d7b1b92ebd0d0a82 | refs/heads/master | 2023-03-10T18:55:18.880884 | 2021-02-21T14:46:24 | 2021-02-21T14:46:24 | 340,925,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,742 | cpp | SeqList.cpp | //
// Created by cyberdash@163.com(抖音: cyberdash_yuan) on 2020/7/14.
//
#include "SeqList.h"
using namespace std;
template<class T>
SeqList<T>::SeqList() {
data_array_ = NULL;
max_size_ = 0;
last_idx_ = -1;
}
template<class T>
SeqList<T>::SeqList(int size) {
if (size > 0) {
max_size_ = size;
last_idx_ = -1;
}
data_array_ = new T[max_size_];
if (data_array_ == NULL) {
cerr<<"new error"<<endl;
exit(1);
}
}
template<class T>
SeqList<T>::SeqList(SeqList<T>& seq_list) {
max_size_ = seq_list.Size();
last_idx_ = seq_list.Length() - 1;
T cur_value;
data_array_ = new T[max_size_];
if (data_array_ == NULL) {
cerr<<"存储分配错误!"<<endl;
exit(1);
}
for (int i = 1; i <= last_idx_ + 1; i++) {
seq_list.GetData(i, cur_value);
data_array_[i - 1] = cur_value;
}
}
template<class T>
int SeqList<T>::Resize(int new_size) {
if (new_size <= 0) {
cerr<<"无效的数组大小"<<endl;
return -1;
}
if (new_size == max_size_) {
cout<<"重分配数组长度与原数组长度相同"<<endl;
return 0;
}
T* new_array = new T[max_size_];
if (new_array == NULL) {
cerr<<"存储分配错误"<<endl;
return -2;
}
T* src_ptr = data_array_;
T* dest_ptr = new_array;
for (int i = 0; i <= last_idx_; i++) {
*(dest_ptr + i) = *(src_ptr + i);
}
delete [] data_array_;
data_array_ = new_array;
max_size_ = new_size;
return new_size;
}
template<class T>
int SeqList<T>::Search(T& data) const {
int pos = 0; // not array index
for (int i = 0; i <= last_idx_; i++) {
if (data_array_[i] == data) {
pos = i + 1;
break;
}
}
return pos;
}
template<class T>
int SeqList<T>::Locate(int pos) const {
if (pos >= 1 && pos <= last_idx_ + 1) {
return pos;
} else {
return 0;
}
};
template<class T>
bool SeqList<T>::GetData(int pos, T& data) const {
if (pos > 0 && pos <= last_idx_ + 1) {
data = data_array_[pos - 1];
return true;
} else {
return false;
}
}
template<class T>
bool SeqList<T>::SetData(int pos, T& data) const {
if (pos > 0 && pos <= last_idx_ + 1) {
data_array_[pos - 1] = data;
return true;
} else {
return false;
}
}
template<class T>
bool SeqList<T>::Insert(int pos, T& data) {
if (last_idx_ == max_size_ - 1) {
return false;
}
if (pos < 0 || pos > last_idx_ + 1) {
return false;
}
for (int i = last_idx_; i >= pos; i--) {
data_array_[i + 1] = data_array_[i];
}
data_array_[pos] = data;
last_idx_++;
return true;
}
template<class T>
bool SeqList<T>::Remove(int pos, T& remove_data) {
if (last_idx_ == -1) {
return false;
}
if (pos < 1 || pos > last_idx_ + 1) {
return false;
}
remove_data = data_array_[pos - 1];
for (int i = pos; i <= last_idx_; i++) {
data_array_[i - 1] = data_array_[i];
}
last_idx_--;
return true;
}
template<class T>
bool SeqList<T>::IsEmpty() {
if (last_idx_ == -1) {
return true;
} else {
return false;
}
}
template<class T>
bool SeqList<T>::IsFull() {
if (last_idx_ == max_size_ - 1) {
return true;
} else {
return false;
}
}
template<class T>
SeqList<T>& SeqList<T>::operator=(const SeqList<T> &L) {
int p_size = L.Size();
int p_length = L.Length();
int curData;
SeqList<T> new_seq_list(p_size);
for (int i = 0; i < p_length; i++) {
L.GetData(i, curData);
new_seq_list.SetData(i, curData);
}
return new_seq_list;
}
template<class T>
int SeqList<T>::Size() const {
return max_size_;
}
template<class T>
int SeqList<T>::Length() const {
return last_idx_ + 1;
}
template<class T>
void SeqList<T>::Output() {
cout<<"顺序表当前元素最后位置为:"<<last_idx_<<endl;
if (last_idx_ == -1) {
cout<<"顺序表为空表:"<<endl;
} else {
for (int i = 0; i <= last_idx_; i++) {
cout<<"#"<<i + 1<<":"<<data_array_[i]<<endl;
}
}
}
template<class T>
void SeqList<T>::CyberDashShow() {
cout<<endl
<<"*************************************** CyberDash ***************************************"<<endl<<endl
<<"抖音号\"CyberDash计算机考研\", id: cyberdash_yuan"<<endl<<endl
<<"CyberDash成员:"<<endl
<<"元哥(cyberdash@163.com), "<<"北京邮电大学(通信工程本科)/北京邮电大学(信息与通信系统研究生)"<<endl
<<"磊哥(alei_go@163.com), "<<"山东理工大学(数学本科)/北京邮电大学(计算机研究生)"<<endl<<endl
<<"数据结构开源代码(C++清华大学殷人昆)魔改升级版本: https://gitee.com/cyberdash/data-structure-cpp"<<endl
<<endl<<"*************************************** CyberDash ***************************************"<<endl<<endl;
}
|
ca9cf4a858596c48ed1a1e05f75a0b118162d676 | 6197740e6297da2f3d0c8ffd2a1d7ef5d8b3d2cb | /AlgorithmInC/Ch09/PQ_binomial.cpp | a80875aca72fc39f348d7bff14f9ec8e1ba381f1 | [] | no_license | ssh352/cppcode | 1159d4137b68ada253678718b3d416639d3849ba | 5b7c28963286295dfc9af087bed51ac35cd79ce6 | refs/heads/master | 2020-11-24T18:07:17.587795 | 2016-07-15T13:13:05 | 2016-07-15T13:13:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | PQ_binomial.cpp | #include <stdlib.h>
#include "PQ_link_heap.h"
#define maxBQsize 1000
PQlink pair(PQlink p, PQlink q)
{
PQlink t;
if (less(p->key, q->key))
{
p->r = q->l;
q->l = p;
return q;
}
else
{
q->r = p->l;
p->l = q;
return p;
}
}
#define test(C, B, A) 4*(C) + 2*(B) + 1*(A)
void BQjoin(PQlink* a, PQlink* b)
{
int i;
PQlink c = NULL;
for (i = 0; i < maxBQsize; i++)
switch (test(c != NULL, b[i] != NULL, a[i] != NULL))
{
case 2:
a[i] = b[i];
break;
case 3:
c = pair(a[i], b[i]);
a[i] = NULL;
break;
case 4:
a[i] = c;
c = NULL;
break;
case 5:
c = pair(c, a[i]);
a[i] = NULL;
break;
case 6:
case 7:
c = pair(c, b[i]);
break;
}
}
void PQjoin(PQ a, PQ b)
{
BQjoin(a->bq, b->bq);
}
PQlink PQinsert(PQ pq, Item v)
{
int i;
PQlink c, t = (PQlink)malloc(sizeof * t);
c = t;
c->l = NULL;
c->r = NULL;
c->key = v;
for (i = 0; i < maxBQsize; i++)
{
if (c == NULL) break;
if (pq->bq[i] == NULL)
{
pq->bq[i] = c;
break;
}
c = pair(c, pq->bq[i]);
pq->bq[i] = NULL;
}
return t;
}
Item PQdelmax(PQ pq)
{
int i, j, max;
PQlink x;
Item v;
PQlink temp[maxBQsize];
for (i = 0, max = -1; i < maxBQsize; i++)
if (pq->bq[i] != NULL)
if ((max == -1) || (pq->bq[i]->key > v))
{
max = i;
v = pq->bq[max]->key;
}
x = pq->bq[max]->l;
for (i = max; i < maxBQsize; i++) temp[i] = NULL;
for (i = max ; i > 0; i--)
{
temp[i - 1] = x;
x = x->r;
temp[i - 1]->r = NULL;
}
free(pq->bq[max]);
pq->bq[max] = NULL;
BQjoin(pq->bq, temp);
return v;
}
|
be5863b59d2824ea7283d8d145345916c4cfa381 | b22055bb75b593abaa69c8def3fb0aaaaab9532f | /Qt (C++)/LabOfWork/wmaskeditwindow.cpp | eda77d08c5b3067d828b2ff250fd38ae06439ad2 | [] | no_license | DanSoW/ProgramQt | fc211a540b59d541c0a32c731cf41e61b1b0e38d | e24b2da21519990aed196f3db9b5541683eec23d | refs/heads/main | 2023-03-04T10:57:19.709946 | 2021-02-11T05:05:04 | 2021-02-11T05:05:04 | 337,934,598 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 107 | cpp | wmaskeditwindow.cpp | #include "wmaskeditwindow.h"
WMaskEditWindow::WMaskEditWindow(QWidget *parent) : QMainWindow(parent)
{
}
|
cec20f75a07e17886367c053fbeb0366d6f5a367 | 0ee270bc168b7b32ea4260212c1ec6382e1c34fd | /evo/NK-const.h | d19f2c17de86e6f521c515dbdbeadb3e0f5175e8 | [
"DOC"
] | permissive | thomaslabar/Empirical | 2c4e7948fa1607d6387f5db1e2de06bda09dd476 | 25cfbe671dfdb464ee0593357ab2dee86d1b06dd | refs/heads/master | 2020-12-28T19:08:08.871036 | 2016-09-03T02:40:30 | 2016-09-03T02:40:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,338 | h | NK-const.h | // This file is part of Empirical, https://github.com/devosoft/Empirical
// Copyright (C) Michigan State University, 2016.
// Released under the MIT Software license; see doc/LICENSE
//
//
// This file provides code to build NK-based algorithms.
#ifndef EMP_EVO_NK_CONST_H
#define EMP_EVO_NK_CONST_H
#include <array>
#include "../tools/assert.h"
#include "../tools/BitSet.h"
#include "../tools/math.h"
#include "../tools/Random.h"
namespace emp {
namespace evo {
template <int N, int K>
class NKLandscapeConst {
private:
static constexpr int state_count = emp::IntPow(2,K+1);
static constexpr int total_count = N * state_count;
std::array< std::array<double, state_count>, N > landscape;
public:
NKLandscapeConst() = delete; // { ; }
NKLandscapeConst(emp::Random & random) {
for ( std::array<double, state_count> & ltable : landscape) {
for (double & pos : ltable) {
pos = random.GetDouble();
}
}
}
NKLandscapeConst(const NKLandscapeConst &) = delete;
~NKLandscapeConst() { ; }
NKLandscapeConst & operator=(const NKLandscapeConst &) = delete;
constexpr int GetN() const { return N; }
constexpr int GetK() const { return K; }
constexpr int GetStateCount() const { return state_count; }
constexpr int GetTotalCount() const { return total_count; }
double GetFitness(int n, uint32_t state) const {
emp_assert(state < state_count, state, state_count);
// std::cout << n << " : " << state << " : " << landscape[n][state] << std::endl;
return landscape[n][state];
}
double GetFitness( std::array<uint32_t, N> states ) const {
double total = landscape[0][states[0]];
for (int i = 1; i < N; i++) total += GetFitness(i,states[i]);
return total;
}
double GetFitness(const BitSet<N> & genome) const {
// Create a double-length genome to easily handle wrap-around.
BitSet<N*2> genome2( genome.template Export<N*2>() );
genome2 |= (genome2 << N);
double total = 0.0;
constexpr uint32_t mask = emp::MaskLow<uint32_t>(K+1);
for (int i = 0; i < N; i++) {
const uint32_t cur_val = (genome2 >> i).GetUInt(0) & mask;
const double cur_fit = GetFitness(i, cur_val);
total += cur_fit;
}
return total;
}
};
}
}
#endif
|
318379df24699373dac746a0883057d823882763 | 7fc9ca1aa8c9281160105c7f2b3a96007630add7 | /414a.cpp | 960089a6208cf0681f13a7b9d897155bbdef402a | [] | no_license | PatelManav/Codeforces_Backup | 9b2318d02c42d8402c9874ae0c570d4176348857 | 9671a37b9de20f0f9d9849cd74e00c18de780498 | refs/heads/master | 2023-01-04T03:18:14.823128 | 2020-10-27T12:07:22 | 2020-10-27T12:07:22 | 300,317,389 | 2 | 1 | null | 2020-10-27T12:07:23 | 2020-10-01T14:54:31 | C++ | UTF-8 | C++ | false | false | 1,135 | cpp | 414a.cpp | #include <bits/stdc++.h>
#include <stdlib.h>
#include <stdio.h>
#define f first
#define s second
#define inf 1e18
#define ll long long
#define mod 1000000007
#define pb emplace_back
#define vll vector<long long>
#define ull unsigned long long
#define all(a) a.begin(),a.end()
#define rall(a) a.rbegin(),a.rend()
#define sz(x) ((long long)(x).size())
#define mll map<long long, long long>
#define pll pair<long long, long long>
using namespace std;
ll n, k;
void input(){
cin >> n >> k;
}
void solve(){
ll m = n/2;
if(k < m or (n < 2 and k) or (!k and n > 2))cout << -1;
else{
ll t = 1;
k -= (m-1);
for(ll i = 0; i < m-1; i++){
while(t == k or t+1 == k or t == 2*k or t+1 == 2*k)t+=2;
cout << t << " " << t+1 << " ";
t+=2;
}
if(n == 1)cout << 1;
else{
cout << k << " " << 2*k << " ";
if(n%2) cout << 1e9;
}
}
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
cout.precision(20);
ll t;
t = 1;
//cin >> t;
while(t--){
input();
solve();
}
cout << endl;
return 0;
}
|
77bc078b27323d31e00f600656f694e419f03777 | bd3925f5c5327830c535d08a1d7bcd24a52850c6 | /morseMain.h | 3bacc2f2b5ba1e374ce7b5eb3788e6d21b3a7768 | [] | no_license | matwypych/Factory-C- | 28dcbe183f4cfedd9def0fa1510aecc4afe6d61a | 43022e9adb0fcc3acd0f5c3dc0bb06aa6dd29aa5 | refs/heads/master | 2022-10-04T10:21:48.593297 | 2020-06-09T11:30:29 | 2020-06-09T11:30:29 | 270,983,957 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,376 | h | morseMain.h | /*
Klasa "morseMain"
Opis:
Autor: Mateusz Wypych
Data utworzenia: 10.01.2020
Data poprawki/edycja: 16.11.2019 19.11.2019
*/
#ifndef morseMain_H
#define morseMain_H
#include <string>
#include <iostream>
#include <sstream>
#include <iomanip>
class morse
{
protected:
std::string mors; //kod morsa
std::string info; //informacje dla linii produkcyjnych
public:
morse(); //konstruktor bezparametrowy ustawia domyślnie wszystko składowe na 0
morse(const morse &m1); // konstruktor kopiujący
morse& operator = (const morse &m1); // operator przyrównania, w razie tworzenia obiektu na podstawie już istniejącego
virtual ~morse(); // destruktor, w programie nie było żadnej dynamicznej alokacji pamięci więc jest pusty
//setery
void setInfo(const std::string &str);
void setMorse(const std::string & str);
//getery
const std::string & getMors() const; // metoda pobierająca morsa
const std::string & getInfo() const; // metoda pobierająca informację
//const std::string& getTranslate(const std::string& (*translate)(char x));
//inne metody
std::string translate(char x); // Metoda "tłumacząca" podany znak na morsa
virtual void controler() = 0;
virtual void convert(const std::string &str) = 0;
virtual void convert(float f) = 0;
virtual void convert(int i) = 0;
};
#endif
|
cfd79ccca202717dc181819f4db7f2a48a979522 | bd729ef9fcd96ea62e82bb684c831d9917017d0e | /keche/trunk/comm_app/projects/netfile/asynfile.h | 4543552f61fc25b0b58d44d0a646c1fabad769ac | [] | no_license | shanghaif/workspace-kepler | 849c7de67b1f3ee5e7da55199c05c737f036780c | ac1644be26a21f11a3a4a00319c450eb590c1176 | refs/heads/master | 2023-03-22T03:38:55.103692 | 2018-03-24T02:39:41 | 2018-03-24T02:39:41 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,333 | h | asynfile.h | /*
* fileclient.h
*
* Created on: 2012-9-18
* Author: humingqing
*
* Memo: 文件读写客户端程序
*/
#ifndef __FILECLIENT_H_
#define __FILECLIENT_H_
#include <inetfile.h>
#include <NetHandle.h>
#include <protocol.h>
#include <interpacker.h>
class CWaitObjMgr ;
class CAsynFile : public CNetHandle, public INetFile
{
public:
CAsynFile() ;
~CAsynFile() ;
// 打开连接
int open( const char *ip, int port , const char *user, const char *pwd ) ;
// 写入文件数据
int write( const char *path , const char *data, int len ) ;
// 读取文件数据
int read( const char *path, DataBuffer &duf ) ;
// 关闭连接
void close( void ) ;
protected:
// 发送数据
bool mysend( void *data, int len ) ;
// 构建数据头部
void buildheader( DataBuffer &buf, unsigned int seq, unsigned short cmd, unsigned int len ) ;
// 处理数据到来事件
void on_data_arrived( socket_t *sock, const void* data, int len ) ;
// 断开连接
void on_dis_connection( socket_t *sock ) ;
// 新连接到来
void on_new_connection( socket_t *sock, const char* ip, int port){}
private:
// 连接的FD值
socket_t *_sock ;
// 数据包拆包对象
CBigSpliter _packspliter ;
// 是否连接成功
bool _connected ;
// 等待数据对象
CWaitObjMgr *_waitmgr ;
};
#endif /* FILECLIENT_H_ */
|
f874aca4683909711fb69dd6cfe89ee880e01aed | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2597_last_repos.cpp | 3a1c9c276d4118f52fb9687b29e90d1dd49dd3de | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | httpd_repos_function_2597_last_repos.cpp | h2_request *h2_request_clone(apr_pool_t *p, const h2_request *src)
{
h2_request *dst = apr_pmemdup(p, src, sizeof(*dst));
dst->method = apr_pstrdup(p, src->method);
dst->scheme = apr_pstrdup(p, src->scheme);
dst->authority = apr_pstrdup(p, src->authority);
dst->path = apr_pstrdup(p, src->path);
dst->headers = apr_table_clone(p, src->headers);
return dst;
} |
a13c4a22080771d506ded34cadefb8069cf183a2 | 1c4ef07a645751b829114be4ef031018fd7b798f | /Code/Engine/Graphics/Context.cpp | 2742c09a4b8308e4476a2af682a7c1c39d54ab8c | [] | no_license | chadha02/Cross-Platform-Asset-Pipeline | db1d295c848a7dad41b3c2efd5eb9c6e2d9de45e | adf4393a93e4fde0651ada144e61a77a281737b2 | refs/heads/master | 2021-01-23T02:18:58.144292 | 2017-03-23T18:34:50 | 2017-03-23T18:34:50 | 85,983,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | Context.cpp | #include "Context.h"
#if defined( EAE6320_PLATFORM_D3D )
ID3D11DeviceContext* eae6320::Graphics::s_direct3dImmediateContext = NULL;
ID3D11Device* eae6320::Graphics::s_direct3dDevice = NULL;
ID3D11SamplerState* eae6320::Graphics::s_samplerState = NULL;
#endif |
932a81c21ee9eb466241a375de1eb839a72c3962 | 1f8bbea9bbc4886981a05fc8f193410a9c33fe06 | /ClassCode/W01-HelloWorld/intWrap.cpp | e231542f27dc84556593a7ea63413ffc9d08a51a | [] | no_license | fuzzpault/UIndy-SCSI155-2016-I | fe4ba1691a5450e8207c48e8a3c1e25f9f8b282b | 46839576a04685274da5b16084f2e1d685246a55 | refs/heads/master | 2020-12-04T13:54:15.803945 | 2016-12-19T04:54:16 | 2016-12-19T04:54:16 | 66,765,567 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | cpp | intWrap.cpp | /* Name: Paul Talaga
Date: 9/1/16
Desc: What happends if you get too large?
*/
#include <iostream>
using namespace std;
int main(){
//unsigned a = 0; // Watch what happens around 4 billion
int a = 0; // Watch what happens around 2 billion
while(true){ // This will loop forever!
cout << a << endl;
a = a + 600000; // Arbitrary increment to reach the limits in a few seconds.
}
return 0;
}
|
4dbb43ff7dacc8e8bb8f03aa0e9ae692320c933e | 5dd36c9dc3e6169b7a22529a75f620e42da80ee1 | /00283. Move Zeroes.cpp | 41941d6bb4bb432cf0393d67c1608e0172ce2ca3 | [] | no_license | SanyaAttri/LeetCode | cdd6d3831f7a0f707285fd5bb9a5b11556efaa32 | d0cf03fcd6525ceeee231ba7efe40955eec4314d | refs/heads/master | 2022-12-24T20:58:20.040302 | 2020-10-10T11:12:27 | 2020-10-10T11:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 563 | cpp | 00283. Move Zeroes.cpp | /**
Status: Accepted
Runtime: 124 ms
Submitted: 1 year, 6 months ago
*/
class Solution {
public:
void moveZeroes(vector<int>& nums) {
int n = (int)nums.size();
int cnt = 0;
int idx = -1;
for(int i=0;i<n;i++){
if(nums[i] == 0){
idx = i;
for(int j=i+1;j<n-cnt;j++){
if(nums[j] != 0){
swap(nums[idx],nums[j]);
idx = j;
}
}
cnt++;
}
}
}
};
|
dbd70f738080d4bb521c0c6c43369bb0c56a2429 | 350db570521d3fc43f07df645addb9d6e648c17e | /0994_Rotting_Oranges/solution.cpp | a286ed48bbd1a6dfccdfa50ad6160cb68610273b | [] | no_license | benjaminhuanghuang/ben-leetcode | 2efcc9185459a1dd881c6e2ded96c42c5715560a | a2cd0dc5e098080df87c4fb57d16877d21ca47a3 | refs/heads/master | 2022-12-10T02:30:06.744566 | 2022-11-27T04:06:52 | 2022-11-27T04:06:52 | 236,252,145 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,392 | cpp | solution.cpp | /*
994. Rotting Oranges
Level: Medium
https://leetcode.com/problems/rotting-oranges
*/
#include <iostream>
#include <vector>
#include <string>
#include <stack>
#include <queue>
#include <unordered_map>
#include <unordered_set>
#include <numeric>
#include <algorithm>
#include "common/ListNode.h"
#include "common/TreeNode.h"
using namespace std;
/*
Solution: BFS
*/
class Solution
{
public:
int orangesRotting(vector<vector<int>> &grid)
{
const int m = grid.size();
const int n = grid[0].size();
queue<pair<int, int>> q;
int fresh = 0;
for (int i = 0; i < m; ++i)
for (int j = 0; j < n; ++j)
if (grid[i][j] == 1)
++fresh;
else if (grid[i][j] == 2)
q.emplace(j, i);
vector<int> dirs = {1, 0, -1, 0, 1};
int minutes = 0;
while (!q.empty() && fresh)
{
int size = q.size();
while (size--)
{
int x = q.front().first;
int y = q.front().second;
q.pop();
for (int i = 0; i < 4; ++i)
{
// process the fresh orange (1)
int dx = x + dirs[i];
int dy = y + dirs[i + 1];
if (dx < 0 || dx >= n || dy < 0 || dy >= m || grid[dy][dx] != 1)
continue;
--fresh;
grid[dy][dx] = 2;
q.emplace(dx, dy);
}
}
++minutes;
}
return fresh ? -1 : minutes;
}
}; |
f8ee0776599cfb8796a62f90642af5dceb8d592d | 1cedf5abe49887cf7a3b733231880413ec209252 | /TinyGame/Poker/FCSolver/FCPresets.cpp | ac2b1407884c9f8321b4bee0945ac22e649bfa66 | [] | no_license | uvbs/GameProject | 67d9f718458e0da636be4ad293c9e92a721a8921 | 0105e36971950916019a970df1b4955835e121ce | refs/heads/master | 2020-04-14T22:35:24.643887 | 2015-09-02T06:55:54 | 2015-09-02T06:55:54 | 42,047,051 | 1 | 0 | null | 2015-09-07T10:34:34 | 2015-09-07T10:34:33 | null | UTF-8 | C++ | false | false | 7,925 | cpp | FCPresets.cpp | ////////////////////////////////////////////////
///\file FCPresets.cpp
///\brief This file contains preset card game implementation
///\author Michael Mann
///\version 1.0
///\date August 2002
////////////////////////////////////////////////
#include <string.h>
#include <stdio.h>
#include "FCPresets.h"
const FCSPresetName FCSPresetNames[23] =
{
{
"bakers_dozen",
FCS_PRESET_BAKERS_DOZEN,
},
{
"bakers_game",
FCS_PRESET_BAKERS_GAME,
},
{
"beleaguered_castle",
FCS_PRESET_BELEAGUERED_CASTLE,
},
{
"citadel",
FCS_PRESET_BELEAGUERED_CASTLE,
},
{
"cruel",
FCS_PRESET_CRUEL,
},
{
"der_katzenschwanz",
FCS_PRESET_DER_KATZENSCHWANZ,
},
{
"der_katz",
FCS_PRESET_DER_KATZENSCHWANZ,
},
{
"die_schlange",
FCS_PRESET_DIE_SCHLANGE,
},
{
"eight_off",
FCS_PRESET_EIGHT_OFF,
},
{
"forecell",
FCS_PRESET_FORECELL,
},
{
"freecell",
FCS_PRESET_FREECELL,
},
{
"good_measure",
FCS_PRESET_GOOD_MEASURE,
},
{
"klondike",
FCS_PRESET_KLONDIKE,
},
{
"kings_only_bakers_game",
FCS_PRESET_KINGS_ONLY_BAKERS_GAME,
},
{
"ko_bakers_game",
FCS_PRESET_KINGS_ONLY_BAKERS_GAME,
},
{
"relaxed_freecell",
FCS_PRESET_RELAXED_FREECELL,
},
{
"relaxed_seahaven_towers",
FCS_PRESET_RELAXED_SEAHAVEN_TOWERS,
},
{
"relaxed_seahaven",
FCS_PRESET_RELAXED_SEAHAVEN_TOWERS,
},
{
"seahaven_towers",
FCS_PRESET_SEAHAVEN_TOWERS,
},
{
"seahaven",
FCS_PRESET_SEAHAVEN_TOWERS,
},
{
"simple_simon",
FCS_PRESET_SIMPLE_SIMON,
},
{
"streets_and_alleys",
FCS_PRESET_BELEAGUERED_CASTLE,
},
{
"yukon",
FCS_PRESET_YUKON,
},
};
///All the game presets and their information
static const FCSPreset FCSPresets[16] =
{
{
FCS_PRESET_BAKERS_DOZEN,
0,
13,
1,
FCS_SEQ_BUILT_BY_RANK,
0,
FCS_ES_FILLED_BY_NONE,
FCS_TALON_NONE,
"0123456789",
},
{
FCS_PRESET_BAKERS_GAME,
4,
8,
1,
FCS_SEQ_BUILT_BY_SUIT,
0,
FCS_ES_FILLED_BY_ANY_CARD,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_BELEAGUERED_CASTLE,
0,
8,
1,
FCS_SEQ_BUILT_BY_RANK,
0,
FCS_ES_FILLED_BY_ANY_CARD,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_CRUEL,
0,
12,
1,
FCS_SEQ_BUILT_BY_SUIT,
0,
FCS_ES_FILLED_BY_NONE,
FCS_TALON_NONE,
"0123456789",
},
{
FCS_PRESET_DER_KATZENSCHWANZ,
8,
9,
2,
FCS_SEQ_BUILT_BY_ALTERNATE_COLOR,
1,
FCS_ES_FILLED_BY_NONE,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_DIE_SCHLANGE,
8,
9,
2,
FCS_SEQ_BUILT_BY_ALTERNATE_COLOR,
0,
FCS_ES_FILLED_BY_NONE,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_EIGHT_OFF,
8,
8,
1,
FCS_SEQ_BUILT_BY_SUIT,
0,
FCS_ES_FILLED_BY_KINGS_ONLY,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_FORECELL,
4,
8,
1,
FCS_SEQ_BUILT_BY_ALTERNATE_COLOR,
0,
FCS_ES_FILLED_BY_KINGS_ONLY,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_FREECELL,
4,
8,
1,
FCS_SEQ_BUILT_BY_ALTERNATE_COLOR,
0,
FCS_ES_FILLED_BY_ANY_CARD,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_GOOD_MEASURE,
0,
10,
1,
FCS_SEQ_BUILT_BY_RANK,
0,
FCS_ES_FILLED_BY_NONE,
FCS_TALON_NONE,
"0123456789",
},
{
FCS_PRESET_KINGS_ONLY_BAKERS_GAME,
4,
8,
1,
FCS_SEQ_BUILT_BY_SUIT,
0,
FCS_ES_FILLED_BY_KINGS_ONLY,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_KLONDIKE,
0,
7,
1,
FCS_SEQ_BUILT_BY_ALTERNATE_COLOR,
1,
FCS_ES_FILLED_BY_KINGS_ONLY,
FCS_TALON_KLONDIKE,
"[0123456]",
},
{
FCS_PRESET_RELAXED_FREECELL,
4,
8,
1,
FCS_SEQ_BUILT_BY_ALTERNATE_COLOR,
1,
FCS_ES_FILLED_BY_ANY_CARD,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_RELAXED_SEAHAVEN_TOWERS,
4,
10,
1,
FCS_SEQ_BUILT_BY_SUIT,
1,
FCS_ES_FILLED_BY_KINGS_ONLY,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_SEAHAVEN_TOWERS,
4,
10,
1,
FCS_SEQ_BUILT_BY_SUIT,
0,
FCS_ES_FILLED_BY_KINGS_ONLY,
FCS_TALON_NONE,
"[01][23456789]",
},
{
FCS_PRESET_SIMPLE_SIMON,
0,
10,
1,
FCS_SEQ_BUILT_BY_SUIT,
0,
FCS_ES_FILLED_BY_ANY_CARD,
FCS_TALON_NONE,
"012345678",
}
};
FCSPresetID FCSPresetName::GetPresetID(const char* Name)
{
int NumberOfElements = sizeof(FCSPresetNames)/sizeof(FCSPresetName);
for(int a=0;a<NumberOfElements;a++)
if (!strcmp(Name, FCSPresetNames[a].m_Name))
return FCSPresetNames[a].m_PresetID;
return FCS_PRESET_NONE;
}
FCSPreset* FCSPreset::GetPresetInfo(const char* Name)
{
FCSPresetID PresetID = FCSPresetName::GetPresetID(Name);
if (PresetID >= 0)
{
FCSPreset* Preset = new FCSPreset();
Preset->ApplyPresetID(PresetID);
return Preset;
}
return NULL;
}
void FCSPreset::ApplyPresetID(FCSPresetID Id)
{
int NumberOfElements = sizeof(FCSPresets)/sizeof(FCSPreset);
for(int PresetIndex=0; PresetIndex < NumberOfElements ; PresetIndex++)
{
if (FCSPresets[PresetIndex].m_PresetID == Id)
{
m_NumberOfFreecells = FCSPresets[PresetIndex].m_NumberOfFreecells;
m_NumberOfStacks = FCSPresets[PresetIndex].m_NumberOfStacks;
m_NumberOfDecks = FCSPresets[PresetIndex].m_NumberOfDecks;
m_SequencesAreBuiltBy = FCSPresets[PresetIndex].m_SequencesAreBuiltBy;
m_UnlimitedSequenceMove = FCSPresets[PresetIndex].m_UnlimitedSequenceMove;
m_EmptyStacksFill = FCSPresets[PresetIndex].m_EmptyStacksFill;
m_TalonType = FCSPresets[PresetIndex].m_TalonType;
strcpy(m_TestOrder, FCSPresets[PresetIndex].m_TestOrder);
}
}
}
int FCSApplyTestOrder(int* TestOrderArray, const char* TestOrderString,
int* TestOrderCount, char* GameName, char** ErrorString)
{
int Length = strlen(TestOrderString),
TestIndex = 0,
TestsOrder[FCS_TESTS_NUM],
a;
bool IsGroup = false,
IsStartGroup = false;
//I'm using this instead of strdup becuase I think it uses malloc.
char* LocalErrorString = new char[50];
//The array of tests setup in the original fcs was much bigger than it
//will ever need, so the second condition wasn't ever true
for(a=0;a<Length;a++)
{
if ((TestOrderString[a] == '(') || (TestOrderString[a] == '['))
{
if (IsGroup)
{
strcpy(LocalErrorString, "There's a nested random group.");
*ErrorString = LocalErrorString;
return 1;
}
IsGroup = true;
IsStartGroup = true;
continue;
}
if ((TestOrderString[a] == ')') || (TestOrderString[a] == ']'))
{
if (IsStartGroup)
{
strcpy(LocalErrorString,"There's an empty group.");
*ErrorString = LocalErrorString;
return 2;
}
if (!IsGroup)
{
strcpy(LocalErrorString, "There's a renegade right parenthesis or bracket.");
*ErrorString = LocalErrorString;
return 3;
}
IsGroup = false;
IsStartGroup = false;
continue;
}
//verify the test order numbers are valid
bool TestOrderError = false;
if (!strcmp(GameName, "simple_simon"))
{
if ((TestOrderString[a] < '0') || (TestOrderString[a] > '8'))
TestOrderError = true;
}
else if (!strcmp(GameName, "klondike"))
{
if ((TestOrderString[a] < '0') || (TestOrderString[a] > '6'))
TestOrderError = true;
}
else
{
if ((TestOrderString[a] < '0') || (TestOrderString[a] > '9'))
TestOrderError = true;
}
if (TestOrderError)
{
sprintf(LocalErrorString, "'%c' is not a valid --test-order value.", TestOrderString[a]);
*ErrorString = LocalErrorString;
return 4;
}
if (TestIndex < FCS_TESTS_NUM)
TestsOrder[TestIndex++] = ((TestOrderString[a]-'0')%FCS_TESTS_NUM) | (IsGroup ? FCS_TEST_ORDER_FLAG_RANDOM : 0) | (IsStartGroup ? FCS_TEST_ORDER_FLAG_START_RANDOM_GROUP : 0);
IsStartGroup = false;
}
if (a != Length)
{
sprintf(LocalErrorString, "The number of tests exceeds the maximum of %i.\n Recomile the program if you wish to have more", FCS_TESTS_NUM);
*ErrorString = LocalErrorString;
return 5;
}
*TestOrderCount = TestIndex;
memcpy(TestOrderArray, TestsOrder, sizeof(int)*TestIndex);
delete [] LocalErrorString;
*ErrorString = NULL;
return 0;
}
|
14edb16e1f76db093bca347dd78708e21c714a9a | a15200778946f6f181e23373525b02b65c44ce6e | /Algoritmi/2020-07-14/all-CMS-submissions-2020-07-14/20200714T131455.VR452248_id258mal.align_one_string.cpp | 17a0ea85c3b10882647c1682d2b9782bac816c4c | [] | no_license | alberto-uni/portafoglioVoti_public | db518f4d4e750d25dcb61e41aa3f9ea69aaaf275 | 40c00ab74f641f83b23e06806bfa29c833badef9 | refs/heads/master | 2023-08-29T03:33:06.477640 | 2021-10-08T17:12:31 | 2021-10-08T17:12:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,037 | cpp | 20200714T131455.VR452248_id258mal.align_one_string.cpp | /**
* user: VR452248_id258mal
* fname: DAVIDE
* lname: GUGOLE
* task: align_one_string
* score: 0.0
* date: 2020-07-14 13:14:55.432167
*/
#include <iostream>
#include <limits>
using namespace std;
const int MAXM = 1000;
const int MAXN = 1000;
const int MAXP = 1000;
int M, N, P;
int cost[MAXP+1];
char A[MAXM];
char B[MAXN];
int INF = numeric_limits<int>::max();
int pre_processing () {
int corr = 0;
for (int i = 0; i < N; i++) {
// per ogni carattere di B
int flag = 0;
for (int j = corr; j < M; j++) {
// scorri tutta A (a partire dalla corrispondenza precedente)
if (A[j] == B[i]) {
corr = i;
flag = 1;
}
}
if (!flag) return -1;
}
return 0;
}
int min_cost (int posa, int posb) {
int ret = INF; // devo trovare la soluzione migliore rispetto a dove riaffiora il carattere
for(int ii = posa; ii < M; ii++) { // scorro tutto A
if (A[ii] == B[posb]) { // trovo una corrispondenza in ii del carattere di B
ret = min(ret,
cost[ii-posa] + min_cost(ii+1, posb+1));
}
}
return ret;
}
int main () {
#ifdef EVAL
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
cin >> M >> N >> P;
for (int i = 0; i < M; i++) {
cin >> A[i];
}
for (int i = 0; i < N; i++) {
cin >> B[i];
}
for (int i = 0; i < P+1; i++) {
cin >> cost[i];
}
if (pre_processing() == -1) {
cout << -1 << endl;
}
cout << min_cost(0, 0) << endl;
/*cout << "A:" << endl;
for (int i = 0; i < M; i++) {
cout << A[i];
}
cout << endl << "B:" << endl;
for (int i = 0; i < N; i++) {
cout << B[i];
}
cout << endl << "cost:" << endl;
for (int i = 0; i < P+1; i++) {
cout << cost[i];
}*/
return 0;
} |
c06303e9b95657a4f8a13444da41e2a18bf69339 | 8a5f8dfdd038590a579d14a84558cce2bb930b22 | /AICamera/app/src/main/cpp/caffe2/core/nomscheduler/tests/SchedulerTest.cc | ce00ab9473d1adc27dfe5e1a4ddc5d6439cdbd08 | [
"MIT"
] | permissive | blackxer/AICamera | ebc94c663e6f2ea6e8c81290a64bce4e7d369ed9 | 4f0a6a09a2288da2ec7140744b5c2862df114c78 | refs/heads/master | 2020-08-11T19:53:42.388828 | 2019-10-16T01:19:59 | 2019-10-16T01:19:59 | 214,616,987 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,202 | cc | SchedulerTest.cc | #include <algorithm>
#include <cstdio>
#include <limits>
#include <sstream>
#include <unordered_set>
#include "nomscheduler/Scheduler/CriticalPathAnalyzer.h"
#include "nomscheduler/Scheduler/HEFTScheduler.h"
#include "nomscheduler/Scheduler/Scheduler.h"
#include <gtest/gtest.h>
namespace nomscheduler {
SchedulerInput loadSchedulerInputFromString(const std::string& fileInput) {
std::stringstream ss;
ss << fileInput;
int numTasks, numDevices;
ss >> numTasks >> numDevices;
SchedulerInput result(numTasks, numDevices);
// Cores per devices
for (int id = 0; id < numDevices; id++) {
int numCores;
ss >> numCores;
result.getMutableDevice(id)->setNumberOfCores(numCores);
}
// Parallelism per task
for (int id = 0; id < numTasks; id++) {
int parallelismLevel;
ss >> parallelismLevel;
result.getMutableTask(id)->setIntraDeviceParallelism(parallelismLevel);
}
// The computation costs of each task
for (int taskId = 0; taskId < numTasks; taskId++) {
for (int deviceId = 0; deviceId < numDevices; deviceId++) {
float cost;
ss >> cost;
if (cost < 0) {
result.getMutableTaskDeviceCostModel(taskId, deviceId)
->setPossible(false);
} else {
result.getMutableTaskDeviceCostModel(taskId, deviceId)
->setComputationCost(cost);
}
}
}
for (int deviceId1 = 0; deviceId1 < numDevices; deviceId1++) {
for (int deviceId2 = 0; deviceId2 < numDevices; deviceId2++) {
float rate;
ss >> rate;
result.getMutableDeviceEdge(deviceId1, deviceId2)
->setDataTransferRate(rate);
}
}
for (int taskId1 = 0; taskId1 < numTasks; taskId1++) {
for (int taskId2 = 0; taskId2 < numTasks; taskId2++) {
float dataSize;
ss >> dataSize;
if (dataSize > 0) {
result.createTaskDependency(taskId1, taskId2);
result.getMutableTaskEdge(taskId1, taskId2)->setDataSize(dataSize);
}
}
}
for (int deviceId = 0; deviceId < numDevices; deviceId++) {
float maxMemory;
ss >> maxMemory;
result.getMutableDevice(deviceId)->setMaxMemory(maxMemory);
}
for (int id = 0; id < numTasks; id++) {
float staticMemoryConsumed;
ss >> staticMemoryConsumed;
result.getMutableTask(id)->setStaticMemoryConsumed(staticMemoryConsumed);
}
return result;
}
// A simple scheduling algorithm, just for testing and comparison purpose.
// For each iteration:
// - Pick any task that is ready to schedule (no dependency)
// - Then pick a device that has the earliest next available time to
// schedule that task.
// For simplicity, this algorithm does not take into account any resource
// constraints.
class SimpleScheduler : Scheduler {
public:
virtual SchedulerOutput schedule(const SchedulerInput& input) override {
int numTasks = input.getNumberOfTasks();
SchedulerOutput result(numTasks);
std::unordered_set<TaskGraph::NodeRef> scheduledTasks;
// Next available time per device.
std::vector<float> nextFreeTime;
for (int i = 0; i < input.getNumberOfDevices(); i++) {
nextFreeTime.emplace_back(0);
}
while (scheduledTasks.size() < numTasks) {
for (int taskId = 0; taskId < numTasks; taskId++) {
auto taskNode = input.getTaskNode(taskId);
if (scheduledTasks.count(taskNode)) {
continue;
}
bool hasDependency = false;
for (auto& inEdge : taskNode->getInEdges()) {
auto tail = inEdge->tail();
if (!scheduledTasks.count(tail)) {
hasDependency = true;
break;
}
}
if (!hasDependency) {
scheduledTasks.insert(taskNode);
// Find the device with earliest next available time.
int earliestDeviceId = 0;
for (int deviceId = 1; deviceId < input.getNumberOfDevices();
deviceId++) {
if (nextFreeTime[deviceId] < nextFreeTime[earliestDeviceId]) {
earliestDeviceId = deviceId;
}
}
// Schedule the task on the device.
auto& taskScheduleItem = result.getMutableTaskScheduleItem(taskId);
taskScheduleItem.setAssignedDeviceId(earliestDeviceId);
taskScheduleItem.setStartTime(nextFreeTime[earliestDeviceId]);
auto computationCost =
input.getTaskDeviceCostModel(taskId, earliestDeviceId)
.getComputationCost();
taskScheduleItem.setEndTime(
taskScheduleItem.getStartTime() + computationCost);
// Update next available time for the device.
nextFreeTime[earliestDeviceId] = taskScheduleItem.getEndTime();
break;
}
}
}
return result;
}
};
} // namespace nomscheduler
nomscheduler::SchedulerInput getTestInput() {
return nomscheduler::loadSchedulerInputFromString(R"(
10 3
1 1 1
1 1 1 1 1 1 1 1 1 1
14 16 9
13 19 18
11 13 19
13 8 17
12 13 10
13 16 9
7 15 11
5 11 14
18 12 20
21 7 16
0 1 1
1 0 1
1 1 0
-1 18 12 9 11 14 -1 -1 -1 -1
-1 -1 -1 -1 -1 -1 -1 19 16 -1
-1 -1 -1 -1 -1 -1 23 -1 -1 -1
-1 -1 -1 -1 -1 -1 -1 27 23 -1
-1 -1 -1 -1 -1 -1 -1 -1 13 -1
-1 -1 -1 -1 -1 -1 -1 15 -1 -1
-1 -1 -1 -1 -1 -1 -1 -1 -1 17
-1 -1 -1 -1 -1 -1 -1 -1 -1 11
-1 -1 -1 -1 -1 -1 -1 -1 -1 13
-1 -1 -1 -1 -1 -1 -1 -1 -1 -1
256 256 256
12 1 1 18 12 1 12 1 10 6
)");
}
TEST(Scheduler, SchedulerTest) {
auto input = getTestInput();
EXPECT_EQ(input.getNumberOfTasks(), 10);
EXPECT_EQ(input.getNumberOfDevices(), 3);
EXPECT_EQ(input.getDevice(1).getNumberOfCores(), 1);
EXPECT_EQ(input.getTask(6).getIntraDeviceParallelism(), 1);
EXPECT_EQ(input.getTaskDeviceCostModel(0, 0).getComputationCost(), 14);
EXPECT_EQ(input.getTaskDeviceCostModel(8, 1).getComputationCost(), 12);
EXPECT_EQ(input.getDeviceEdge(0, 2).getDataTransferRate(), 1.0f);
EXPECT_EQ(input.getTaskEdge(0, 3).getDataSize(), 9);
EXPECT_EQ(input.getDevice(2).getMaxMemory(), 256);
EXPECT_EQ(input.getTask(3).getStaticMemoryConsumed(), 18);
auto scheduler = nomscheduler::SimpleScheduler();
auto output = scheduler.schedule(input);
EXPECT_EQ(output.getFinishTime(), 55);
}
TEST(Scheduler, HEFTSchedulerTest) {
auto error = 1E-3;
auto input = getTestInput();
auto scheduler = nomscheduler::HEFTScheduler();
auto outputAndState = scheduler.scheduleInternal(input);
auto state = outputAndState.second;
EXPECT_NEAR(state.avgDataTransferRate, 1.0f, error);
auto task9 = state.tasksState.at(9);
EXPECT_NEAR(task9.avgComputationCost, 14.6666f, error);
// This task has no dependency
EXPECT_NEAR(task9.upwardRank, task9.avgComputationCost, error);
auto task8 = state.tasksState.at(8);
EXPECT_NEAR(task8.avgComputationCost, 16.6666f, error);
EXPECT_NEAR(
task8.upwardRank,
task8.avgComputationCost +
input.getTaskEdge(8, 9).getDataSize() / state.avgDataTransferRate +
state.tasksState.at(9).upwardRank,
error);
EXPECT_NEAR(task8.upwardRank, 44.333f, error);
auto task0 = state.tasksState.at(0);
EXPECT_NEAR(task0.avgComputationCost, 13.0f, error);
EXPECT_NEAR(
task0.upwardRank,
task0.avgComputationCost +
input.getTaskEdge(0, 1).getDataSize() / state.avgDataTransferRate +
state.tasksState.at(1).upwardRank,
error);
EXPECT_NEAR(task0.upwardRank, 108.0f, error);
auto sortedTaskIds = std::vector<int>{0, 2, 3, 1, 4, 5, 8, 6, 7, 9};
EXPECT_EQ(state.taskIdsByUpwardRank, sortedTaskIds);
// Verify the output of the HEFT scheduler.
// The input and output in this unit test matches the example in the
// original HEFT paper.
auto output = outputAndState.first;
EXPECT_FALSE(output.isFailure());
EXPECT_NEAR(output.getFinishTime(), 80, error);
auto expectedAssignedDeviceId =
std::vector<int>{2, 0, 2, 1, 2, 1, 2, 0, 1, 1};
auto expectedStartTime =
std::vector<float>{0, 27, 9, 18, 28, 26, 38, 57, 56, 73};
auto assignedDeviceId = std::vector<int>();
auto scheduledStartTime = std::vector<float>();
for (int taskId = 0; taskId < input.getNumberOfTasks(); taskId++) {
auto& taskScheduleItem = output.getTaskScheduleItem(taskId);
assignedDeviceId.emplace_back(taskScheduleItem.getAssignedDeviceId());
scheduledStartTime.emplace_back(taskScheduleItem.getStartTime());
}
EXPECT_EQ(assignedDeviceId, expectedAssignedDeviceId);
EXPECT_EQ(scheduledStartTime, expectedStartTime);
}
TEST(Scheduler, CriticalPathAnalyzer) {
auto input = getTestInput();
auto analyzer = nomscheduler::CriticalPathAnalyzer();
auto output = analyzer.analyze(input);
EXPECT_EQ(output.getTotalCost(), 54.0f);
auto expectedTaskIds = std::vector<int>{0, 1, 8, 9};
auto expectedDeviceIds = std::vector<int>{1, 1, 1, 1};
EXPECT_EQ(output.getTaskIds(), expectedTaskIds);
EXPECT_EQ(output.getDeviceIds(), expectedDeviceIds);
}
|
016424fdfdb513617a32c611eeb6e03a5424f38c | f0822e9ddf6caf13bc333de8c9c415bc1434ba37 | /Disassembler.cpp | bbfc7a3617f5c67dfa95bd11118335321108d6c0 | [] | no_license | gatsby97/CPU | 85e7a40895cbe766d7a0177d7e3ef0761be85b6f | a0eb211df2d92be3111710874e40d98805a20ad5 | refs/heads/main | 2023-07-06T08:22:02.364496 | 2021-04-17T10:00:58 | 2021-04-17T10:00:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,167 | cpp | Disassembler.cpp | #include <iostream>
#include "Standart_Libriaries.h"
#include "commands.h"
#include "File_Operations.h"
//-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
int Command_Decoder(int cmd1, int cmd2, int cmd3, FILE* disassembled_cmds, int PC, int LabelsAmount, int* Labels);
int PrintLabel (int PC, FILE* disassembled_cmds, int LabelsAmount, int* Labels);
int DisAssemble(int* Commands, FILE* disassembled_cmds, int NumberOfcommands, int* Labels, int Labels_Amount);
int ThisLabelExists(int* marks, int size, int pos);
//-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
int DisAssemble(int* Commands, FILE* disassembled_cmds, int NumberOfCommands, int* Labels, int Labels_Amount)
{
int PC = 0;
assert(Labels != NULL);
assert(disassembled_cmds != NULL);
while ( PC != NumberOfCommands)
{
PC = Command_Decoder(Commands[PC], Commands[PC+1], Commands[PC+2], disassembled_cmds, PC, Labels_Amount, Labels);
}
return DISASSEMBLED_SUCCESFULLY;
}
//-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
int main(int argc, char* argv [])
{
if ( argc < 2 )
{
std::cout << _RED_ << "error: \x1b[0m" << _BOLD_ << "Not enough arguments!\n\x1b[0m";
abort();
}
if (strcmp(argv[1],"assembled_cmds.aks") != 0)
{
std::cout << _RED_ << "error: \x1b[0m" << _BOLD_ << "Need the file \x1b[0m" << _YELLOW_ << "assembled_cmds.aks\x1b[0m" << _BOLD_ << " to disassemble!\n\x1b[0m";
return WRONG_FILE;
}
FILE* f = fopen(argv[1], "r");
long int SizeOfFile = GetSize(f);
char* buf = ReadFile(argv[1]);
int Lines_Amount = CounterOfLines(buf, SizeOfFile);
//printf("Lines amount= %d\n", Lines_Amount);
char** P_Lines = (char**) calloc (Lines_Amount, sizeof (char*));
assert(P_Lines != NULL);
int* cmds = (int*)calloc(Lines_Amount, sizeof(int));
PutPointers (buf, SizeOfFile, P_Lines, Lines_Amount);
for (int idx = 0; idx < Lines_Amount; idx++)
{
cmds[idx] = atoi(P_Lines[idx]);
}
int label_idx = 0;
int* Labels = (int*) calloc( Lines_Amount, sizeof(int) );
for (int l = 0; l < Lines_Amount; l++)
{
if ( (cmds[l] == CMD_JMP || cmds[l] == CMD_JB || cmds[l] == CMD_JBE || cmds[l] == CMD_JA || cmds[l] == CMD_JAE || cmds[l] == CMD_JE || cmds[l] == CMD_JNE || cmds[l] == CMD_CALL ) && ( !ThisLabelExists(Labels, Lines_Amount, cmds[l+1])) )
{
Labels[label_idx] = cmds[l + 1];
label_idx++;
}
}
int labels_amount = label_idx; // Присваиваем количество последнему значению счетчика
//printf("LABELS amount = %d\n", labels_amount);
FILE* DISASSEMBLED_CMDS = fopen("disassembled_cmds.aks", "w");
if ( DisAssemble(cmds, DISASSEMBLED_CMDS, Lines_Amount , Labels, labels_amount) == DISASSEMBLED_SUCCESFULLY)
std::cout << _GREEN_ <<"Disassembled successfully!\n" << _RESET_COLOUR << _LIGHT_BLUE_ << "FROM: "<< _RESET_COLOUR << argv[1] << _LIGHT_BLUE_ << "\nINTO:" << _RESET_COLOUR <<" disassembled_cmds.aks\n";
fclose(DISASSEMBLED_CMDS);
return 0;
}
//-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
int Command_Decoder(int cmd1, int cmd2, int cmd3, FILE* disassembled_cmds, int PC, int LabelsAmount, int* Labels) // По элементу массива int печатает дизассемблированный код
{
PrintLabel(PC, disassembled_cmds, LabelsAmount, Labels); // Если на этом положении PC есть метка, то пишем ее, а потом саму команду
if ( cmd1 == CMD_PUSH )
{
fprintf(disassembled_cmds, "PUSH %d\n", cmd2); PC += 2; return PC;
}
if ( cmd1 == CMD_ADD )
{
fprintf(disassembled_cmds, "ADD\n"); PC++; return PC;
}
if ( cmd1 == CMD_SUB )
{
fprintf(disassembled_cmds, "SUB\n"); PC++; return PC;
}
if ( cmd1 == CMD_DIV )
{
fprintf(disassembled_cmds, "DIV\n"); PC++; return PC;
}
if ( cmd1 == CMD_IN )
{
fprintf(disassembled_cmds, "IN\n"); PC++; return PC;
}
if ( cmd1 == CMD_MUL )
{
fprintf(disassembled_cmds, "MUL\n"); PC++; return PC;
}
if ( cmd1 == CMD_FSQRT )
{
fprintf(disassembled_cmds, "FSQRT\n"); PC++; return PC;
}
if ( cmd1 == CMD_OUT )
{
fprintf(disassembled_cmds, "OUT\n"); PC++; return PC;
}
if ( cmd1 == CMD_HLT)
{
fprintf(disassembled_cmds, "HLT\n"); PC++; return PC;
}
if ( cmd1 == CMD_PUSH_RAX )
{
fprintf(disassembled_cmds, "PUSH RAX\n"); PC++; return PC;
}
if ( cmd1 == CMD_PUSH_RBX )
{
fprintf(disassembled_cmds, "PUSH RBX\n"); PC++; return PC;
}
if ( cmd1 == CMD_PUSH_RCX )
{
fprintf(disassembled_cmds, "PUSH RCX\n"); PC++; return PC;
}
if ( cmd1 == CMD_PUSH_RDX )
{
fprintf(disassembled_cmds, "PUSH RDX\n"); PC++; return PC;
}
if ( cmd1 == CMD_POP_RAX )
{
fprintf(disassembled_cmds, "POP RAX\n"); PC++; return PC;
}
if ( cmd1 == CMD_POP_RBX )
{
fprintf(disassembled_cmds, "POP RBX\n"); PC++; return PC;
}
if ( cmd1 == CMD_POP_RCX )
{
fprintf(disassembled_cmds, "POP RCX\n"); PC++; return PC;
}
if ( cmd1 == CMD_POP_RDX )
{
fprintf(disassembled_cmds, "POP RDX\n"); PC++; return PC;
}
if ( cmd1 == CMD_JMP )
{
fprintf(disassembled_cmds, "JMP :%d\n", cmd2); PC += 2; return PC;
}
if ( cmd1 == CMD_JB )
{
fprintf(disassembled_cmds, "JB :%d\n", cmd2); PC += 2; return PC;
}
if ( cmd1 == CMD_JBE )
{
fprintf(disassembled_cmds, "JBE :%d\n", cmd2); PC += 2; return PC;
}
if ( cmd1 == CMD_JA )
{
fprintf(disassembled_cmds, "JA :%d\n", cmd2); PC += 2; return PC;
}
if ( cmd1 == CMD_JAE )
{
fprintf(disassembled_cmds, "JAE :%d\n", cmd2); PC += 2; return PC;
}
if ( cmd1 == CMD_JE )
{
fprintf(disassembled_cmds, "JE :%d\n", cmd2); PC += 2; return PC;
}
if ( cmd1 == CMD_JNE )
{
fprintf(disassembled_cmds, "JNE :%d\n", cmd2); PC += 2; return PC;
}
if ( cmd1 == CMD_CALL)
{
fprintf(disassembled_cmds, "CALL :%d\n", cmd2); PC += 2; return PC;
}
if ( cmd1 == CMD_RET)
{
fprintf(disassembled_cmds, "RET\n"); PC ++; return PC;
}
if ( cmd1 == CMD_MOV)
{
fprintf(disassembled_cmds, "MOV %d, [%d]\n", cmd2, cmd3); PC += 3; return PC;
}
if ( cmd1 == CMD_VISUAL)
{
fprintf(disassembled_cmds, "VISUALIZE\n"); PC ++; return PC;
}
if ( cmd1 == CMD_CIRCLE)
{
fprintf(disassembled_cmds, "CIRCLE\n"); PC ++; return PC;
}
if ( cmd1 == CMD_LINE)
{
fprintf(disassembled_cmds, "LINE\n"); PC ++; return PC;
}
return WRONG_COMMAND;
}
//-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
int PrintLabel (int PC, FILE* disassembled_cmds, int LabelsAmount, int* Labels)
{
for (int i = 0; i < LabelsAmount; i ++)
{
if (Labels[i] == PC)
{
fprintf(disassembled_cmds, ":%d\n", Labels[i]);
return i;
}
}
return -1;
}
//-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
int ThisLabelExists(int* marks, int size, int pos)
{
for (int i = 0 ; i < size; i ++)
{
if ( marks[i] == pos)
return 1;
}
return 0;
}
|
99711f643011813d094a54e8c30569ee416d53a6 | 644623d86d115f22ae7ceffe652d9f116ce057b6 | /Engine/Code/AabbCollider.cpp | bedd044d92fffcf4be97d661c078908ed57b9751 | [] | no_license | GyongS/YS_3DProject | 8f05c3704f2e6fa73ccaa72052896ade7d247ff0 | 33df784c791af6e70078bcd1340d11328fbe621e | refs/heads/master | 2023-04-04T23:15:34.387851 | 2021-04-16T16:40:03 | 2021-04-16T16:40:03 | 351,403,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,889 | cpp | AabbCollider.cpp | #include "EngineStdafx.h"
#include "AabbCollider.h"
USING(Engine)
CAabbCollider::CAabbCollider()
{
}
CAabbCollider::~CAabbCollider()
{
}
CAabbCollider * CAabbCollider::Create(_float3 size, _float3 offset)
{
CAabbCollider* pAabb = new CAabbCollider;
pAabb->SetOffset(offset);
pAabb->SetSize(size);
pAabb->SetHalfSize(size / 2.f);
pAabb->Awake();
return pAabb;
}
CCollider * CAabbCollider::MakeClone(CColliderComponent * pCC)
{
CAabbCollider* pAC = CAabbCollider::Create(m_size, m_offset);
pAC->SetOwner(pCC);
return pAC;
}
void CAabbCollider::Awake(void)
{
__super::Awake();
m_colliderType = (_uint)EColliderType::AABB;
}
void CAabbCollider::OnDestroy(void)
{
}
void CAabbCollider::OnEnable(void)
{
}
void CAabbCollider::OnDisable(void)
{
}
_float CAabbCollider::SqDistFromPoint(_float3 point)
{
_float sqDist = 0.f;
_float3 minPos = m_pOwner->GetTransform()->GetPosition() + m_offset - m_halfSize;
_float3 maxPos = m_pOwner->GetTransform()->GetPosition() + m_offset + m_halfSize;
for (int i = 0; i < 3; ++i)
{
if (point[i] < minPos[i]) sqDist += (minPos[i] - point[i]) * (minPos[i] - point[i]);
if (point[i] > maxPos[i]) sqDist += (point[i] - maxPos[i]) * (point[i] - maxPos[i]);
}
return sqDist;
}
_float3 CAabbCollider::ClosestFromPoint(_float3 point)
{
_float3 closestPoint = {};
_float3 minPos = m_pOwner->GetTransform()->GetPosition() + m_offset - m_halfSize;
_float3 maxPos = m_pOwner->GetTransform()->GetPosition() + m_offset + m_halfSize;
for (int i = 0; i < 3; ++i)
{
if (point[i] < minPos[i]) point[i] = minPos[i];
else if (point[i] > maxPos[i]) point[i] = maxPos[i];
closestPoint[i] = point[i];
}
return closestPoint;
}
void CAabbCollider::MakeBS(void)
{
_float3 minPos = m_offset - m_halfSize;
_float3 maxPos = m_offset + m_halfSize;
m_offsetBS = m_offset;
m_radiusBS = D3DXVec3Length(&(maxPos - minPos)) / 2.f;
}
|
c7ebff1a1f1270ace0af331c78aec5faf8baf6d5 | 53f0935ea44e900e00dc86d66f5181c5514d9b8e | /dmih-qual/03/ivica.cpp | 93c032c1c97e891673e87d83ab3545f09aaacfcc | [] | no_license | losvald/algo | 3dad94842ad5eb4c7aa7295e69a9e727a27177f6 | 26ccb862c4808f0d5970cee4ab461d1bd4cecac6 | refs/heads/master | 2016-09-06T09:05:57.985891 | 2015-11-05T05:13:19 | 2015-11-05T05:13:19 | 26,628,114 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 939 | cpp | ivica.cpp | #include <stdio.h>
#include <conio.h>
void sort(int *m, int M) {
for(int k = 1; k < M; k++) {
int br = 0;
for(int l = k; l >= 0; l--)
if(l != k && m[l] == m[k]) {
++br; break;}
if(br) {
for(int l = k; l >= 0; l--)
if(l != k && m[l] >= m[k])
++m[l];
}
}
}
int main() {
int M, N, m[100], n[100];
scanf("%d %d", &N, &M);
for(int i = 0; i < N; i++) scanf("%d", &n[i]);
for(int i = 0; i < M; i++) scanf("%d", &m[i]);
sort(m, M);
sort(n, N);
for(int k = 1; k <= 3; k++) {
for(int m1 = M-1; m1 >= 0; m1--)
if(m[m1] == k) {
for(int n1 = N-1; n1 >= 0; n1--)
if(n[n1] == M-m1) {
printf("%d\n", n1+1);
break;
}
}
}
getch();
return 0;
}
|
cad71329f9eff001b0ee52e2dbdb2aaa4e32f3df | 303b48eb9354338542e0a4ca68df1978dd8d038b | /include/fox/FXRex.h | fdcd0bcf72e09353fee86d258633733b4ff2814a | [
"BSD-3-Clause"
] | permissive | ldematte/beppe | fa98a212bbe4a27c5d63defaf386898a48d72deb | 53369e0635d37d2dc58aa0b6317e664b3cf67547 | refs/heads/master | 2020-06-04T00:05:39.688233 | 2013-01-06T16:37:03 | 2013-01-06T16:37:03 | 7,469,184 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,914 | h | FXRex.h | /********************************************************************************
* *
* R e g u l a r E x p r e s s i o n C l a s s *
* *
*********************************************************************************
* Copyright (C) 1999,2002 by Jeroen van der Zijp. All Rights Reserved. *
*********************************************************************************
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Lesser General Public *
* License as published by the Free Software Foundation; either *
* version 2.1 of the License, or (at your option) any later version. *
* *
* This library is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public *
* License along with this library; if not, write to the Free Software *
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
*********************************************************************************
* $Id: FXRex.h,v 1.44 2002/01/18 22:42:54 jeroen Exp $ *
********************************************************************************/
#ifndef FXREX_H
#define FXREX_H
/// Regular expression error codes
enum FXRexError {
REGERR_OK,
REGERR_EMPTY, /// Empty pattern
REGERR_PAREN, /// Unmatched parenthesis
REGERR_BRACK, /// Unmatched bracket
REGERR_BRACE, /// Unmatched brace
REGERR_RANGE, /// Bad character range
REGERR_ESC, /// Bad escape sequence
REGERR_COUNT, /// Bad counted repeat
REGERR_NOATOM, /// No atom preceding repetition
REGERR_REPEAT, /// Repeat following repeat
REGERR_BACKREF, /// Bad backward reference
REGERR_CLASS, /// Bad character class
REGERR_COMPLEX, /// Expression too complex
REGERR_MEMORY, /// Out of memory
REGERR_TOKEN /// Illegal token
};
/// Regular expression parse flags
enum {
REX_NORMAL = 0, /// Normal mode
REX_CAPTURE = 1, /// Perform capturing parentheses
REX_ICASE = 2, /// Case independent matching
REX_NEWLINE = 4, /// Match-any operators match newline too
REX_VERBATIM = 8, /// Disable interpretation of magic characters
REX_SYNTAX = 16 /// Perform syntax check only
};
/// Regular expression match flags
enum {
REX_FORWARD = 0, /// Match scanning forward from offset
REX_BACKWARD = 32, /// Match scanning backward from offset
REX_NOT_BOL = 64, /// Start of string is NOT begin of line
REX_NOT_EOL = 128, /// End of string is NOT end of line
REX_NOT_EMPTY = 256 /// Do not match empty
};
/**
* FXRex is a regular expression class implementing a NFA matcher.
* It supports capturing parentheses, non-capturing parentheses,
* positive or negative lookahead, backreferences, case-insensitive
* matching, counted repetitions, lazy or greedy matches, and
* PERL-like matching operators.
* The subject string may be scanned forwards or backwards, and may
* contain any of 256 possible character values.
*
* When parsing a regular expression pattern, the mode parameter is
* the bitwise OR of a set of flags and affects the match algorithm.
* Passing the flag REX_CAPTURE enables capturing parentheses
* and back references. The flag REX_ICASE enables case-insensitive
* matching. When the flag REX_NEWLINE is passed, newlines are treated
* like normal characters; otherwise, newline is NOT matched
* except when explicitly part of a character class. The flag
* REX_VERBATIM disables all special character interpretation.
*
* When matching a compiled pattern, the mode parameter is the
* bitwise OR of a set of flags that affects how the match is
* performed. Passing the flag REX_BACKWARD causes the match
* to proceed backwards through the subject string. Passing the
* flags REX_NOT_BOL and/or REX_NOT_EOL causes the begin and
* end of the subject string NOT to be considered a line start
* or line end. The flag REX_NOT_EMPTY causes a match to fail if
* the empty string was matched.
*/
class FXAPI FXRex {
private:
FXint *code;
private:
static const FXchar *const errors[];
static const FXint fallback[];
public:
/// Construct empty regular expression object
FXRex():code((FXint*)fallback){}
/// Copy regular expression object
FXRex(const FXRex& orig);
/// Compile expression from pattern; if error is not NULL, error code is returned
FXRex(const FXchar* pattern,FXint mode=REX_NORMAL,FXRexError* error=NULL);
/// Compile expression from pattern; if error is not NULL, error code is returned
FXRex(const FXString& pattern,FXint mode=REX_NORMAL,FXRexError* error=NULL);
/// Assign another regular expression to this one
FXRex& operator=(const FXRex& orig);
/**
* See if regular expression is empty; the regular expression
* will be empty when it is unable to parse a pattern due to
* a syntax error.
*/
FXbool empty() const { return (code==fallback); }
/// Parse pattern, return error code if syntax error is found
FXRexError parse(const FXchar* pattern,FXint mode=REX_NORMAL);
/// Parse pattern, return error code if syntax error is found
FXRexError parse(const FXString& pattern,FXint mode=REX_NORMAL);
/**
* Match a subject string of length len, returning TRUE if a match is found
* and FALSE otherwise. The entire pattern is captured in beg[0] and end[0],
* where beg[0] refers to the position of the first matched character and end[0]
* refers to the position after the last matched character.
* Sub expressions from capturing parenthesis i are returned in beg[i] and end[i].
*/
FXbool match(const FXchar* string,FXint len,FXint* beg=NULL,FXint* end=NULL,FXint mode=REX_FORWARD,FXint npar=1,FXint fm=0,FXint to=2147483647) const;
/// Search for match in a string
FXbool match(const FXString& string,FXint* beg=NULL,FXint* end=NULL,FXint mode=REX_FORWARD,FXint npar=1,FXint fm=0,FXint to=2147483647) const;
/**
* After performing a regular expression match with capturing parentheses,
* a substitution string is build from the replace string, where where "&"
* is replaced by the entire matched pattern, and "\1" through "\9" are
* replaced by captured expressions. The original source string and its
* length, and the match arrays beg and end must be passed.
*/
static FXString substitute(const FXchar* string,FXint len,FXint* beg,FXint* end,const FXString& replace,FXint npar=1);
/// Return substitution string
static FXString substitute(const FXString& string,FXint* beg,FXint* end,const FXString& replace,FXint npar=1);
/// Returns error code for given error
static const FXchar* getError(FXRexError err){ return errors[err]; }
/// Comparison operators
friend FXAPI FXbool operator==(const FXRex &r1,const FXRex &r2);
friend FXAPI FXbool operator!=(const FXRex &r1,const FXRex &r2);
/// Saving and loading
friend FXAPI FXStream& operator<<(FXStream& store,const FXRex& s);
friend FXAPI FXStream& operator>>(FXStream& store,FXRex& s);
/// Delete
~FXRex();
};
#endif
|
c25f5cc594248118fe1bca057ca221ee3d554db4 | b690c92a2f6a5dfe92b3dba2a9ff1e9e78d078a6 | /Source/Libraries/TimeSeriesPlatformLibrary/Samples/TemporalSubscriber.cpp | e5ee4fec060a560fe8c9a61e632a0a4d54e173d3 | [
"MIT",
"MS-PL",
"BSD-3-Clause",
"LGPL-3.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"CPOL-1.02",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | GridProtectionAlliance/gsf | 5483a8dd739d1c614501ea83c9cbf923430069fc | 9efd592074d5657e06f68d66182fa094c08ea64b | refs/heads/master | 2023-09-02T08:48:16.950323 | 2023-08-31T04:01:55 | 2023-08-31T04:01:55 | 40,739,386 | 156 | 94 | MIT | 2023-09-14T13:35:31 | 2015-08-14T23:05:31 | C# | WINDOWS-1252 | C++ | false | false | 4,281 | cpp | TemporalSubscriber.cpp | //******************************************************************************************************
// TemporalSubscriber.cpp - Gbtc
//
// Copyright © 2019, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// the NOTICE file distributed with this work for additional information regarding copyright ownership.
// The GPA licenses this file to you under the MIT License (MIT), the "License"; you may not use this
// file except in compliance with the License. You may obtain a copy of the License at:
//
// http://opensource.org/licenses/MIT
//
// Unless agreed to in writing, the subject software distributed under the License is distributed on an
// "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the
// License for the specific language governing permissions and limitations.
//
// Code Modification History:
// ----------------------------------------------------------------------------------------------------
// 03/01/2019 - J. Ritchie Carroll
// Generated original version of source code.
//.
//******************************************************************************************************
#include "TemporalSubscriber.h"
using namespace std;
using namespace GSF;
using namespace GSF::Data;
using namespace GSF::TimeSeries;
GSF::Data::DataSetPtr TemporalSubscriber::s_history = nullptr;
TemporalSubscriber::TemporalSubscriber(SubscriberConnectionPtr connection) :
m_connection(std::move(connection)),
m_startTimestamp(ToTicks(m_connection->GetStartTimeConstraint())),
m_stopTimestamp(ToTicks(m_connection->GetStopTimeConstraint())),
m_currentTimestamp(m_startTimestamp),
m_currentRow(0),
m_stopped(false)
{
if (s_history == nullptr)
s_history = DataSet::FromXml("History.xml");
m_lastRow = s_history->Table("History")->RowCount() - 1;
if (m_lastRow < 0)
throw runtime_error("No history available - run with \"GenHistory\" argument.");
m_processTimer = NewSharedPtr<Timer>(33, [this](Timer*, void*) { SendTemporalData(); }, true);
SetProcessingInterval(m_connection->GetProcessingInterval());
m_processTimer->Start();
}
TemporalSubscriber::~TemporalSubscriber()
{
CompleteTemporalSubscription();
m_processTimer.reset();
}
void TemporalSubscriber::SetProcessingInterval(int32_t processingInterval) const
{
if (processingInterval == -1)
processingInterval = 33;
m_processTimer->SetInterval(processingInterval);
}
void TemporalSubscriber::SendTemporalData()
{
if (m_stopped)
return;
static DataTable& history = *s_history->Table("History");
static const int32_t signalIDColumn = history["SignalID"]->Index();
static const int32_t timestampColumn = history["Timestamp"]->Index();
static const int32_t valueColumn = history["Value"]->Index();
vector<MeasurementPtr> measurements;
DataRow& row = *history.Row(m_currentRow);
int64_t historyTimestamp = row.ValueAsInt64(timestampColumn).GetValueOrDefault();
const int64_t groupTimestamp = historyTimestamp;
while (historyTimestamp == groupTimestamp)
{
MeasurementPtr measurement = NewSharedPtr<Measurement>();
measurement->Timestamp = m_currentTimestamp;
measurement->SignalID = row.ValueAsGuid(signalIDColumn).GetValueOrDefault();
measurement->Value = row.ValueAsDouble(valueColumn).GetValueOrDefault();
measurements.push_back(measurement);
if (++m_currentRow > m_lastRow)
m_currentRow = 0;
row = *history.Row(m_currentRow);
historyTimestamp = row.ValueAsInt64(timestampColumn).GetValueOrDefault();
}
m_connection->PublishMeasurements(measurements);
// Setup next publication timestamp
m_currentTimestamp += HistoryInterval;
if (m_currentTimestamp > m_stopTimestamp)
CompleteTemporalSubscription();
}
void TemporalSubscriber::CompleteTemporalSubscription()
{
if (m_stopped)
return;
m_stopped = true;
m_processTimer->Stop();
m_connection->CancelTemporalSubscription();
}
bool TemporalSubscriber::GetIsStopped() const
{
return m_stopped;
}
|
65532ecec7e67477ab0db9b0baa05737436268f2 | 4a314b0a6ca6dc2021eb061861e590784264925c | /src/file/File.cpp | 6695ff75e96af160f871fcd4a8a1f3d95ecfb0df | [] | no_license | gMpHSpLB/WavToMP3 | c9e8eb5cc32f1f384f0289033164368f5db67433 | 02bdb84670843e8fe7af2003b732b000c37b3bbd | refs/heads/master | 2022-11-10T00:45:36.500964 | 2020-06-29T13:05:12 | 2020-06-29T13:05:12 | 275,805,756 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,405 | cpp | File.cpp | /* wave to mp3 encoding using Lame lib
@mpathak
*/
#include <sstream>
#include "File.h"
#include "Log.h"
bool File::Initialize(const char* pFileName,
eFileType fileType,
eFileAccessMode accessMode,
unsigned long int fileSize){
if (pFileName) {
unsigned int len = strlen(pFileName);
if ((len + 1) < m_MaxFileNameSize) {
m_FileNameLen = len + 1;
strcpy(m_pFileName, pFileName);
m_FileType = fileType;
m_AccessMode = accessMode;
return(OpenFile());
}
else {
std::ostringstream os;
os << "File Name: " << pFileName << " is bigger than Max Limit: "
<< m_MaxFileNameSize << '\n';
Log::pLog.LogError(__FILE__,
__FUNCTION__,
__LINE__,
os);
return(false);
}
}
return(false);
}
bool File::Reset() {
m_FileSize = 0;
m_FileNameLen = 0;
m_FileType = eFileType::Unknown;
m_AccessMode = eFileAccessMode::Unknown;
return(CloseFile());
}
std::ios::openmode File::GetFileAccessMode() {
switch (m_AccessMode) {
case eFileAccessMode::Read:
return(std::ios::in);
case eFileAccessMode::Write:
return(std::ios::out);
case eFileAccessMode::Read_Write:
return(std::ios::out | std::ios::in);
default:
return(std::ios::in);
}
}
bool File::IsBinaryFile() {
switch (m_FileType) {
case eFileType::Binary:
return(true);
case eFileType::Text:
return(false);
default:
return(true);
}
}
bool File::OpenFile() {
bool ret = false;
if (m_FileObj.is_open()) {
ret = true;
}
else {
try {
std::ios::openmode accessMode = GetFileAccessMode();
if (IsBinaryFile()) {
m_FileObj.open(m_pFileName, accessMode | std::ios::binary);
}
else {
m_FileObj.open(m_pFileName, accessMode);
}
ret = true;
}
catch (std::exception & e) {
std::ostringstream os;
os<< "Exception while opening file : " << m_pFileName
<< " " << e.what() << '\n';
Log::pLog.LogError(__FILE__,
__FUNCTION__,
__LINE__,
os);
ret = false;
}
}
return(ret);
}
bool File::CloseFile() {
bool ret = false;
if (m_FileObj.is_open()) {
try {
m_FileObj.close();
return(ret);
}
catch (std::exception & e) {
std::ostringstream os;
os << "Exception while closing file : "<< m_pFileName
<< " " << e.what() << '\n';
Log::pLog.LogError(__FILE__,
__FUNCTION__,
__LINE__,
os);
ret = false;
}
}
return(ret);
}
|
b05adc2f7614e6f39023497736e65c02a3a7a5fa | 46ea063a4ef7d7be296882b089794dbc8ceb7377 | /src/p10/ekb/p10_spr_name_map.H | d6acdc6d13e0f51f69648b2deb8aa8a62ae9244a | [
"Apache-2.0"
] | permissive | open-power/ecmd-pdbg | cfb68da429bef5edb73b203bc141fe270ce5402e | cb4820e97f2a5a7b8488cb21e85e3414fed8975b | refs/heads/master | 2023-05-24T16:23:59.393062 | 2023-05-22T11:18:11 | 2023-05-22T11:18:11 | 177,689,887 | 1 | 30 | Apache-2.0 | 2023-08-30T07:23:02 | 2019-03-26T01:08:06 | C | UTF-8 | C++ | false | false | 25,221 | h | p10_spr_name_map.H | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: chips/p10/procedures/hwp/perv/p10_spr_name_map.H $ */
/* */
/* IBM CONFIDENTIAL */
/* */
/* EKB Project */
/* */
/* COPYRIGHT 2016,2020 */
/* [+] International Business Machines Corp. */
/* */
/* */
/* The source code for this program is not published or otherwise */
/* divested of its trade secrets, irrespective of what has been */
/* deposited with the U.S. Copyright Office. */
/* */
/* IBM_PROLOG_END_TAG */
///
/// @file p10_spr_name_map.H
/// @brief Utility to map SPR name to SPR number
///
/// *HWP HW Maintainer : Doug Holtsinger <Douglas.Holtsinger@ibm.com>
/// *HWP FW Maintainer : Raja Das <rajadas2@in.ibm.com>
/// *HWP Consumed by : None (Cronus test only)
#ifndef _P10_SPR_NAME_MAP_H_
#define _P10_SPR_NAME_MAP_H_
//-----------------------------------------------------------------------------------
// Includes
//-----------------------------------------------------------------------------------
#include <stdint.h>
#include <string>
#include <map>
#include <vector>
//-----------------------------------------------------------------------------------
// Constant definitions
//-----------------------------------------------------------------------------------
const std::string TID_PATTERN = "<??T>";
const std::string INVALID_PATTERN = "N/A";
const std::string INVALID_PATTERN_FIXME = "FIXME";
//-----------------------------------------------------------------------------------
// Structure definitions
//-----------------------------------------------------------------------------------
enum Enum_ShareType
{
SPR_PER_CORE,
SPR_PER_LPAR_PT,
SPR_PER_LPAR_VT,
SPR_PER_PT,
SPR_PER_VT,
SPR_SHARED,
SPR_PARTIAL_SHARED,
SPR_SHARE_NA // unknown, or dependent on certain conditions
};
enum Enum_AccessType
{
FLAG_NO_ACCESS = 0, // Not accessible via RAMing
FLAG_READ_ONLY, // Read-only
FLAG_WRITE_ONLY, // Write-only
FLAG_READ_WRITE, // Read/Write
FLAG_READ_WRITE_FIRST = FLAG_READ_WRITE,
FLAG_READ_WRITE_HW, // Read/Write, but hardware can also write to the register.
FLAG_READ_WRITE_SET, // Read/Write Set -- writing 1s sets bits
FLAG_READ_WRITE_RESET, // Read/Write Clear -- writing 1s resets bits
FLAG_READ_WRITE_LAST = FLAG_READ_WRITE_RESET,
FLAG_ANY_ACCESS // Any access type
};
typedef struct
{
int number;
std::string spy_name;
Enum_AccessType flag;
Enum_ShareType share_type;
uint8_t bit_length;
} SPRMapEntry;
//-----------------------------------------------------------------------------------
// Global variable definitions
//-----------------------------------------------------------------------------------
extern std::map<std::string, SPRMapEntry> SPR_MAP;
typedef std::map<std::string, SPRMapEntry>::iterator SPR_MAP_IT;
#define SPR_FLAG_READ_ACCESS(_flag) ((_flag != FLAG_WRITE_ONLY) && (_flag != FLAG_NO_ACCESS))
#define SPR_FLAG_WRITE_ACCESS(_flag) ((_flag != FLAG_READ_ONLY) && (_flag != FLAG_NO_ACCESS))
// List all the SPR registers(name, number, spy_name, flag)
// Reference <P10 SPR List.xls> on the P10 logic box folder
// Note:
// When ram is enabled, the hardware forces HV=1 PR=0
// current spy names are got from <P10 SPR List.xls>
// For the SPY names, <??T> should be replaced with thread ID, <??C> should be
// replaced with core ID.
// N/A means the SPR can be RAMed, but there is no associated Spy for the SPR.
#define LIST_SPR_REG(_op_)\
_op_(XER ,1 , ECP.EC.VS.XER_SO_T<??T> ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(DSCR_RU ,3 , ECP.EC.LS.LS.T<??T>_DSCR ,FLAG_READ_ONLY ,SPR_PER_PT ,25)\
_op_(UAMR ,13 , ECP.EC.LS.LS.T<??T>_AMR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(DSCR ,17 , ECP.EC.LS.LS.T<??T>_DSCR ,FLAG_READ_WRITE ,SPR_PER_PT ,25)\
_op_(DSISR ,18 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(DAR ,19 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(DEC ,22 , N/A ,FLAG_READ_WRITE ,SPR_PER_VT ,64)\
_op_(SRR0 ,26 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SRR1 ,27 , ECP.EC.SD.SDE.T<??T>_SRR1 ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(CFAR ,28 , ECP.EC.IFU.T<??T>_CFAR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(AMR ,29 , ECP.EC.LS.LS.T<??T>_AMR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(PIDR ,48 , ECP.EC.MU.T<??T>_PID ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(IAMR ,61 , ECP.EC.LS.LS.T<??T>_IAMR ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(TFHAR ,128 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(TFIAR ,129 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(TEXASR ,130 , ECP.EC.SD.SDE.T<??T>_TEXASR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(TEXASRU ,131 , ECP.EC.SD.SDE.T<??T>_TEXASR ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(CTRL_RU ,136 , ECP.EC.PC.COMMON.SPR_COMMON.CTRL ,FLAG_READ_ONLY ,SPR_SHARED ,32)\
_op_(CTRL ,152 , ECP.EC.PC.COMMON.SPR_COMMON.CTRL ,FLAG_WRITE_ONLY ,SPR_SHARED ,32)\
_op_(FSCR ,153 , ECP.EC.SD.SDE.T<??T>_FSCR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(UAMOR ,157 , ECP.EC.LS.LS.T<??T>_UAMOR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(GSR ,158 , N/A ,FLAG_WRITE_ONLY ,SPR_SHARE_NA ,64)\
_op_(PSPB ,159 , ECP.EC.PC.PMU.SPRCOR.V<??T>_PSPB ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(DPDES ,176 , ECP.EC.PC.COMMON.SPR_COMMON.DPDES ,FLAG_READ_WRITE ,SPR_PER_CORE ,8 )\
_op_(DAWR0 ,180 , ECP.EC.LS.LS.T<??T>_DAWR0 ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(DAWR1 ,181 , ECP.EC.LS.LS.T<??T>_DAWR1 ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(RPR ,186 , ECP.EC.IFU.RPR ,FLAG_READ_WRITE ,SPR_PER_CORE ,64)\
_op_(CIABR ,187 , ECP.EC.IFU.T<??T>_CIABR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(DAWRX0 ,188 , ECP.EC.LS.LS.T<??T>_DAWRX0 ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(DAWRX1 ,189 , ECP.EC.LS.LS.T<??T>_DAWRX1 ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(HFSCR ,190 , ECP.EC.SD.SDE.T<??T>_HFSCR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(VRSAVE ,256 , ECP.EC.SD.SDE.T<??T>_VRSAVE ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(SPRG3_RU ,259 , ECP.EC.VS.SPRG3_T<??T> ,FLAG_READ_ONLY ,SPR_PER_PT ,64)\
_op_(TB ,268 , N/A ,FLAG_READ_ONLY ,SPR_PER_LPAR_VT ,64)\
_op_(TBU_RU ,269 , N/A ,FLAG_READ_ONLY ,SPR_PER_LPAR_VT ,32)\
_op_(SPRG0 ,272 , ECP.EC.VS.SPRG0_T<??T> ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SPRG1 ,273 , ECP.EC.VS.SPRG1_T<??T> ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SPRG3 ,275 , ECP.EC.VS.SPRG3_T<??T> ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SPRC ,276 , ECP.EC.PC.COMMON.SPR_COMMON.SPRC<??T> ,FLAG_READ_WRITE ,SPR_PER_VT ,64)\
_op_(SPRD ,277 , N/A ,FLAG_READ_WRITE ,SPR_SHARE_NA ,64)\
_op_(TBL ,284 , ECP.EC.PC.L<??T>_TBL ,FLAG_WRITE_ONLY ,SPR_PER_LPAR_VT ,32)\
_op_(TBU ,285 , ECP.EC.PC.L<??T>_TBU ,FLAG_WRITE_ONLY ,SPR_PER_LPAR_VT ,32)\
_op_(TBU40 ,286 , ECP.EC.PC.L<??T>_TB40U ,FLAG_WRITE_ONLY ,SPR_PER_LPAR_VT ,64)\
_op_(PVR ,287 , ECP.EC.PC.PMU.SPRCOR.PVR ,FLAG_READ_ONLY ,SPR_SHARED ,32)\
_op_(HSPRG0 ,304 , ECP.EC.VS.HSPRG0_T<??T> ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(HDSISR ,306 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(HDAR ,307 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SPURR ,308 , N/A ,FLAG_READ_WRITE ,SPR_PER_VT ,64)\
_op_(PURR ,309 , N/A ,FLAG_READ_WRITE ,SPR_PER_VT ,64)\
_op_(HDEC ,310 , N/A ,FLAG_READ_WRITE ,SPR_PER_LPAR_VT ,64)\
_op_(HRMOR ,313 , ECP.EC.MU.HRMOR ,FLAG_READ_WRITE ,SPR_SHARED ,64)\
_op_(HSRR0 ,314 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(HSRR1 ,315 , ECP.EC.SD.SDE.T<??T>_HSRR1 ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(TFMR ,317 , ECP.EC.PC.T<??T>_TFMR ,FLAG_READ_WRITE ,SPR_PARTIAL_SHARED ,64)\
_op_(LPCR ,318 , ECP.EC.MU.T<??T>_LPCR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(LPIDR ,319 , ECP.EC.MU.T<??T>_LPIDR ,FLAG_READ_WRITE ,SPR_PER_LPAR_PT ,64)\
_op_(HMER ,336 , ECP.EC.PC.COMMON.SPR_COMMON.V<??T>_HMER ,FLAG_READ_WRITE ,SPR_PER_VT ,64)\
_op_(HMEER ,337 , ECP.EC.PC.COMMON.SPR_COMMON.HMEER ,FLAG_READ_WRITE ,SPR_SHARED ,64)\
_op_(PCR ,338 , ECP.EC.IFU.T<??T>_PCR ,FLAG_READ_WRITE ,SPR_PER_LPAR_PT ,64)\
_op_(HEIR ,339 , ECP.EC.SD.SDE.T<??T>_HEIR ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(AMOR ,349 , ECP.EC.LS.LS.AMOR<??T> ,FLAG_READ_WRITE ,SPR_PER_LPAR_PT ,64)\
_op_(TIR ,446 , ECP.EC.PC.PMU.SPRCOR.TIR ,FLAG_READ_ONLY ,SPR_PER_PT ,8 )\
_op_(PTCR ,464 , ECP.EC.MU.PTCR ,FLAG_READ_WRITE ,SPR_PER_CORE ,64)\
_op_(USPRG0 ,496 , ECP.EC.VS.USPRG0_T<??T> ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(USPRG1 ,497 , ECP.EC.VS.USPRG1_T<??T> ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(URMOR ,505 , ECP.EC.MU.URMOR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(USRR0 ,506 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(USRR1 ,507 , ECP.EC.SD.SDE.T<??T>_USRR1 ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SMFCTRL ,511 , ECP.EC.IFU.T<??T>_SMFCTRL ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SIERA_RU ,736 , ECP.EC.PC.PMU.T<??T>_SIERA ,FLAG_READ_ONLY ,SPR_PER_PT ,64)\
_op_(SIERB_RU ,737 , ECP.EC.PC.PMU.T<??T>_SIERB ,FLAG_READ_ONLY ,SPR_PER_PT ,64)\
_op_(MMCR3_RU ,738 , ECP.EC.PC.PMU.T<??T>_MMCR3 ,FLAG_READ_ONLY ,SPR_PER_PT ,64)\
_op_(SIERA ,752 , ECP.EC.PC.PMU.T<??T>_SIERA ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SIERB ,753 , ECP.EC.PC.PMU.T<??T>_SIERB ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(MMCR3 ,754 , ECP.EC.PC.PMU.T<??T>_MMCR3 ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SIER_RU ,768 , ECP.EC.PC.PMU.T<??T>_SIER ,FLAG_READ_ONLY ,SPR_PER_PT ,64)\
_op_(MMCR2_RU ,769 , ECP.EC.PC.PMU.T<??T>_MMCR2 ,FLAG_READ_ONLY ,SPR_PER_PT ,64)\
_op_(MMCRA_RU ,770 , ECP.EC.PC.PMU.T<??T>_MMCRA ,FLAG_READ_ONLY ,SPR_PER_PT ,64)\
_op_(PMC1_RU ,771 , N/A ,FLAG_READ_ONLY ,SPR_PER_PT ,32)\
_op_(PMC2_RU ,772 , N/A ,FLAG_READ_ONLY ,SPR_PER_PT ,32)\
_op_(PMC3_RU ,773 , N/A ,FLAG_READ_ONLY ,SPR_PER_PT ,32)\
_op_(PMC4_RU ,774 , N/A ,FLAG_READ_ONLY ,SPR_PER_PT ,32)\
_op_(PMC5_RU ,775 , N/A ,FLAG_READ_ONLY ,SPR_PER_PT ,32)\
_op_(PMC6_RU ,776 , N/A ,FLAG_READ_ONLY ,SPR_PER_PT ,32)\
_op_(MMCR0_RU ,779 , ECP.EC.PC.PMU.T<??T>_MMCR0 ,FLAG_READ_ONLY ,SPR_PER_PT ,32)\
_op_(SIAR_RU ,780 , ECP.EC.IFU.T<??T>_SIAR ,FLAG_READ_ONLY ,SPR_PER_PT ,64)\
_op_(SDAR_RU ,781 , ECP.EC.LS.LS.T<??T>_SDAR ,FLAG_READ_ONLY ,SPR_PER_PT ,64)\
_op_(MMCR1_RU ,782 , ECP.EC.PC.PMU.T<??T>_MMCR1 ,FLAG_READ_ONLY ,SPR_PER_PT ,32)\
_op_(SIER ,784 , ECP.EC.PC.PMU.T<??T>_SIER ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(MMCR2 ,785 , ECP.EC.PC.PMU.T<??T>_MMCR2 ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(MMCRA ,786 , ECP.EC.PC.PMU.T<??T>_MMCRA ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(PMC1 ,787 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(PMC2 ,788 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(PMC3 ,789 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(PMC4 ,790 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(PMC5 ,791 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(PMC6 ,792 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(MMCR0 ,795 , ECP.EC.PC.PMU.T<??T>_MMCR0 ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(SIAR ,796 , ECP.EC.IFU.T<??T>_SIAR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(SDAR ,797 , ECP.EC.LS.LS.T<??T>_SDAR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(MMCR1 ,798 , ECP.EC.PC.PMU.T<??T>_MMCR1 ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(IMC ,799 , N/A ,FLAG_WRITE_ONLY, SPR_SHARED ,64)\
_op_(BESCRS ,800 , ECP.EC.SD.SDE.T<??T>_BESCR ,FLAG_READ_WRITE_SET ,SPR_PER_PT ,64)\
_op_(BESCRSU ,801 , ECP.EC.SD.SDE.T<??T>_BESCR ,FLAG_READ_WRITE_SET ,SPR_PER_PT ,32)\
_op_(BESCRR ,802 , ECP.EC.SD.SDE.T<??T>_BESCR ,FLAG_READ_WRITE_RESET ,SPR_PER_PT ,64)\
_op_(BESCRRU ,803 , ECP.EC.SD.SDE.T<??T>_BESCR ,FLAG_READ_WRITE_RESET ,SPR_PER_PT ,32)\
_op_(EBBHR ,804 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(EBBRR ,805 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(BESCR ,806 , ECP.EC.SD.SDE.T<??T>_BESCR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(ASDR ,816 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(PSSCR_SU ,823 , ECP.EC.PC.PMC.V<??T>_PSSCR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(IC ,848 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(VTB ,849 , N/A ,FLAG_READ_WRITE ,SPR_PER_LPAR_VT ,64)\
_op_(LDBAR ,850 , ECP.EC.PC.IMA.L<??T>_LDBAR ,FLAG_READ_WRITE ,SPR_PER_LPAR_VT ,64)\
_op_(MMCRC ,851 , ECP.EC.PC.PMU.PMUC.MMCRC ,FLAG_READ_WRITE ,SPR_SHARED ,32)\
_op_(PMSR ,853 , ECP.EC.PC.COMMON.SPR_COMMON.PMSR ,FLAG_READ_ONLY ,SPR_SHARED ,32)\
_op_(PSSCR ,855 , ECP.EC.PC.PMC.V<??T>_PSSCR ,FLAG_READ_WRITE ,SPR_PER_VT ,64)\
_op_(L2QOSR ,861 , ECP.EC.MU.L2QOSR_SHADOW ,FLAG_WRITE_ONLY ,SPR_PER_CORE ,64)\
_op_(TRIG0 ,880 , N/A ,FLAG_WRITE_ONLY ,SPR_PER_PT ,64)\
_op_(TRIG1 ,881 , N/A ,FLAG_WRITE_ONLY ,SPR_PER_PT ,64)\
_op_(TRIG2 ,882 , N/A ,FLAG_WRITE_ONLY ,SPR_PER_PT ,64)\
_op_(PMCR ,884 , ECP.EC.PC.COMMON.SPR_COMMON.PMCR ,FLAG_READ_WRITE ,SPR_PER_CORE ,64)\
_op_(RWMR ,885 , ECP.EC.PC.RWMR ,FLAG_READ_WRITE ,SPR_SHARED ,64)\
_op_(WORT ,895 , ECP.EC.IFU.T<??T>_WORT ,FLAG_READ_WRITE ,SPR_PER_PT ,18)\
_op_(PPR ,896 , ECP.EC.SD.SDE.T<??T>_PPR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(PPR32 ,898 , N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(TSCR ,921 , ECP.EC.SD.SDE.TSCR ,FLAG_READ_WRITE ,SPR_SHARED ,32)\
_op_(TTR ,922 , ECP.EC.SD.SDE.TTR ,FLAG_READ_WRITE ,SPR_SHARED ,64)\
_op_(TRACE ,1006, N/A ,FLAG_WRITE_ONLY ,SPR_SHARED ,64)\
_op_(HID ,1008, ECP.EC.PC.PMU.SPRCOR.HID ,FLAG_READ_WRITE ,SPR_SHARED ,64)\
_op_(PIR ,1023, ECP.EC.PC.PMU.SPRCOR.PIR ,FLAG_READ_ONLY ,SPR_PER_VT ,32)\
_op_(NIA ,2000, ECP.EC.IFU.T<??T>_NIA ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(MSRD ,2001, ECP.EC.SD.SDE.T<??T>_MSR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(CR ,2002, N/A ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(FPSCR ,2003, ECP.EC.VS.FPSCR_STICKY_T<??T> ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(VSCR ,2004, ECP.EC.VS.VSCR_T<??T> ,FLAG_READ_WRITE ,SPR_PER_PT ,32)\
_op_(MSR ,2005, ECP.EC.SD.SDE.T<??T>_MSR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(MSR_L1 ,2006, ECP.EC.SD.SDE.T<??T>_MSR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)\
_op_(MSRD_L1 ,2007, ECP.EC.SD.SDE.T<??T>_MSR ,FLAG_READ_WRITE ,SPR_PER_PT ,64)
#define DO_SPR_MAP(in_name, in_number, in_spy_name, in_flag, in_share_type, in_bit_length)\
if (std::string(#in_spy_name).find(INVALID_PATTERN_FIXME) == std::string::npos) { \
SPRMapEntry entry##in_name; \
entry##in_name.number = in_number; \
entry##in_name.spy_name = #in_spy_name; \
entry##in_name.flag = in_flag; \
entry##in_name.share_type = in_share_type; \
entry##in_name.bit_length = in_bit_length; \
SPR_MAP[#in_name] = entry##in_name; \
SPR_NAMES_ALL.push_back(#in_name); \
if (in_flag == FLAG_READ_ONLY) \
{ \
SPR_NAMES_RO.push_back(#in_name); \
} \
if (in_flag == FLAG_WRITE_ONLY) \
{ \
SPR_NAMES_WO.push_back(#in_name); \
} \
if (SPR_FLAG_READ_ACCESS(in_flag) && SPR_FLAG_WRITE_ACCESS(in_flag)) \
{ \
SPR_NAMES_RW.push_back(#in_name); \
} \
}
extern "C" {
//-----------------------------------------------------------------------------------
// Function prototype
//-----------------------------------------------------------------------------------
/// @brief Initialize the map between SPR name and SPR number
/// @return TRUE if the mapping completes successfully
//
bool p10_spr_name_map_init();
//-----------------------------------------------------------------------------------
/// @brief Check read-write mode for a SPR register access
/// @param[in] i_reg_flag => read-write mode of the SPR register
/// @param[in] i_write => indicate true if intending to write to SPR
// indicate false if only intending to read
/// @return TRUE if the read-write mode check completes successfully
//
bool p10_spr_name_map_check_flag(const Enum_AccessType i_reg_flag, const bool i_write);
//-----------------------------------------------------------------------------------
/// @brief Map SPR name to SPR number
/// @param[in] i_name => SPR name
/// @param[in] i_write => indicate write/read SPR
/// @param[out] o_number => SPR number
/// @return TRUE if the mapping completes successfully
//
bool p10_spr_name_map(const std::string i_name,
const bool i_write,
uint32_t& o_number);
//-----------------------------------------------------------------------------------
/// @brief Get share type of SPR
/// @param[in] i_name => SPR name
/// @param[out] o_share_type => share type
/// @return TRUE if the o_share_type is valid
//
bool p10_get_share_type(const std::string i_name,
Enum_ShareType& o_share_type);
//-----------------------------------------------------------------------------------
/// @brief Get bit length of SPR
/// @param[in] i_name => SPR name
/// @param[out] o_bit_length => bit length
/// @return TRUE if the o_bit_length is valid
//
bool p10_get_bit_length(const std::string i_name,
uint8_t& o_bit_length);
//-----------------------------------------------------------------------------------
/// @brief Get SPR map entry
/// @param[in] i_name => SPR name
/// @param[out] o_spr_entry => SPR map entry
/// @return TRUE if the o_spr_entry is valid
//
bool p10_get_spr_entry(const std::string i_name,
SPRMapEntry& o_spr_entry);
//-----------------------------------------------------------------------------------
/// @brief Get SPR access type
/// @param[in] i_name => SPR name
/// @return access type flag, return FLAG_NO_ACCESS if SPR name not found.
//
Enum_AccessType p10_spr_name_map_get_access(std::string& i_name);
//-----------------------------------------------------------------------------------
/// @brief Get a random SPR name
/// @param[in] i_reg_access_flag => desired read-write access mode of the random SPR register
/// @param[in] i_sequential_selection => sequential selection instead of random selection of SPR
/// @param[out] o_name => random SPR name
/// @return access mode of the returned SPR
Enum_AccessType p10_get_random_spr_name(const Enum_AccessType i_reg_access_flag,
const bool i_sequential_selection,
std::string& o_name);
} //extern"C"
#endif //_P10_SPR_NAME_MAP_H_
|
388a4ec5fc245f3bdd14e92ea5531bc308d1033c | ab804b4e9854420ab6a3b52f3b34cec3953a7f69 | /2/OutOfRangeException.cpp | e5a4a307987237d9338f978ec4b8c26a87416f5f | [] | no_license | bullockwp/Learning-C-for-Data-Sci | f47ab9b6df715c67951a97ee8f6326da066eaed5 | f3478b90aed370467dc80e55d929d2b0a77a5385 | refs/heads/master | 2021-04-15T14:30:27.726640 | 2018-03-22T12:08:01 | 2018-03-22T12:08:01 | 126,328,216 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | OutOfRangeException.cpp | #include "OutOfRangeException.hpp"
OutOfRangeException::OutOfRangeException()
{
SetmTag("none");
SetmProblem("itsok");
}
OutOfRangeException::OutOfRangeException(std::string prob)
{
SetmTag(prob);
SetmProblem("it's out of range idiot!");
}
|
b3814503ce46ed3df5011490b05630ad56d6ad91 | ab150515ab6d9bfe978a64af56d18a6c519179d0 | /src/fileutil.h | 02af0d6e3011abacf13a0a1b436d476e79799e7d | [
"MIT"
] | permissive | dlarudgus20/viterbi | 10ea49304ce8cc9189d3b9f87d8dee3b181dce96 | 92016c3740333d56e19da30425d0e6ac4cc1907e | refs/heads/master | 2020-04-06T13:15:24.060317 | 2018-11-27T17:19:09 | 2018-11-27T17:19:09 | 157,491,164 | 0 | 0 | null | 2018-11-14T04:34:18 | 2018-11-14T04:34:18 | null | UTF-8 | C++ | false | false | 252 | h | fileutil.h | #ifndef FILEUTIL_H_
#define FILEUTIL_H_
#include <vector>
#include <string>
using namespace std;
int listFilePaths (string prefix, string dir, vector<string> &paths);
int listAllInputPaths (string prefix, vector<string> &paths);
#endif
|
1663d4c5296206ae85a44ff1e93c246fa28346b6 | 56d39c1d728597f1f106760931777927e8308434 | /LastFm/agg/matMsg.cpp | ee237a976ffd160e1da3a466abc65d07c057acbf | [] | no_license | yanjunrepo/dp_coupling | f07ae030e7b77e4344ea23c7fe536228a22642d2 | a35130f1502ccb615af1bbd3ff230b8188113f13 | refs/heads/master | 2022-06-21T09:45:48.082398 | 2020-05-08T10:21:28 | 2020-05-08T10:21:28 | 262,233,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cpp | matMsg.cpp | //
// Created by Yanjun zhang on 2020-08-03.
//
#include <iostream>
#include <Eigen/Dense>
#include <vector>
#include <string>
#include <cstdlib>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <zmq.h>
void matMsg_agg(int row, int column) {
void *context = zmq_init (1);
void *responder = zmq_socket (context, ZMQ_REP);
zmq_bind (responder, "tcp://*:8887");
zmq_msg_t request;
zmq_msg_init (&request);
zmq_recvmsg (responder, &request, 0);
int size = zmq_msg_size(&request);
double *buf = (double *) malloc(size + 1);
memcpy(buf, zmq_msg_data(&request), size);
Eigen::MatrixXd eigenX = Eigen::Map<Eigen::MatrixXd>( buf, row, column );
zmq_msg_close (&request);
free(buf);//
double buffer[ row * column ];
for (int i = 0; i < column; ++i) {
Eigen::Map< Eigen::MatrixXd>(&buffer[i * row], row, 1) = eigenX.col(i);
}
zmq_msg_t reply;
zmq_msg_init_size (&reply, row * column * 8);
memcpy (zmq_msg_data (&reply), buffer, row * column * 8);
zmq_sendmsg (responder, &reply, 0);
zmq_msg_close (&reply);
zmq_close (responder);
zmq_term (context);
}
|
8b3afef4dd3b647932c63c7a07083ac533339cc7 | 3e0f1ba5574a0fea7cff78f8eb083252db7633f1 | /image_pro/11_week_rotation.cpp | 49b66aed8c4e5cc960ca01efbe65e39feaf007b7 | [] | no_license | Soo-Bin/multimidea_lecture | 11fa1aebf713e25d9f106b5c58b39084139e1ca9 | 144788687f6613e5ab4d29a9686d7c47f6bda003 | refs/heads/master | 2020-05-25T19:22:02.161465 | 2017-06-12T16:41:05 | 2017-06-12T16:41:05 | 84,958,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,328 | cpp | 11_week_rotation.cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <malloc.h>
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace cv;
#define PI 3.14159265359
int** IntAlloc2(int width, int height);
void IntFree2(int** image, int width, int height);
int** ReadImage(char* name, int* width, int* height);
void WriteImage(char* name, int** image, int width, int height);
void ImageShow(char* winname, int** image, int width, int height);
void CopyImage(int** src, int width, int height, int** dst);
int BilinearInterpolation(int** image, int width, int height, int y, int x)
{
int orig_x = (int)x; //(xcenter + ((double)y - ycenter)*ss + ((double)x - xcenter)*cc)
int orig_y = (int)y;
double delta_x = x - orig_x;
double delta_y = y - orig_y;
double pixel;
uchar P1, P2, P3, P4;
if ((orig_y >= 0 && orig_y < height - 1) && (orig_x >= 0 && orig_x < width - 1)) {
P1 = image[orig_y][orig_x];
P2 = image[orig_y][orig_x + 1];
P3 = image[orig_y + 1][orig_x];
P4 = image[orig_y + 1][orig_x + 1];
}
else {
P1 = 0; P2 = 0; P3 = 0; P4 = 0;
}
if (x < 0 || x >= width - 1 || y < 0 || y >= height - 1)
pixel = 0;
else
pixel = (1 - delta_y)*(P1*(1 - delta_x) + P2*(delta_x)) + (delta_y)*(P3*(1 - delta_x) + P4*(delta_x));
return (int)pixel;
}
void Rotation(int** image, int width, int height, int** image_out, double degree)
{
double radian = degree*PI / 180.0;
double cc = cos(radian), ss = sin(-radian);
double xcenter = (double)width / 2.0, ycenter = (double)height / 2.0;
for (int y = 0; y < height; y++)
for (int x = 0; x < width; x++) {
double _x = (xcenter + ((double)y - ycenter)*ss + ((double)x - xcenter)*cc);
double _y = (ycenter + ((double)y - ycenter)*cc - ((double)x - xcenter)*ss);
image_out[y][x] = BilinearInterpolation(image, width, height, _y, _x);
}
}
void main_11_week_rotation()
{
int width, height;
int** image = ReadImage("Hydrangeas.jpg", &width, &height);
int** image_out = (int**)IntAlloc2(width, height); // image_out[height][width]
Rotation(image, width, height, image_out, 45);
ImageShow("input window", image, width, height);
ImageShow("output window", image_out, width, height);
waitKey(0);
IntFree2(image, width, height);
IntFree2(image_out, width, height);
}
|
fd8f1c8b872b054030c8544ad7e66bb35e6d1880 | 9848398c2de0022f15547a62a81c44d834556146 | /testCapture.cpp | d4e234a635919899f613592dee538d610493f901 | [] | no_license | hortka/autodetect | 6d9fc95bef9a65ce2699f3077c6fce818a273144 | 6a5b7dd92ca5d332e396939309325ccf1189e462 | refs/heads/master | 2020-04-04T09:56:16.989328 | 2019-04-04T06:17:26 | 2019-04-04T06:17:26 | 155,836,665 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,027 | cpp | testCapture.cpp | #include <Windows.h>
#include <stdint.h>
#include <stdio.h>
#include "cv.h"
#include "highgui.h"
using namespace cv;
void Screen();
BOOL HBitmapToMat(HBITMAP& _hBmp,Mat& _mat);
HBITMAP hBmp;
HBITMAP hOld;
void main()
{
while(1)
{
Mat src;
Mat dst;
//屏幕截图
Screen();
//类型转换
HBitmapToMat(hBmp,src);
//调整大小
resize(src,dst,cvSize(640,400),0,0);
imshow("dst",dst);
DeleteObject(hBmp);
waitKey(1);//这里调节帧数 现在200ms是5帧
}
}
//抓取当前屏幕函数
void Screen(){
HWND hWnd=FindWindow(NULL,"image");
HDC hScreen;
int32_t ScrWidth = 0, ScrHeight = 0;
RECT rect = { 0 };
if (hWnd == NULL)
{
hScreen = CreateDC("DISPLAY", NULL, NULL, NULL);
ScrWidth = GetDeviceCaps(hScreen, HORZRES);
ScrHeight = GetDeviceCaps(hScreen, VERTRES);
}
else
{
hScreen = GetDC(hWnd);
GetWindowRect(hWnd, &rect);
ScrWidth = rect.right - rect.left;
ScrHeight = rect.bottom - rect.top;
}
//创建画板
//HDC hScreen = CreateDC("DISPLAY", NULL, NULL, NULL);
HDC hCompDC = CreateCompatibleDC(hScreen);
//取屏幕宽度和高度
//int nWidth = GetSystemMetrics(SM_CXSCREEN);
//int nHeight = GetSystemMetrics(SM_CYSCREEN);
//创建Bitmap对象
hBmp = CreateCompatibleBitmap(hScreen, ScrWidth, ScrHeight);
hOld = (HBITMAP)SelectObject(hCompDC, hBmp);
BitBlt(hCompDC, 0, 0, ScrWidth, ScrHeight, hScreen, 0, 0, SRCCOPY);
SelectObject(hCompDC, hOld);
//释放对象
DeleteDC(hScreen);
DeleteDC(hCompDC);
}
//把HBITMAP型转成Mat型
BOOL HBitmapToMat(HBITMAP& _hBmp,Mat& _mat)
{
//BITMAP操作
BITMAP bmp;
GetObject(_hBmp,sizeof(BITMAP),&bmp);
int nChannels = bmp.bmBitsPixel == 1 ? 1 : bmp.bmBitsPixel/8 ;
int depth = bmp.bmBitsPixel == 1 ? IPL_DEPTH_1U : IPL_DEPTH_8U;
//mat操作
Mat v_mat;
v_mat.create(cvSize(bmp.bmWidth,bmp.bmHeight), CV_MAKETYPE(CV_8U,nChannels));
GetBitmapBits(_hBmp,bmp.bmHeight*bmp.bmWidth*nChannels,v_mat.data);
_mat=v_mat;
return TRUE;
} |
689f4ff8e1181fd5fe18e61d3b06798b7f4b330a | 0d38154dd9ab5e447874cec0554b3ad7796f35a0 | /top_2493.cpp | 261fee9d54b2f24204e41ff209075b264fa9c923 | [] | no_license | gwanghui/gwangsSourceJava | 11aa2ccd4137faa5bc3fc8733294656cfcc324f8 | 5ef80cbc4df2567b21a995810f4d0bc710a0a74b | refs/heads/master | 2020-05-02T16:30:31.129350 | 2016-08-22T14:47:04 | 2016-08-22T14:47:04 | 29,085,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp | top_2493.cpp | #include <iostream>
#include <stack>
using namespace std;
stack<int*> s;
int N = 0;
int values[500000][2];
int result[500000];
int main(int argc, char* argv) {
scanf("%d", &N);
for (int i = 0; i < N; i++) {
scanf("%d", &values[i][0]);
values[i][1] = i;
}
s.push(values[N - 1]);
for (int i = N - 2; i >= 0; i--) {
int* before = values[i + 1];
int* current = values[i];
if (current[0] > before[0] && !s.empty()) {
while (!s.empty()) {
int* check = s.top();
if (current[0] > check[0]) {
result[check[1]] = current[1] + 1;
s.pop();
} else {
break;
}
}
}
s.push(current);
}
for (int i = 0; i < N; i++) {
printf("%d ",result[i]);
}
return 0;
}
|
f4967db42284536d38c708e336c86f2d742f6a95 | 4c8e61ea99f15d04174222101360321d11dda1de | /src/DjvuLib.Shared/Document.cpp | a6fb3f88313b63fe4508078d6c2d9fa5eeea050f | [
"Apache-2.0"
] | permissive | eadordzhiev/DjvuLib | 0b652c64663bc2515fdacdcffa5e93ceee1eebc7 | cbbe626708630e8d2abe5ba3ffed1d1d744700ca | refs/heads/master | 2021-01-15T15:31:16.744081 | 2018-01-20T00:01:35 | 2018-01-20T00:06:23 | 54,138,487 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,178 | cpp | Document.cpp | #include "pch.h"
#include "Document.h"
#include "libdjvu\DjVuImage.h"
#include "libdjvu\DjVuDocument.h"
#include "libdjvu\DjVmNav.h"
#include "libdjvu\DjVuText.h"
#include "libdjvu\ddjvuapi.h"
#include "WinrtByteStream.h"
using namespace concurrency;
using namespace std;
using namespace Platform;
using namespace Platform::Collections;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::Storage;
using namespace Windows::Storage::Streams;
using namespace DjvuApp::Djvu;
IAsyncOperation<DjvuDocument^>^ DjvuDocument::LoadAsync(IStorageFile^ file)
{
return create_async([=]
{
return create_task(file->OpenReadAsync())
.then([file](IRandomAccessStreamWithContentType^ stream)
{
return ref new DjvuDocument(stream);
}, task_continuation_context::use_arbitrary());
});
}
DjvuDocument::DjvuDocument(IRandomAccessStream^ stream)
{
GP<ByteStream> bs = new WinrtByteStream(stream);
context = ddjvu_context_create(nullptr);
document = ddjvu_document_create_by_bytestream(context, bs, false);
if (document == nullptr || ddjvu_document_decoding_error(document))
{
throw ref new FailureException(L"Failed to decode the document.");
}
auto djvuDocument = ddjvu_get_DjVuDocument(document);
auto doctype = djvuDocument->get_doc_type();
if (doctype != DjVuDocument::DOC_TYPE::SINGLE_PAGE && doctype != DjVuDocument::DOC_TYPE::BUNDLED)
{
throw ref new NotImplementedException(L"Unsupported document type. Only bundled and single page documents are supported.");
}
pageCount = djvuDocument->get_pages_num();
pageInfos = ref new Platform::Array<PageInfo>(pageCount);
for (unsigned int i = 0; i < pageCount; i++)
{
ddjvu_pageinfo_t ddjvuinfo;
ddjvu_document_get_pageinfo(document, i, &ddjvuinfo);
PageInfo pageInfo;
pageInfo.Width = ddjvuinfo.width;
pageInfo.Height = ddjvuinfo.height;
pageInfo.Dpi = ddjvuinfo.dpi;
pageInfos[i] = pageInfo;
}
}
DjvuDocument::~DjvuDocument()
{
if (document != nullptr)
{
ddjvu_document_release(document);
document = nullptr;
}
if (context != nullptr)
{
ddjvu_context_release(context);
context = nullptr;
}
}
Array<PageInfo>^ DjvuDocument::GetPageInfos()
{
return ref new Array<PageInfo>(pageInfos);
}
IAsyncOperation<IVectorView<DjvuOutlineItem^>^>^ DjvuDocument::GetOutlineAsync()
{
return create_async([=]
{
return DjvuOutlineItem::GetOutline(document);
});
}
IAsyncOperation<TextLayerZone^>^ DjvuDocument::GetTextLayerAsync(uint32_t pageNumber)
{
return create_async([=]
{
return TextLayerZone::GetTextLayer(document, pageNumber);
});
}
DjvuPage^ DjvuDocument::GetPage(uint32_t pageNumber)
{
auto page = ddjvu_page_create_by_pageno(document, pageNumber - 1);
if (page == nullptr || ddjvu_page_decoding_error(page))
{
throw ref new FailureException("Failed to decode the page.");
}
return ref new DjvuPage(page, this, pageNumber);
}
IAsyncOperation<DjvuPage^>^ DjvuDocument::GetPageAsync(uint32_t pageNumber)
{
if (pageNumber < 1 || pageNumber > pageCount)
{
throw ref new InvalidArgumentException("pageNumber is out of range");
}
return create_async([=] {
return GetPage(pageNumber);
});
} |
3cf809bb6cdaee6323dec2b61692004c486da5c5 | 8c8820fb84dea70d31c1e31dd57d295bd08dd644 | /Renderer/Private/BasePassRendering.inl | 810f554e38674292a54a6d942ab69ea4409a9ab2 | [] | no_license | redisread/UE-Runtime | e1a56df95a4591e12c0fd0e884ac6e54f69d0a57 | 48b9e72b1ad04458039c6ddeb7578e4fc68a7bac | refs/heads/master | 2022-11-15T08:30:24.570998 | 2020-06-20T06:37:55 | 2020-06-20T06:37:55 | 274,085,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,731 | inl | BasePassRendering.inl | // Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
BasePassRendering.inl: Base pass rendering implementations.
(Due to forward declaration issues)
=============================================================================*/
#pragma once
#include "CoreFwd.h"
class FMeshMaterialShader;
class FPrimitiveSceneProxy;
class FRHICommandList;
class FSceneView;
class FVertexFactory;
class FViewInfo;
struct FMeshBatch;
struct FMeshBatchElement;
struct FMeshDrawingRenderState;
template<typename LightMapPolicyType>
void TBasePassVertexShaderPolicyParamType<LightMapPolicyType>::GetShaderBindings(
const FScene* Scene,
ERHIFeatureLevel::Type FeatureLevel,
const FPrimitiveSceneProxy* PrimitiveSceneProxy,
const FMaterialRenderProxy& MaterialRenderProxy,
const FMaterial& Material,
const FMeshPassProcessorRenderState& DrawRenderState,
const TBasePassShaderElementData<LightMapPolicyType>& ShaderElementData,
FMeshDrawSingleShaderBindings& ShaderBindings) const
{
FMeshMaterialShader::GetShaderBindings(Scene, FeatureLevel, PrimitiveSceneProxy, MaterialRenderProxy, Material, DrawRenderState, ShaderElementData, ShaderBindings);
if (Scene)
{
FRHIUniformBuffer* ReflectionCaptureUniformBuffer = Scene->UniformBuffers.ReflectionCaptureUniformBuffer.GetReference();
ShaderBindings.Add(ReflectionCaptureBuffer, ReflectionCaptureUniformBuffer);
}
else
{
ShaderBindings.Add(ReflectionCaptureBuffer, DrawRenderState.GetReflectionCaptureUniformBuffer());
}
LightMapPolicyType::GetVertexShaderBindings(
PrimitiveSceneProxy,
ShaderElementData.LightMapPolicyElementData,
this,
ShaderBindings);
}
template<typename LightMapPolicyType>
void TBasePassVertexShaderPolicyParamType<LightMapPolicyType>::GetElementShaderBindings(
const FShaderMapPointerTable& PointerTable,
const FScene* Scene,
const FSceneView* ViewIfDynamicMeshCommand,
const FVertexFactory* VertexFactory,
const EVertexInputStreamType InputStreamType,
ERHIFeatureLevel::Type FeatureLevel,
const FPrimitiveSceneProxy* PrimitiveSceneProxy,
const FMeshBatch& MeshBatch,
const FMeshBatchElement& BatchElement,
const TBasePassShaderElementData<LightMapPolicyType>& ShaderElementData,
FMeshDrawSingleShaderBindings& ShaderBindings,
FVertexInputStreamArray& VertexStreams) const
{
FMeshMaterialShader::GetElementShaderBindings(PointerTable, Scene, ViewIfDynamicMeshCommand, VertexFactory, InputStreamType, FeatureLevel, PrimitiveSceneProxy, MeshBatch, BatchElement, ShaderElementData, ShaderBindings, VertexStreams);
}
template<typename LightMapPolicyType>
void TBasePassPixelShaderPolicyParamType<LightMapPolicyType>::GetShaderBindings(
const FScene* Scene,
ERHIFeatureLevel::Type FeatureLevel,
const FPrimitiveSceneProxy* PrimitiveSceneProxy,
const FMaterialRenderProxy& MaterialRenderProxy,
const FMaterial& Material,
const FMeshPassProcessorRenderState& DrawRenderState,
const TBasePassShaderElementData<LightMapPolicyType>& ShaderElementData,
FMeshDrawSingleShaderBindings& ShaderBindings) const
{
FMeshMaterialShader::GetShaderBindings(Scene, FeatureLevel, PrimitiveSceneProxy, MaterialRenderProxy, Material, DrawRenderState, ShaderElementData, ShaderBindings);
if (Scene)
{
FRHIUniformBuffer* ReflectionCaptureUniformBuffer = Scene->UniformBuffers.ReflectionCaptureUniformBuffer.GetReference();
ShaderBindings.Add(ReflectionCaptureBuffer, ReflectionCaptureUniformBuffer);
}
else
{
ShaderBindings.Add(ReflectionCaptureBuffer, DrawRenderState.GetReflectionCaptureUniformBuffer());
}
LightMapPolicyType::GetPixelShaderBindings(
PrimitiveSceneProxy,
ShaderElementData.LightMapPolicyElementData,
this,
ShaderBindings);
} |
0d10ba945a32be1fc3e240b0dcc1f469e58245f2 | 6f998bc0963dc3dfc140475a756b45d18a712a1e | /Source/AnimationLib/PudgeRunState.h | 2ea74b01400bacfc6faf0af328eb094dded0aec3 | [] | no_license | iomeone/PudgeNSludge | d4062529053c4c6d31430e74be20e86f9d04e126 | 55160d94f9ef406395d26a60245df1ca3166b08d | refs/heads/master | 2021-06-11T09:45:04.035247 | 2016-05-25T05:57:08 | 2016-05-25T05:57:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | PudgeRunState.h | #ifndef PUDGERUNSTATE_H_
#define PUDGERUNSTATE_H_
#include "State.h"
__declspec(align(32))
class PudgeRunState : public State
{
private:
PudgeRunState(void) {}
PudgeRunState( const PudgeRunState &) {}
const PudgeRunState& operator = (const PudgeRunState& ) {}
public:
~PudgeRunState(void);
static PudgeRunState* GetState();
void Enter(CComponent_Animation* pComponent);
void Execute(CComponent_Animation* pComponent, float fTime);
void Exit(CComponent_Animation* pComponent);
};
#endif
|
115dbed5228e95be378dfc0784e0acc875642d66 | 9353f7236ddf17f8b26e9536e56a68762e859a64 | /TestDigitalSign/rsaPair.h | b3a8dc38ce333a4f678b7722ae7bb2f6ad452ba1 | [] | no_license | zhouhuamin/year2018testproject | 9ee58dee1b88c8a2b6d27cf6137b563459893a7d | 5c13f6c60d2990677988cf1b953fb6729139bf9a | refs/heads/master | 2020-03-07T05:55:04.345748 | 2018-03-29T15:16:17 | 2018-03-29T15:16:17 | 127,308,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | rsaPair.h | /*
* File: rsaPair.h
* Author: root
*
* Created on 2017年1月13日, 下午12:05
*/
#ifndef RSAPAIR_H
#define RSAPAIR_H
#include <iostream>
#include <string>
#include <sstream>
#include <openssl/rsa.h>
#include <openssl/pem.h>
#include <openssl/err.h>
#include <openssl/bn.h> // this is for the BN_new
class rsaPair {
public:
rsaPair();
rsaPair(const rsaPair& orig);
rsaPair ( std::string pub_k_path , std::string pri_key_path, std::string psword ) ;
virtual ~rsaPair();
private:
public:
int create_key_pair () ;
private :
std::string pub_key_path ;
std::string pri_key_path ;
std::string password ;
RSA *pub_key ;
RSA *pri_key ;
};
#endif /* RSAPAIR_H */
|
a9b364b02ec5a169cfe153817201f75133bb2309 | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /ecs/src/v2/model/CreateServerNicAllowedAddressPairs.cpp | eaa88ba70cdb04729693eab9cfa761c695414c79 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 2,607 | cpp | CreateServerNicAllowedAddressPairs.cpp |
#include "huaweicloud/ecs/v2/model/CreateServerNicAllowedAddressPairs.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Ecs {
namespace V2 {
namespace Model {
CreateServerNicAllowedAddressPairs::CreateServerNicAllowedAddressPairs()
{
ipAddress_ = "";
ipAddressIsSet_ = false;
macAddress_ = "";
macAddressIsSet_ = false;
}
CreateServerNicAllowedAddressPairs::~CreateServerNicAllowedAddressPairs() = default;
void CreateServerNicAllowedAddressPairs::validate()
{
}
web::json::value CreateServerNicAllowedAddressPairs::toJson() const
{
web::json::value val = web::json::value::object();
if(ipAddressIsSet_) {
val[utility::conversions::to_string_t("ip_address")] = ModelBase::toJson(ipAddress_);
}
if(macAddressIsSet_) {
val[utility::conversions::to_string_t("mac_address")] = ModelBase::toJson(macAddress_);
}
return val;
}
bool CreateServerNicAllowedAddressPairs::fromJson(const web::json::value& val)
{
bool ok = true;
if(val.has_field(utility::conversions::to_string_t("ip_address"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("ip_address"));
if(!fieldValue.is_null())
{
std::string refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setIpAddress(refVal);
}
}
if(val.has_field(utility::conversions::to_string_t("mac_address"))) {
const web::json::value& fieldValue = val.at(utility::conversions::to_string_t("mac_address"));
if(!fieldValue.is_null())
{
std::string refVal;
ok &= ModelBase::fromJson(fieldValue, refVal);
setMacAddress(refVal);
}
}
return ok;
}
std::string CreateServerNicAllowedAddressPairs::getIpAddress() const
{
return ipAddress_;
}
void CreateServerNicAllowedAddressPairs::setIpAddress(const std::string& value)
{
ipAddress_ = value;
ipAddressIsSet_ = true;
}
bool CreateServerNicAllowedAddressPairs::ipAddressIsSet() const
{
return ipAddressIsSet_;
}
void CreateServerNicAllowedAddressPairs::unsetipAddress()
{
ipAddressIsSet_ = false;
}
std::string CreateServerNicAllowedAddressPairs::getMacAddress() const
{
return macAddress_;
}
void CreateServerNicAllowedAddressPairs::setMacAddress(const std::string& value)
{
macAddress_ = value;
macAddressIsSet_ = true;
}
bool CreateServerNicAllowedAddressPairs::macAddressIsSet() const
{
return macAddressIsSet_;
}
void CreateServerNicAllowedAddressPairs::unsetmacAddress()
{
macAddressIsSet_ = false;
}
}
}
}
}
}
|
945ae8d3dcea5b6ba28a563e536c220e871e89f4 | daa94c8f8f48a3e3d469451b7a58de66458d6cbd | /fastpb/cpp/PBMsgHeader.pb.cc | bee63caa141311ca145c11c7a5714606b7040730 | [] | no_license | JoeChen999/proto | 88590e5a059a722a0bcfe7e8a309b36a7700ef56 | 63cde28c6f37755d75727a670438da9391244a8c | refs/heads/master | 2021-01-17T15:02:26.136781 | 2016-09-22T06:22:16 | 2016-09-22T06:22:16 | 68,891,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 37,389 | cc | PBMsgHeader.pb.cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PBMsgHeader.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "PBMsgHeader.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite_inl.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/reflection_ops.h>
#include <google/protobuf/wire_format.h>
// @@protoc_insertion_point(includes)
namespace {
const ::google::protobuf::Descriptor* PBMsgHeader_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
PBMsgHeader_reflection_ = NULL;
} // namespace
void protobuf_AssignDesc_PBMsgHeader_2eproto() {
protobuf_AddDesc_PBMsgHeader_2eproto();
const ::google::protobuf::FileDescriptor* file =
::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
"PBMsgHeader.proto");
GOOGLE_CHECK(file != NULL);
PBMsgHeader_descriptor_ = file->message_type(0);
static const int PBMsgHeader_offsets_[15] = {
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, naid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, gcuid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, gcunick_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, mobileid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, platformid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, becomeuserid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, becomepassword_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, debug_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, gver_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, gameslot_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, theme_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, newlang_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, gamenumber_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, kabamid_),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, access_token_),
};
PBMsgHeader_reflection_ =
new ::google::protobuf::internal::GeneratedMessageReflection(
PBMsgHeader_descriptor_,
PBMsgHeader::default_instance_,
PBMsgHeader_offsets_,
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, _has_bits_[0]),
GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(PBMsgHeader, _unknown_fields_),
-1,
::google::protobuf::DescriptorPool::generated_pool(),
::google::protobuf::MessageFactory::generated_factory(),
sizeof(PBMsgHeader));
}
namespace {
GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
inline void protobuf_AssignDescriptorsOnce() {
::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
&protobuf_AssignDesc_PBMsgHeader_2eproto);
}
void protobuf_RegisterTypes(const ::std::string&) {
protobuf_AssignDescriptorsOnce();
::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
PBMsgHeader_descriptor_, &PBMsgHeader::default_instance());
}
} // namespace
void protobuf_ShutdownFile_PBMsgHeader_2eproto() {
delete PBMsgHeader::default_instance_;
delete PBMsgHeader_reflection_;
}
void protobuf_AddDesc_PBMsgHeader_2eproto() {
static bool already_here = false;
if (already_here) return;
already_here = true;
GOOGLE_PROTOBUF_VERIFY_VERSION;
::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
"\n\021PBMsgHeader.proto\"\231\002\n\013PBMsgHeader\022\014\n\004n"
"aId\030\001 \002(\t\022\r\n\005gcUid\030\002 \002(\t\022\017\n\007gcUnick\030\003 \002("
"\t\022\020\n\010mobileId\030\004 \002(\t\022\022\n\nplatformId\030\005 \002(\005\022"
"\024\n\014becomeUserId\030\006 \002(\t\022\026\n\016becomePassword\030"
"\007 \002(\t\022\r\n\005debug\030\010 \002(\005\022\014\n\004gVer\030\t \002(\t\022\020\n\010ga"
"meSlot\030\n \002(\003\022\r\n\005theme\030\013 \002(\005\022\017\n\007newLang\030\014"
" \002(\t\022\022\n\ngameNumber\030\r \002(\003\022\017\n\007kabamId\030\016 \001("
"\t\022\024\n\014access_token\030\017 \001(\t", 303);
::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
"PBMsgHeader.proto", &protobuf_RegisterTypes);
PBMsgHeader::default_instance_ = new PBMsgHeader();
PBMsgHeader::default_instance_->InitAsDefaultInstance();
::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_PBMsgHeader_2eproto);
}
// Force AddDescriptors() to be called at static initialization time.
struct StaticDescriptorInitializer_PBMsgHeader_2eproto {
StaticDescriptorInitializer_PBMsgHeader_2eproto() {
protobuf_AddDesc_PBMsgHeader_2eproto();
}
} static_descriptor_initializer_PBMsgHeader_2eproto_;
// ===================================================================
#ifndef _MSC_VER
const int PBMsgHeader::kNaIdFieldNumber;
const int PBMsgHeader::kGcUidFieldNumber;
const int PBMsgHeader::kGcUnickFieldNumber;
const int PBMsgHeader::kMobileIdFieldNumber;
const int PBMsgHeader::kPlatformIdFieldNumber;
const int PBMsgHeader::kBecomeUserIdFieldNumber;
const int PBMsgHeader::kBecomePasswordFieldNumber;
const int PBMsgHeader::kDebugFieldNumber;
const int PBMsgHeader::kGVerFieldNumber;
const int PBMsgHeader::kGameSlotFieldNumber;
const int PBMsgHeader::kThemeFieldNumber;
const int PBMsgHeader::kNewLangFieldNumber;
const int PBMsgHeader::kGameNumberFieldNumber;
const int PBMsgHeader::kKabamIdFieldNumber;
const int PBMsgHeader::kAccessTokenFieldNumber;
#endif // !_MSC_VER
PBMsgHeader::PBMsgHeader()
: ::google::protobuf::Message() {
SharedCtor();
}
void PBMsgHeader::InitAsDefaultInstance() {
}
PBMsgHeader::PBMsgHeader(const PBMsgHeader& from)
: ::google::protobuf::Message() {
SharedCtor();
MergeFrom(from);
}
void PBMsgHeader::SharedCtor() {
_cached_size_ = 0;
naid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
gcuid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
gcunick_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
mobileid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
platformid_ = 0;
becomeuserid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
becomepassword_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
debug_ = 0;
gver_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
gameslot_ = GOOGLE_LONGLONG(0);
theme_ = 0;
newlang_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
gamenumber_ = GOOGLE_LONGLONG(0);
kabamid_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
access_token_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
::memset(_has_bits_, 0, sizeof(_has_bits_));
}
PBMsgHeader::~PBMsgHeader() {
SharedDtor();
}
void PBMsgHeader::SharedDtor() {
if (naid_ != &::google::protobuf::internal::kEmptyString) {
delete naid_;
}
if (gcuid_ != &::google::protobuf::internal::kEmptyString) {
delete gcuid_;
}
if (gcunick_ != &::google::protobuf::internal::kEmptyString) {
delete gcunick_;
}
if (mobileid_ != &::google::protobuf::internal::kEmptyString) {
delete mobileid_;
}
if (becomeuserid_ != &::google::protobuf::internal::kEmptyString) {
delete becomeuserid_;
}
if (becomepassword_ != &::google::protobuf::internal::kEmptyString) {
delete becomepassword_;
}
if (gver_ != &::google::protobuf::internal::kEmptyString) {
delete gver_;
}
if (newlang_ != &::google::protobuf::internal::kEmptyString) {
delete newlang_;
}
if (kabamid_ != &::google::protobuf::internal::kEmptyString) {
delete kabamid_;
}
if (access_token_ != &::google::protobuf::internal::kEmptyString) {
delete access_token_;
}
if (this != default_instance_) {
}
}
void PBMsgHeader::SetCachedSize(int size) const {
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
}
const ::google::protobuf::Descriptor* PBMsgHeader::descriptor() {
protobuf_AssignDescriptorsOnce();
return PBMsgHeader_descriptor_;
}
const PBMsgHeader& PBMsgHeader::default_instance() {
if (default_instance_ == NULL) protobuf_AddDesc_PBMsgHeader_2eproto();
return *default_instance_;
}
PBMsgHeader* PBMsgHeader::default_instance_ = NULL;
PBMsgHeader* PBMsgHeader::New() const {
return new PBMsgHeader;
}
void PBMsgHeader::Clear() {
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (has_naid()) {
if (naid_ != &::google::protobuf::internal::kEmptyString) {
naid_->clear();
}
}
if (has_gcuid()) {
if (gcuid_ != &::google::protobuf::internal::kEmptyString) {
gcuid_->clear();
}
}
if (has_gcunick()) {
if (gcunick_ != &::google::protobuf::internal::kEmptyString) {
gcunick_->clear();
}
}
if (has_mobileid()) {
if (mobileid_ != &::google::protobuf::internal::kEmptyString) {
mobileid_->clear();
}
}
platformid_ = 0;
if (has_becomeuserid()) {
if (becomeuserid_ != &::google::protobuf::internal::kEmptyString) {
becomeuserid_->clear();
}
}
if (has_becomepassword()) {
if (becomepassword_ != &::google::protobuf::internal::kEmptyString) {
becomepassword_->clear();
}
}
debug_ = 0;
}
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
if (has_gver()) {
if (gver_ != &::google::protobuf::internal::kEmptyString) {
gver_->clear();
}
}
gameslot_ = GOOGLE_LONGLONG(0);
theme_ = 0;
if (has_newlang()) {
if (newlang_ != &::google::protobuf::internal::kEmptyString) {
newlang_->clear();
}
}
gamenumber_ = GOOGLE_LONGLONG(0);
if (has_kabamid()) {
if (kabamid_ != &::google::protobuf::internal::kEmptyString) {
kabamid_->clear();
}
}
if (has_access_token()) {
if (access_token_ != &::google::protobuf::internal::kEmptyString) {
access_token_->clear();
}
}
}
::memset(_has_bits_, 0, sizeof(_has_bits_));
mutable_unknown_fields()->Clear();
}
bool PBMsgHeader::MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!(EXPRESSION)) return false
::google::protobuf::uint32 tag;
while ((tag = input->ReadTag()) != 0) {
switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// required string naId = 1;
case 1: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_naid()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->naid().data(), this->naid().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(18)) goto parse_gcUid;
break;
}
// required string gcUid = 2;
case 2: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_gcUid:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_gcuid()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->gcuid().data(), this->gcuid().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(26)) goto parse_gcUnick;
break;
}
// required string gcUnick = 3;
case 3: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_gcUnick:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_gcunick()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->gcunick().data(), this->gcunick().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(34)) goto parse_mobileId;
break;
}
// required string mobileId = 4;
case 4: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_mobileId:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_mobileid()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->mobileid().data(), this->mobileid().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(40)) goto parse_platformId;
break;
}
// required int32 platformId = 5;
case 5: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_platformId:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &platformid_)));
set_has_platformid();
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(50)) goto parse_becomeUserId;
break;
}
// required string becomeUserId = 6;
case 6: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_becomeUserId:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_becomeuserid()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->becomeuserid().data(), this->becomeuserid().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(58)) goto parse_becomePassword;
break;
}
// required string becomePassword = 7;
case 7: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_becomePassword:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_becomepassword()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->becomepassword().data(), this->becomepassword().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(64)) goto parse_debug;
break;
}
// required int32 debug = 8;
case 8: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_debug:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &debug_)));
set_has_debug();
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(74)) goto parse_gVer;
break;
}
// required string gVer = 9;
case 9: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_gVer:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_gver()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->gver().data(), this->gver().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(80)) goto parse_gameSlot;
break;
}
// required int64 gameSlot = 10;
case 10: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_gameSlot:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
input, &gameslot_)));
set_has_gameslot();
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(88)) goto parse_theme;
break;
}
// required int32 theme = 11;
case 11: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_theme:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
input, &theme_)));
set_has_theme();
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(98)) goto parse_newLang;
break;
}
// required string newLang = 12;
case 12: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_newLang:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_newlang()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->newlang().data(), this->newlang().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(104)) goto parse_gameNumber;
break;
}
// required int64 gameNumber = 13;
case 13: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
parse_gameNumber:
DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(
input, &gamenumber_)));
set_has_gamenumber();
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(114)) goto parse_kabamId;
break;
}
// optional string kabamId = 14;
case 14: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_kabamId:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_kabamid()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->kabamid().data(), this->kabamid().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectTag(122)) goto parse_access_token;
break;
}
// optional string access_token = 15;
case 15: {
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
parse_access_token:
DO_(::google::protobuf::internal::WireFormatLite::ReadString(
input, this->mutable_access_token()));
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->access_token().data(), this->access_token().length(),
::google::protobuf::internal::WireFormat::PARSE);
} else {
goto handle_uninterpreted;
}
if (input->ExpectAtEnd()) return true;
break;
}
default: {
handle_uninterpreted:
if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
return true;
}
DO_(::google::protobuf::internal::WireFormat::SkipField(
input, tag, mutable_unknown_fields()));
break;
}
}
}
return true;
#undef DO_
}
void PBMsgHeader::SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const {
// required string naId = 1;
if (has_naid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->naid().data(), this->naid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
1, this->naid(), output);
}
// required string gcUid = 2;
if (has_gcuid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->gcuid().data(), this->gcuid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
2, this->gcuid(), output);
}
// required string gcUnick = 3;
if (has_gcunick()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->gcunick().data(), this->gcunick().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
3, this->gcunick(), output);
}
// required string mobileId = 4;
if (has_mobileid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->mobileid().data(), this->mobileid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
4, this->mobileid(), output);
}
// required int32 platformId = 5;
if (has_platformid()) {
::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->platformid(), output);
}
// required string becomeUserId = 6;
if (has_becomeuserid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->becomeuserid().data(), this->becomeuserid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
6, this->becomeuserid(), output);
}
// required string becomePassword = 7;
if (has_becomepassword()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->becomepassword().data(), this->becomepassword().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
7, this->becomepassword(), output);
}
// required int32 debug = 8;
if (has_debug()) {
::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->debug(), output);
}
// required string gVer = 9;
if (has_gver()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->gver().data(), this->gver().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
9, this->gver(), output);
}
// required int64 gameSlot = 10;
if (has_gameslot()) {
::google::protobuf::internal::WireFormatLite::WriteInt64(10, this->gameslot(), output);
}
// required int32 theme = 11;
if (has_theme()) {
::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->theme(), output);
}
// required string newLang = 12;
if (has_newlang()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->newlang().data(), this->newlang().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
12, this->newlang(), output);
}
// required int64 gameNumber = 13;
if (has_gamenumber()) {
::google::protobuf::internal::WireFormatLite::WriteInt64(13, this->gamenumber(), output);
}
// optional string kabamId = 14;
if (has_kabamid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->kabamid().data(), this->kabamid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
14, this->kabamid(), output);
}
// optional string access_token = 15;
if (has_access_token()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->access_token().data(), this->access_token().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
::google::protobuf::internal::WireFormatLite::WriteString(
15, this->access_token(), output);
}
if (!unknown_fields().empty()) {
::google::protobuf::internal::WireFormat::SerializeUnknownFields(
unknown_fields(), output);
}
}
::google::protobuf::uint8* PBMsgHeader::SerializeWithCachedSizesToArray(
::google::protobuf::uint8* target) const {
// required string naId = 1;
if (has_naid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->naid().data(), this->naid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
1, this->naid(), target);
}
// required string gcUid = 2;
if (has_gcuid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->gcuid().data(), this->gcuid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
2, this->gcuid(), target);
}
// required string gcUnick = 3;
if (has_gcunick()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->gcunick().data(), this->gcunick().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
3, this->gcunick(), target);
}
// required string mobileId = 4;
if (has_mobileid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->mobileid().data(), this->mobileid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
4, this->mobileid(), target);
}
// required int32 platformId = 5;
if (has_platformid()) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->platformid(), target);
}
// required string becomeUserId = 6;
if (has_becomeuserid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->becomeuserid().data(), this->becomeuserid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
6, this->becomeuserid(), target);
}
// required string becomePassword = 7;
if (has_becomepassword()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->becomepassword().data(), this->becomepassword().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
7, this->becomepassword(), target);
}
// required int32 debug = 8;
if (has_debug()) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->debug(), target);
}
// required string gVer = 9;
if (has_gver()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->gver().data(), this->gver().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
9, this->gver(), target);
}
// required int64 gameSlot = 10;
if (has_gameslot()) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(10, this->gameslot(), target);
}
// required int32 theme = 11;
if (has_theme()) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->theme(), target);
}
// required string newLang = 12;
if (has_newlang()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->newlang().data(), this->newlang().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
12, this->newlang(), target);
}
// required int64 gameNumber = 13;
if (has_gamenumber()) {
target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(13, this->gamenumber(), target);
}
// optional string kabamId = 14;
if (has_kabamid()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->kabamid().data(), this->kabamid().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
14, this->kabamid(), target);
}
// optional string access_token = 15;
if (has_access_token()) {
::google::protobuf::internal::WireFormat::VerifyUTF8String(
this->access_token().data(), this->access_token().length(),
::google::protobuf::internal::WireFormat::SERIALIZE);
target =
::google::protobuf::internal::WireFormatLite::WriteStringToArray(
15, this->access_token(), target);
}
if (!unknown_fields().empty()) {
target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
unknown_fields(), target);
}
return target;
}
int PBMsgHeader::ByteSize() const {
int total_size = 0;
if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
// required string naId = 1;
if (has_naid()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->naid());
}
// required string gcUid = 2;
if (has_gcuid()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->gcuid());
}
// required string gcUnick = 3;
if (has_gcunick()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->gcunick());
}
// required string mobileId = 4;
if (has_mobileid()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->mobileid());
}
// required int32 platformId = 5;
if (has_platformid()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->platformid());
}
// required string becomeUserId = 6;
if (has_becomeuserid()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->becomeuserid());
}
// required string becomePassword = 7;
if (has_becomepassword()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->becomepassword());
}
// required int32 debug = 8;
if (has_debug()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->debug());
}
}
if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) {
// required string gVer = 9;
if (has_gver()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->gver());
}
// required int64 gameSlot = 10;
if (has_gameslot()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int64Size(
this->gameslot());
}
// required int32 theme = 11;
if (has_theme()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int32Size(
this->theme());
}
// required string newLang = 12;
if (has_newlang()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->newlang());
}
// required int64 gameNumber = 13;
if (has_gamenumber()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::Int64Size(
this->gamenumber());
}
// optional string kabamId = 14;
if (has_kabamid()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->kabamid());
}
// optional string access_token = 15;
if (has_access_token()) {
total_size += 1 +
::google::protobuf::internal::WireFormatLite::StringSize(
this->access_token());
}
}
if (!unknown_fields().empty()) {
total_size +=
::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
unknown_fields());
}
GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
_cached_size_ = total_size;
GOOGLE_SAFE_CONCURRENT_WRITES_END();
return total_size;
}
void PBMsgHeader::MergeFrom(const ::google::protobuf::Message& from) {
GOOGLE_CHECK_NE(&from, this);
const PBMsgHeader* source =
::google::protobuf::internal::dynamic_cast_if_available<const PBMsgHeader*>(
&from);
if (source == NULL) {
::google::protobuf::internal::ReflectionOps::Merge(from, this);
} else {
MergeFrom(*source);
}
}
void PBMsgHeader::MergeFrom(const PBMsgHeader& from) {
GOOGLE_CHECK_NE(&from, this);
if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) {
if (from.has_naid()) {
set_naid(from.naid());
}
if (from.has_gcuid()) {
set_gcuid(from.gcuid());
}
if (from.has_gcunick()) {
set_gcunick(from.gcunick());
}
if (from.has_mobileid()) {
set_mobileid(from.mobileid());
}
if (from.has_platformid()) {
set_platformid(from.platformid());
}
if (from.has_becomeuserid()) {
set_becomeuserid(from.becomeuserid());
}
if (from.has_becomepassword()) {
set_becomepassword(from.becomepassword());
}
if (from.has_debug()) {
set_debug(from.debug());
}
}
if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) {
if (from.has_gver()) {
set_gver(from.gver());
}
if (from.has_gameslot()) {
set_gameslot(from.gameslot());
}
if (from.has_theme()) {
set_theme(from.theme());
}
if (from.has_newlang()) {
set_newlang(from.newlang());
}
if (from.has_gamenumber()) {
set_gamenumber(from.gamenumber());
}
if (from.has_kabamid()) {
set_kabamid(from.kabamid());
}
if (from.has_access_token()) {
set_access_token(from.access_token());
}
}
mutable_unknown_fields()->MergeFrom(from.unknown_fields());
}
void PBMsgHeader::CopyFrom(const ::google::protobuf::Message& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
void PBMsgHeader::CopyFrom(const PBMsgHeader& from) {
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool PBMsgHeader::IsInitialized() const {
if ((_has_bits_[0] & 0x00001fff) != 0x00001fff) return false;
return true;
}
void PBMsgHeader::Swap(PBMsgHeader* other) {
if (other != this) {
std::swap(naid_, other->naid_);
std::swap(gcuid_, other->gcuid_);
std::swap(gcunick_, other->gcunick_);
std::swap(mobileid_, other->mobileid_);
std::swap(platformid_, other->platformid_);
std::swap(becomeuserid_, other->becomeuserid_);
std::swap(becomepassword_, other->becomepassword_);
std::swap(debug_, other->debug_);
std::swap(gver_, other->gver_);
std::swap(gameslot_, other->gameslot_);
std::swap(theme_, other->theme_);
std::swap(newlang_, other->newlang_);
std::swap(gamenumber_, other->gamenumber_);
std::swap(kabamid_, other->kabamid_);
std::swap(access_token_, other->access_token_);
std::swap(_has_bits_[0], other->_has_bits_[0]);
_unknown_fields_.Swap(&other->_unknown_fields_);
std::swap(_cached_size_, other->_cached_size_);
}
}
::google::protobuf::Metadata PBMsgHeader::GetMetadata() const {
protobuf_AssignDescriptorsOnce();
::google::protobuf::Metadata metadata;
metadata.descriptor = PBMsgHeader_descriptor_;
metadata.reflection = PBMsgHeader_reflection_;
return metadata;
}
// @@protoc_insertion_point(namespace_scope)
// @@protoc_insertion_point(global_scope)
|
bb2dea2ddd64e9f4394bfc220a0938d239ef7d36 | db30e5539e5e3f0d96068fee6fd391b8f21ab6ee | /src/calculation.cpp | 3c1707b4cecead26aedfaa0580a232c07e7e2f27 | [] | no_license | SebastianParzych/RPN-CALCULATOR | 087c993c1bc8739838d7fbe3713c2cbf249955e4 | 3cedd4ae43f24be2c16f2f801829ecd278bf7747 | refs/heads/main | 2023-03-16T04:48:53.280344 | 2021-03-06T16:28:35 | 2021-03-06T16:28:35 | 345,139,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,347 | cpp | calculation.cpp | #include "conversion.h"
#include "calculation.h"
using std::cout;
using std::endl;
using std::string;
using std::stringstream;
Calculation::Calculation(Conversion *conv){
this->expression=conv->get_rpn();
}
void Calculation:: substition (long double value){ // replacing x,X with lowe bound + dx value
this->calc_error=false; // reseting calc_error, if previous iteration had incorrect operation
stringstream strs;
strs<<value;
string str = strs.str();
string temp;
for ( int i = 0; i<expression.length(); i ++){
if( expression[i]=='x' || expression[i]=='X'){
if((value>=0)){ // if iteration is netagive, and '-x' is also negtive, minuses cancel out. e.g. ln(-x)
temp+=str;
}else{
if(expression[i-1]=='-'){
temp[i-1]='+';
temp+=str;
}
}
}else{
temp+=expression[i];
}
}
this->expression=temp;
}
long double Calculation::count(long double value){
int p=0; // pointer for stack
long double stack[expression.length()];
std::fill(stack,stack+expression.length(),0);
int factorial=1;
string pom; // string to trasfer substrings of expressions to numbers
long double a,b; // numbers of stack
stringstream ss;
substition(value);
for(int i=0;i<expression.length();i++){ // Calculating expression using reverse polish notation
if(expression[i]=='p' && expression[i+1]=='i'){
stack[p++]=pi;
}
if(expression[i]=='e'){
stack[p++]=e;
}
if(expression[i]=='(' and expression[i+1]=='-'){
pom+='-';
}
if((expression[i]<='9' && expression[i]>='0') || expression[i]=='.'){
pom+=expression[i];
if(expression[i+1]=='_'){
ss.clear();
ss<<pom;
pom.clear();
if(ss >> a){
stack[p++] = a;
}
}
}
if( expression[i]=='$' || expression[i]=='@' || expression[i]=='#' || expression[i]=='&' || expression[i]=='q' || expression[i]=='!'){
a=stack[--p];
switch (expression[i]) {
case '!' :
if(a>=0){
for(int j=a;j>1;j--){
factorial*=j;
}
a=factorial;}
else {
cout<<"The Factorial has to be performed on a natural number."<<endl;
this->calc_error=true;
}
break;
case '$' :
a=sin(a);
break;
case '@':
a=1/tan(a);
if(tan(a)==0){
cout<<"You cannot divide by 0."<<endl;
this->calc_error=true;
}
break;
case '&':
a=tan(a);
break;
case '#':
a=cos(a);
break;
case 'q':
if(a>0)
a=log(a);
else{
this->calc_error=true;
cout<<"Logarithm argument has to be natural number."<<endl;
}
break;
}
stack[p++]=a;
}
if(p>1 && expression[i]=='+'|| expression[i]=='*'||
(expression[i]=='-' && expression[i-1]!='(')||
expression[i]=='/'|| expression[i]=='^'|| expression[i]=='%')
{
b = stack[--p];
a = stack[--p];
switch(expression[i])
{
case '+' : a += b; break;
case '-' : a -= b; break;
case '*' : a *= b; break;
case '/' :
if(b==0){
this->calc_error=true;
cout<<"You cannot divide by 0."<<endl;
}else a /= b;
break;
case '%' : a=a*b/100; break ;
case '^' : a=pow(a,b); break;
}
stack[p++]=a;
}
}
return stack[0];
}
|
9ba508ff91a58680376ba00e7cd5f5fd73cf3a6c | eb7102354979dab936181c42e6ffac01a7809899 | /217_Contains_Duplicate.cpp | 82a4c03ac57ac547d7da38e1e4f667253dd408bb | [] | no_license | hsmakkar/LeetCode-Solutions | d76226332ad163e3450eb29c6050842049dc96cb | 806c761cd793ae0c58dac565dfa7dadabd5d8a9a | refs/heads/master | 2022-11-06T04:13:58.816121 | 2020-06-24T12:21:47 | 2020-06-24T12:21:47 | 268,112,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | 217_Contains_Duplicate.cpp | class Solution {
public:
bool containsDuplicate(vector<int>& a) {
sort(a.begin(),a.end());
for(int i=1;i<a.size();i++)
{
if(a[i]==a[i-1])
return true;
}
return false;
}
};
#Can Solve using HashTable,but this would be faster for large vector
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.