Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F63579236
surface_generator_voss.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, May 21, 03:23
Size
872 B
Mime Type
text/x-c
Expires
Thu, May 23, 03:23 (2 d)
Engine
blob
Format
Raw Data
Handle
17790839
Attached To
rTAMAAS tamaas
surface_generator_voss.hh
View Options
#ifndef SURFACE_GENERATOR_VOSS_H
#define SURFACE_GENERATOR_VOSS_H
/* -------------------------------------------------------------------------- */
#include "surface_generator.hh"
/* -------------------------------------------------------------------------- */
class
SurfaceGeneratorVoss
:
public
virtual
SurfaceGenerator
{
public
:
//! constructor : takes a config file as input
SurfaceGeneratorVoss
(
const
std
::
string
&
inputfile
);
//! Build surface profile (array of heights)
Surface
<
Real
>
&
buildSurface
();
void
Init
();
protected
:
void
parseInputFile
(
std
::
ifstream
&
fp
);
void
createRoughSurface
(
Real
*
err
);
int
Nloops
;
/* Number of loops during creation */
Real
Hurst
;
/* Hurst parameter for rough surface */
int
*
Nsquares
,
*
Ndiamonds
;
/* Specific lists for surface algorithm */
};
#endif
Event Timeline
Log In to Comment