repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
mmaldacker/Vortex2D | Vortex/Renderer/Shapes.cpp | //
// Shapes.cpp
// Vortex
//
#include "Shapes.h"
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/transform.hpp>
#include <Vortex/Renderer/CommandBuffer.h>
#include <Vortex/Renderer/RenderTarget.h>
#include <Vortex/SPIRV/Reflection.h>
#include "vortex_generated_spirv.h"
namespace Vortex
{
namespace Renderer
{
... |
mmaldacker/Vortex2D | Vortex/Renderer/DescriptorSet.cpp | //
// DescriptorSet.cpp
// Vortex
//
#include "DescriptorSet.h"
#include <Vortex/Renderer/Buffer.h>
#include <Vortex/Renderer/Device.h>
#include <Vortex/Renderer/Texture.h>
#include <Vortex/SPIRV/Reflection.h>
namespace Vortex
{
namespace Renderer
{
bool operator==(const ShaderLayout& left, const ShaderLayout& rig... |
mmaldacker/Vortex2D | Tests/Engine/VariationalHelpers.cpp | <filename>Tests/Engine/VariationalHelpers.cpp
//
// VariationalHelpers.cpp
// Vortex
//
#include "VariationalHelpers.h"
float circle_phi(const Vec2f& position, const Vec2f& centre, float radius)
{
return (dist(position, centre) - radius);
}
float boundary_phi(const Vec2f& position)
{
float phi0 = -circle_phi(p... |
mmaldacker/Vortex2D | Tests/Engine/AdvectionTests.cpp | <filename>Tests/Engine/AdvectionTests.cpp
//
// AdvectionTests.cpp
// Vortex
//
#include <Vortex/Engine/Advection.h>
#include <Vortex/Engine/Density.h>
#include <Vortex/Engine/Particles.h>
#include "VariationalHelpers.h"
#include "Verify.h"
using namespace Vortex::Renderer;
using namespace Vortex::Fluid;
extern De... |
mmaldacker/Vortex2D | Vortex/Engine/LinearSolver/Multigrid.cpp | <gh_stars>100-1000
//
// Multigrid.cpp
// Vortex
//
#include "Multigrid.h"
#include <Vortex/Engine/Pressure.h>
#include "vortex_generated_spirv.h"
namespace Vortex
{
namespace Fluid
{
Depth::Depth(const glm::ivec2& size)
{
auto s = size;
mDepths.push_back(s);
const float min_size = 16.0f;
while (s.x > mi... |
mmaldacker/Vortex2D | Tests/main.cpp | <filename>Tests/main.cpp<gh_stars>100-1000
#include <Vortex/Renderer/Device.h>
#include <Vortex/Renderer/Instance.h>
#include <gtest/gtest.h>
Vortex::Renderer::Device* device;
TEST(Vulkan, Init)
{
auto physicalDevice = device->GetPhysicalDevice();
auto properties = physicalDevice.getProperties();
std::cout << "... |
mmaldacker/Vortex2D | Vortex/Engine/LevelSet.cpp | //
// LevelSet.cpp
// Vortex
//
#include "LevelSet.h"
#include <Vortex/Engine/Boundaries.h>
#include <Vortex/Renderer/CommandBuffer.h>
#include "vortex_generated_spirv.h"
namespace Vortex
{
namespace Fluid
{
LevelSet::LevelSet(Renderer::Device& device, const glm::ivec2& size, int reinitializeIterations)
: Ren... |
mmaldacker/Vortex2D | Tests/Engine/BoundariesTests.cpp | <gh_stars>100-1000
//
// BoundariesTests.cpp
// Vortex
//
#include "../Renderer/ShapeDrawer.h"
#include "Verify.h"
#include <glm/gtx/io.hpp>
#include <Vortex/Engine/Boundaries.h>
#include <Vortex/Engine/LevelSet.h>
#include <Vortex/Renderer/Shapes.h>
using namespace Vortex::Renderer;
using namespace Vortex::Fluid... |
mmaldacker/Vortex2D | Vortex/Engine/Advection.cpp | <filename>Vortex/Engine/Advection.cpp
//
// Advection.cpp
// Vortex
//
#include "Advection.h"
#include <Vortex/Engine/Density.h>
#include <Vortex/Renderer/Pipeline.h>
#include "vortex_generated_spirv.h"
namespace Vortex
{
namespace Fluid
{
Advection::Advection(Renderer::Device& device,
const ... |
mmaldacker/Vortex2D | Vortex/Engine/Density.cpp | //
// Density.cpp
// Vortex
//
#include "Density.h"
namespace Vortex
{
namespace Fluid
{
Density::Density(Renderer::Device& device, const glm::ivec2& size, vk::Format format)
: Renderer::RenderTexture(device, size.x, size.y, format)
, Renderer::Sprite(device, *this)
, mFieldBack(device, size.x, size.y, ... |
mmaldacker/Vortex2D | Vortex/Engine/LinearSolver/Diagonal.cpp | <filename>Vortex/Engine/LinearSolver/Diagonal.cpp
//
// Diagonal.cpp
// Vortex
//
#include "Diagonal.h"
#include "vortex_generated_spirv.h"
namespace Vortex
{
namespace Fluid
{
Diagonal::Diagonal(Renderer::Device& device, const glm::ivec2& size)
: mDiagonal(device, Renderer::ComputeSize{size}, SPIRV::Diagonal_... |
thomaswatters/vsg-learning | src/main.cpp | <reponame>thomaswatters/vsg-learning
#include <vsg/all.h>
#ifdef vsgXchange_FOUND
#include <vsgXchange/all.h>
#endif
#include <iostream>
int main(int argc, char** argv)
{
// set up defaults and read command line arguments to override them
auto options = vsg::Options::create();
auto windowTraits = vsg::Wi... |
sanikoyes/godot | modules/websocket/lws_peer.cpp | <filename>modules/websocket/lws_peer.cpp
/*************************************************************************/
/* lws_peer.cpp */
/*************************************************************************/
/* This file is part of: ... |
sanikoyes/godot | modules/gdscript/gdscript_parser.cpp | <filename>modules/gdscript/gdscript_parser.cpp
/*************************************************************************/
/* gdscript_parser.cpp */
/*************************************************************************/
/* This file is part of... |
sanikoyes/godot | editor/editor_plugin.cpp | /*************************************************************************/
/* editor_plugin.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
sanikoyes/godot | scene/main/node.cpp | /*************************************************************************/
/* node.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
PraveenKum11/image_programming_ppm | main.cpp | #include "Patterns.hpp"
#include "Filter.hpp"
using namespace std;
int main()
{
// This for random naming of the output files from pattern generation
srand(time(0));
/* NOTE
One object can have only one filter at a time due the way they are written.
Trying to apply more than one filter at a time will only apply ... |
PraveenKum11/image_programming_ppm | Filter.hpp | #ifndef FILTER_HPP
#define FILTER_HPP
#include <fstream>
#include <iostream>
#include <sstream>
class Filter
{
std::ifstream inputImg;
std::ofstream outputImg;
int width;
int heigth;
void copyHeaders();
public:
// Constructor
Filter(std::string inputName, std::string outputName);
// Filters
void blueFilter... |
PraveenKum11/image_programming_ppm | Patterns.cpp | <reponame>PraveenKum11/image_programming_ppm<filename>Patterns.cpp<gh_stars>0
#include "Patterns.hpp"
// Creates a output file with (x, y) dimensions
std::ofstream createImage()
{
std::ofstream newImage;
std::string fileName = "data/image";
fileName += std::to_string(rand() % 100);
newImage.open(fileName.c_str());... |
PraveenKum11/image_programming_ppm | Filter.cpp | #include "Filter.hpp"
class RGB
{
public:
int red;
int green;
int blue;
};
// Constructor
Filter::Filter(std::string inputName, std::string outputName)
{
inputImg.open(inputName.c_str());
outputImg.open(outputName.c_str());
width = 0;
heigth = 0;
}
// Copy header function
void Filter::copyHeaders()
{
std::st... |
PraveenKum11/image_programming_ppm | Patterns.hpp | <reponame>PraveenKum11/image_programming_ppm
#ifndef PATTERNS_HPP
#define PATTERNS_HPP
#include <fstream>
#include <iostream>
#include <cmath>
#include <ctime>
#include <cstdlib>
// Image Creation
// x->width | y->height
std::ofstream createImage(int x, int y);
// Simple B/W Patterns
void bwA(int x, int y);
void bwB... |
rekmus/silgy | src/silgy_app.cpp | <gh_stars>10-100
/* --------------------------------------------------------------------------
Silgy Web App
<NAME>
silgy.com
-----------------------------------------------------------------------------
Hello World Sample Silgy Web Application
---------------------------------------------------------... |
nih23/MRIDrivenHeatSimulation | examples/EMFDTD/conversion.hpp | <reponame>nih23/MRIDrivenHeatSimulation<gh_stars>0
/* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#ifndef CONVERSION_HPP_
#define CONVERSION_HPP_
#include <boost/mpl/if.hpp>
#include <ad... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_BufferTest.hpp | #include "gtest/gtest.h"
#include "ScaFES_Communicator.hpp"
#include "ScaFES_Buffer.hpp"
namespace ScaFES_test
{
/*******************************************************************************
******************************************************************************/
/**
* Test class for the class 'Buffer'.
... |
nih23/MRIDrivenHeatSimulation | examples/TumorHeatEqnFDM/TumorHeatEqnFDM.hpp | /* ScaFES
* Copyright (c) 2017-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file TumorHeatEqnFDM.hpp
*
* @brief Implementation of a n-dimensional Pennes bioheat equation problem
* with tumor mode... |
nih23/MRIDrivenHeatSimulation | examples/EMFDTD/stencils/CompleteCPMLCurlStencil.hpp | <reponame>nih23/MRIDrivenHeatSimulation<filename>examples/EMFDTD/stencils/CompleteCPMLCurlStencil.hpp
/* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#ifndef COMPLETECPMLCURLSTENCIL_HPP
#d... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Problem.hpp | <reponame>nih23/MRIDrivenHeatSimulation
/* ScaFES
* Copyright (c) 2011-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Problem.hpp
* @brief Contains the class template Problem.
*/
#ifndef SCAFES... |
nih23/MRIDrivenHeatSimulation | examples/MaxwellEqnsFDTD/Problem_MaxwellEqnsFDTD.hpp | <gh_stars>0
#ifndef PROBLEM_MAXWELLEQNS_FDTD_HPP_
#define PROBLEM_MAXWELLEQNS_FDTD_HPP_
#include "ScaFES.hpp"
/*******************************************************************************
*******************************************************************************/
/**
* @file Problem_MaxwellEqnsFDTD.hpp
*
*... |
nih23/MRIDrivenHeatSimulation | examples/TumorHeatEqnFDM/main3D.cpp | <gh_stars>0
/* ScaFES
* Copyright (c) 2017-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#include "ScaFES.hpp"
#include "TumorHeatEqnFDM.hpp"
/** Space dimension of problem. */
const int DIM = 3;
/** Main program fo... |
nih23/MRIDrivenHeatSimulation | tests/system/HeatEqnFdmStencilWidthVar/HeatEqnFdmStencilWidthVar.hpp | <reponame>nih23/MRIDrivenHeatSimulation<filename>tests/system/HeatEqnFdmStencilWidthVar/HeatEqnFdmStencilWidthVar.hpp
/* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file HeatEqnFdmStenc... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_GridSubTest.hpp | #ifndef SCAFES_GRIDSUBTEST_HPP_
#define SCAFES_GRIDSUBTEST_HPP_
#include "gtest/gtest.h"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_GridSub.hpp"
namespace ScaFES_test
{
/*******************************************************************************
**************************************************... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Buffer.hpp | <reponame>nih23/MRIDrivenHeatSimulation
/* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Buffer.hpp
* @brief Wrapper include file: Includes dummy or real version depe... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_GridSub.hpp | <gh_stars>0
/* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_GridSub.hpp
* @brief Contains the class template GridSub.
*/
#ifndef SCAFES_GRIDSUB_HPP_
#define SCAFES... |
nih23/MRIDrivenHeatSimulation | examples/EMFDTD/sources/ModulatedGaussianSource.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#ifndef MODULATEDGAUSSIANSOURCE_HPP_
#define MODULATEDGAUSSIANSOURCE_HPP_
#include <boost/property_tree/ptree.hpp>
template <typename T... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_BufferTest.cpp | #include <algorithm>
#include "gtest/gtest.h"
#include "ScaFES_BufferTest.hpp"
#include "ScaFES_Buffer.hpp"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Ntuple_FreeFunctions.hpp"
#include "ScaFES_Complex.hpp"
#include "ScaFES_Complex_FreeFunctions.hpp"
namespace ScaFES_test
{
/***********************... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_mainTest.cpp | #include "ScaFES_Config.hpp"
#include "gtest/gtest.h"
#ifdef SCAFES_HAVE_BOOST_MPI
#include "boost/mpi.hpp"
#endif
/**
* Design of test classes:
* If there exists an ordering, then the order of the objects is as follows:
* - NULL < A < scalNonZero < B.
* - Less < Greater
* - Undetermined cannot be orderd betwee... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_NtupleMainTest.cpp | <gh_stars>0
#include "gtest/gtest.h"
#include "ScaFES_VectorSpaceTest.hpp"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Ntuple_FreeFunctions.hpp"
namespace ScaFES_test
{
/*******************************************************************************
*************************************************************... |
nih23/MRIDrivenHeatSimulation | examples/HeatEqnFDMInitFile/HeatEqnFDMInitFile.hpp | /* ScaFES
* Copyright (c) 2017-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file HeatEqnFDMInitFile.hpp
*
* @brief Implementation of n-dimensional heat equation problem on unit hybercube
* with i... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Communicator.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Communicator.hpp
* @brief Contains the class Communicator.
*/
#ifndef SCAFES_COMMUNICATOR_HPP_
#define SCAFES_COMMU... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Ntuple_FreeFunctions.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Ntuple_FreeFunctions.hpp
* @brief Contains free functions related to the class template Ntuple.
*/
/** \defgroup nt... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_DataFile.hpp | <gh_stars>0
/* ScaFES
* Copyright (c) 2011-2015, 2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_DataFile.hpp
* @brief Wrapper include file: Includes dummy or real version depending
* on ... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_ProblemCuda.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_ProblemCuda.hpp
* @brief Contains methods related to CUDA and the class template Problem.
*/
#ifndef SCAFES_PROBLEM... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_NtupleTest.cpp | #include "gtest/gtest.h"
#include <algorithm>
//#include "ScaFES_GroupTest.hpp"
#include "ScaFES_NtupleTest.hpp"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Ntuple_Operators.hpp"
namespace ScaFES_test
{
/*******************************************************************************
******************************... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_GridTest.hpp | <gh_stars>0
#ifndef SCAFES_GRIDTEST_HPP_
#define SCAFES_GRIDTEST_HPP_
#include "gtest/gtest.h"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Grid.hpp"
namespace ScaFES_test
{
/*******************************************************************************
***********************************************... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Parameters.hpp | /* ScaFES
* Copyright (c) 2011-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Parameters.hpp
* @brief Contains the class Parameters.
*/
#ifndef SCAFES_PARAMETERS_HPP_
#define SCAFES_PARAMETERS_... |
nih23/MRIDrivenHeatSimulation | examples/MRIDataPBHEqnFDM/MRIDataPBHEqnFDM.hpp | /* ScaFES
* Copyright (c) 2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file MRIDataPBHEqnFDM.hpp
*
* @brief Implementation of a n-dimensional Pennes bioheat equation problem
* with data from MRI.... |
nih23/MRIDrivenHeatSimulation | examples/EMFDTD/EMFDTD.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file EMFDTD.hpp
*
* @brief Implementation of EMFDTD.
*/
#ifndef EMFDTD_HPP_
#define EMFDTD_HPP_
#include <fstream>
#include <... |
nih23/MRIDrivenHeatSimulation | examples/LameNavierEqnFDMFirstOrder/main.cpp | /* ScaFES
* Copyright (c) 2016, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#include "ScaFES.hpp"
#include "LameNavierEqnFDMFirstOrder.hpp"
/** Space dimension of problem. */
const int DIM = 3;
/** Main program for Lame... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_GridGlobalTest.cpp | <filename>tests/unit/ScaFES_GridGlobalTest.cpp
#include "gtest/gtest.h"
#include "ScaFES_GridGlobalTest.hpp"
#include "ScaFES_Ntuple.hpp"
namespace ScaFES_test
{
/*******************************************************************************
* TESTS OF GETTER METHODS.
*********************************... |
nih23/MRIDrivenHeatSimulation | examples/MRIDataPBHEqnFDM/main3D.cpp | <reponame>nih23/MRIDrivenHeatSimulation<gh_stars>0
/* ScaFES
* Copyright (c) 2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#include "ScaFES.hpp"
#include "MRIDataPBHEqnFDM.hpp"
/** Space dimension of problem. */
cons... |
nih23/MRIDrivenHeatSimulation | tests/system/HeatEqnFdmStencilWidthOne/main2D.cpp | #include <vector>
#include <string>
#include "ScaFES.hpp"
#include "HeatEqnFdmStencilWidthOne.hpp"
const int DIM = 2;
int main(int argc, char *argv[]) {
ScaFES::Parameters paramsCl(argc, argv);
ScaFES::GridGlobal<DIM> gg(paramsCl);
const int N_DATAFIELDS = 1;
char currName = 'A';
std::vector<st... |
nih23/MRIDrivenHeatSimulation | examples/EMFDTD/simulate.cpp | <filename>examples/EMFDTD/simulate.cpp<gh_stars>0
/* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#include <iostream>
#include <fstream>
#include <ScaFES.hpp>
#include "EMFDTD.hpp"
int ... |
nih23/MRIDrivenHeatSimulation | tests/system/HeatEqnFDM/Neumann/Neumann.hpp | <reponame>nih23/MRIDrivenHeatSimulation
/* ScaFES
* Copyright (c) 2017, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file Neumann.hpp
*
* @brief Implementation of n-dimensional heat equation problem on unit hyb... |
nih23/MRIDrivenHeatSimulation | tests/system/HeatEqnFdmStencilWidthOne/HeatEqnFdmStencilWidthOne.hpp | <reponame>nih23/MRIDrivenHeatSimulation
/* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file HeatEqnFdmStencilWidthOne.hpp
*
* @brief System test: Contains the class HeatEqnFdmStencil... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_GridGlobalTest.hpp | #ifndef SCAFES_GRIDGLOBALTEST_HPP_
#define SCAFES_GRIDGLOBALTEST_HPP_
#include "gtest/gtest.h"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Grid.hpp"
#include "ScaFES_GridGlobal.hpp"
namespace ScaFES_test
{
/*******************************************************************************
*************... |
nih23/MRIDrivenHeatSimulation | examples/EMFDTD/physical_constants.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#ifndef PHYSICAL_CONSTANTS_HPP
#define PHYSICAL_CONSTANTS_HPP
#include <cmath>
#define C_0 299792458.0 // Speed of Light in Free Space [m/... |
nih23/MRIDrivenHeatSimulation | examples/ZhangExampleFDM/ZhangExampleFDM.hpp | <filename>examples/ZhangExampleFDM/ZhangExampleFDM.hpp
/* ScaFES
* Copyright (c) 2017-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ZhangExampleFDM.hpp
*
* @brief Implementation of a 1-dimensional Pen... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_GridTest1D.cpp | #include <algorithm>
#include "gtest/gtest.h"
#include "ScaFES_GridTest1D.hpp"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Grid.hpp"
namespace ScaFES_test
{
const double EPS = 2.2e-14;
/*******************************************************************************
* TESTS OF GETTER METHODS.
*... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_GridTest2D.hpp | #ifndef SCAFES_GRIDTEST2D_HPP_
#define SCAFES_GRIDTEST2D_HPP_
#include "gtest/gtest.h"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Grid.hpp"
namespace ScaFES_test
{
/*******************************************************************************
*******************************************************... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_ParametersTest.hpp | <gh_stars>0
#include "gtest/gtest.h"
#include "ScaFES_Parameters.hpp"
namespace ScaFES_test
{
/*******************************************************************************
******************************************************************************/
/** Test class for the class \c DataField. */
template<typena... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Environment.hpp | <filename>src/ScaFES_Environment.hpp<gh_stars>0
/* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Environment.hpp
* @brief Contains the class Environment.
*/
#ifndef... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_DataFieldTest.cpp | <gh_stars>0
#include <algorithm>
#include "gtest/gtest.h"
#ifdef SCAFES_HAVE_ADOLC
#include <adolc/adolc.h>
#include <adolc/adouble.h>
#endif
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Grid.hpp"
#include "ScaFES_DataField.hpp"
#include "ScaFES_DataFieldTest.hpp"
namespace ScaFES_test
{
const double EPS = 2.2e-... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_DataFileDummy.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_DataFileDummy.hpp
* @brief Contains the class template Datafile with a dummy implementation.
*/
#ifndef SCAFES_DATA... |
nih23/MRIDrivenHeatSimulation | tests/system/HeatEqnFDM/Cauchy/TimeLinSpaceConst/TimeLinSpaceConst.hpp | /* ScaFES
* Copyright (c) 2017-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file TimeLinSpaceConst.hpp
*
* @brief Implementation of n-dimensional heat equation problem on unit hybercube.
*
* <ul>
* Giv... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Dummy.cpp | <reponame>nih23/MRIDrivenHeatSimulation
#include "ScaFES_Config.hpp"
namespace ScaFES
{
// Dummy function which does nothing.
void dummyfct()
{
return;
}
}
|
nih23/MRIDrivenHeatSimulation | src/ScaFES_Complex_FreeFunctions.hpp | <filename>src/ScaFES_Complex_FreeFunctions.hpp
/* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Complex_FreeFunctions.hpp
* @brief Contains free functions related to ... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_DataField.hpp | <gh_stars>0
/* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_DataField.hpp
* @brief Contains the class template DataField.
*/
#ifndef SCAFES_DATAFIELD_HPP_
#define ... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_BufferDummy.hpp | /* ScaFES
* Copyright (c) 2011-2015, 2017, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_BufferDummy.hpp
* @brief Contains the class template Buffer.
*/
#ifndef SCAFES_BUFFERDUMMY_HPP_
#define SCAFE... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_NtupleTest.hpp | <reponame>nih23/MRIDrivenHeatSimulation
#ifndef SCAFES_NTUPLEEST_HPP_
#define SCAFES_NTUPLEEST_HPP_
#include "gtest/gtest.h"
#include "ScaFES_NTuple.hpp"
#include "ScaFES_NTuple_Operators.hpp"
#include "ScaFES_VectorSpaceTest.hpp"
namespace ScaFES_test
{
/************************************************************... |
nih23/MRIDrivenHeatSimulation | tests/system/HeatEqnFDM/Dirichlet/Dirichlet.hpp | <reponame>nih23/MRIDrivenHeatSimulation
/* ScaFES
* Copyright (c) 2017, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file Dirichlet.hpp
*
* @brief Implementation of n-dimensional heat equation problem on unit h... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_ParametersTest.cpp | #include <algorithm>
#include "gtest/gtest.h"
#include "ScaFES_Parameters.hpp"
#include "ScaFES_ParametersTest.hpp"
namespace ScaFES_test
{
/*******************************************************************************
* TESTS OF GETTER METHODS.
******************************************************************... |
nih23/MRIDrivenHeatSimulation | examples/LameNavierEqnFDMFirstOrder/LameNavierEqnFDMFirstOrder.hpp | <gh_stars>0
/* ScaFES
* Copyright (c) 2016-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file LameNavierEqnFDMFirstOrder.hpp
*
* @brief Implementation of n-dimensional Lame Navier equations problem on uni... |
nih23/MRIDrivenHeatSimulation | tests/system/PennesBioheatEqnFDM/PennesBioheatEqnFDM.hpp | /* ScaFES
* Copyright (c) 2017-2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file PennesBioheatEqnFDM.hpp
*
* @brief Test implementation of n-dimensional Pennes bioheat equation problem
* on unit ... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_GridTest1D.hpp | <gh_stars>0
#ifndef SCAFES_GRIDTEST1D_HPP_
#define SCAFES_GRIDTEST1D_HPP_
#include "gtest/gtest.h"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Grid.hpp"
namespace ScaFES_test
{
/*******************************************************************************
*******************************************... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_DataFileApi.hpp | /* ScaFES
* Copyright (c) 2011-2015, 2018, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_DataFileApi.hpp
* @brief Contains the class template Datafile.
*/
#ifndef SCAFES_DATAFILEAPI_HPP_
#define SCA... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Timer.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Timer.hpp
* @brief Contains the class Timer.
*/
#ifndef SCAFES_TIMER_HPP_
#define SCAFES_TIMER_HPP_
#include "ScaF... |
nih23/MRIDrivenHeatSimulation | examples/EMFDTD/CPMLParams.hpp | <filename>examples/EMFDTD/CPMLParams.hpp<gh_stars>0
/* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#ifndef CPMLPARAMS_HPP
#define CPMLPARAMS_HPP
#include <cmath>
#include <algorithm>
#in... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Ntuple.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Ntuple.hpp
* @brief Contains the class template Ntuple.
*/
#ifndef SCAFES_NTUPLE_HPP_
#define SCAFES_NTUPLE_HPP_
#i... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_GridGlobal.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_GridGlobal.hpp
* @brief Contains the class template GridGlobal.
*/
#ifndef SCAFES_GRIDGLOBAL_HPP_
#define SCAFES_GR... |
nih23/MRIDrivenHeatSimulation | src/ScaFES.hpp | <reponame>nih23/MRIDrivenHeatSimulation
/* ScaFES
* Copyright (c) 2011-2016, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES.hpp
*
* @brief Main include file for applications using ScaFES.
*
* This f... |
nih23/MRIDrivenHeatSimulation | tests/system/PropagationFromLeftLowerCorner/PropagationFromLeftLowerCorner.hpp | /* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file PropagationFromLeftLowerCorner.hpp
*
* @brief System test: Contains the class PropagationFromLeftLowerCorner.
*/
#include <vecto... |
nih23/MRIDrivenHeatSimulation | examples/EMFDTD/geometry/IndicatorEllipsoid.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#ifndef INDICATORELLIPSOID_HPP
#define INDICATORELLIPSOID_HPP
#include <ScaFES.hpp>
template <typename T>
class IndicatorEllipsoid {
... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_DataFieldTest.hpp | #include "gtest/gtest.h"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Parameters.hpp"
#include "ScaFES_GridGlobal.hpp"
#include "ScaFES_DataField.hpp"
namespace ScaFES_test
{
/*******************************************************************************
***********************************************************... |
nih23/MRIDrivenHeatSimulation | examples/HeatEqnFDMInitFile/main1D.cpp | /* ScaFES
* Copyright (c) 2017, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#include "ScaFES.hpp"
#include "HeatEqnFDMInitFile.hpp"
/** Space dimension of problem. */
const int DIM = 1;
/** Main program for HeatEqnFDMIn... |
nih23/MRIDrivenHeatSimulation | examples/HeatEqnFDMInitFile/analyticalFunctions.hpp | <filename>examples/HeatEqnFDMInitFile/analyticalFunctions.hpp
/* ScaFES
* Copyright (c) 2017, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file analyticalFunctions.hpp
* @brief Contains functions which can be us... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_VectorSpaceTest.hpp | <gh_stars>0
#ifndef SCAFES_VECTORSPACETEST_HPP_
#define SCAFES_VECTORSPACETEST_HPP_
#include "gtest/gtest.h"
namespace ScaFES_test
{
/*******************************************************************************
******************************************************************************/
/**
* Base test class... |
nih23/MRIDrivenHeatSimulation | examples/MaxwellEqnsFDTD/main.cpp | <gh_stars>0
/** ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#include "ScaFES.hpp"
#include "Problem_MaxwellEqnsFDTD.hpp"
/*-------------------------------------------------------------... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_GridSubTest.cpp | #include <algorithm>
#include "gtest/gtest.h"
#include "ScaFES_GridSubTest.hpp"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_GridSub.hpp"
namespace ScaFES_test
{
/*******************************************************************************
* TESTS OF GETTER METHODS.
****************************... |
nih23/MRIDrivenHeatSimulation | examples/ZhangExampleFDM/main.cpp | /* ScaFES
* Copyright (c) 2017, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#include "ScaFES.hpp"
#include "ZhangExampleFDM.hpp"
/** Space dimension of problem. */
const int DIM = 1;
/** Main program for ZhangExampleFDM... |
nih23/MRIDrivenHeatSimulation | tests/unit/ScaFES_GridTest.cpp | #include <algorithm>
#include "gtest/gtest.h"
#include "ScaFES_GridTest.hpp"
#include "ScaFES_Ntuple.hpp"
#include "ScaFES_Grid.hpp"
namespace ScaFES_test
{
const double EPS = 2.2e-14;
/*******************************************************************************
* TESTS OF GETTER METHODS.
***... |
nih23/MRIDrivenHeatSimulation | examples/WaveEqnFDM/main.cpp | /* ScaFES
* Copyright (c) 2016, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#include "ScaFES.hpp"
#include "WaveEqnFDM.hpp"
/** Space dimension of problem. */
const int DIM = 3;
/** Main program for WaveEqnFDM. */
int m... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Complex.hpp | <reponame>nih23/MRIDrivenHeatSimulation<gh_stars>0
/* ScaFES
* Copyright (c) 2011-2016, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Complex.hpp
* @brief Contains the class template Complex.
*/
#if... |
nih23/MRIDrivenHeatSimulation | src/ScaFES_Grid.hpp | /* ScaFES
* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
/**
* @file ScaFES_Grid.hpp
* @brief Contains the class template Grid.
*/
#ifndef SCAFES_GRID_HPP_
#define SCAFES_GRID_HPP_
#include ... |
nih23/MRIDrivenHeatSimulation | examples/LameNavierEqnFDM/main.cpp | /* ScaFES
* Copyright (c) 2016, ZIH, TU Dresden, Federal Republic of Germany.
* For details, see the files COPYING and LICENSE in the base directory
* of the package.
*/
#include "ScaFES.hpp"
#include "LameNavierEqnFDM.hpp"
/** Space dimension of problem. */
const int DIM = 3;
/** Main program for LameNavierEqnF... |
lucasw/image_manip | image_manip/src/distort.cpp | <filename>image_manip/src/distort.cpp
/*
* Copyright (c) 2017 <NAME>
* November 2017
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain th... |
lucasw/image_manip | image_manip/src/utility.cpp | <reponame>lucasw/image_manip
/*
* Copyright (c) 2017 <NAME>
* June 2017
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyr... |
lucasw/image_manip | image_manip/src/convert.cpp | /*
* Copyright (c) 2017 <NAME>
* June 2017
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... |
lucasw/image_manip | image_manip/src/image_deque.cpp | /*
* Copyright (c) 2017 <NAME>
* July 2017
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... |
lucasw/image_manip | image_manip/src/roto_zoom.cpp | /*
* Copyright (c) 2017 <NAME>
* June 2017
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... |
lucasw/image_manip | image_manip/src/cv_distort_image.cpp | <reponame>lucasw/image_manip
/*
* Copyright (c) 2017 <NAME>
* November 2017
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.