Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
1f972ab7
Commit
1f972ab7
authored
Jul 10, 2014
by
COULAUD Olivier
Browse files
Check read
parent
46d9ec36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Src/Utils/FGenerateDistribution.hpp
View file @
1f972ab7
// ===================================================================================
// Copyright ScalFmm 2014 INRIA
//
// This software is a computer program whose purpose is to compute the FMM.
//
// This software is governed by the CeCILL-C and LGPL licenses and
// abiding by the rules of distribution of free software.
//
// This program 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 General Public and CeCILL-C Licenses for more details.
// "http://www.cecill.info".
// "http://www.gnu.org/licenses".
// ===================================================================================
#ifndef FGENERATEDISTRIBUTION_HPP
#define FGENERATEDISTRIBUTION_HPP
// @author O. Coulaud
#include <cstdlib>
#include <ctime>
...
...
@@ -54,7 +69,7 @@ void unifRandonPointsOnUnitCube(const int N , FReal * points) {
//! \param Lz the the Z-length of the cube
//! \param points array of size 4*N and stores data as follow x,y,z,0,x,y,z,0....
//! \example generateDistributions.cpp
void
unifRandonPointsOnCube
(
const
int
N
,
const
FReal
Lx
,
const
FReal
Ly
,
const
FReal
Lz
,
FReal
*
points
)
{
void
unifRandonPointsOnCube
(
const
int
&
N
,
const
FReal
&
Lx
,
const
FReal
&
Ly
,
const
FReal
&
Lz
,
FReal
*
points
)
{
//
unifRandonPointsOnUnitCube
(
N
,
points
)
;
int
j
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment