Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94925764
material_random_internal.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
Wed, Dec 11, 11:09
Size
3 KB
Mime Type
text/x-c++
Expires
Fri, Dec 13, 11:09 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22456667
Attached To
rAKA akantu
material_random_internal.hh
View Options
/**
* @file material_random_internal.hh
*
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
* @date creation: Wed Nov 13 2013
* @date last modification: Thu Jun 05 2014
*
* @brief Class describing a material parameter that can be set depending on a
* random distribution
*
* @section LICENSE
*
* Copyright (©) 2014 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* Akantu 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 3 of the License, or (at your option) any
* later version.
*
* Akantu 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 Akantu. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* -------------------------------------------------------------------------- */
#include "element_type_map.hh"
#include "aka_random_generator.hh"
#ifndef __AKANTU_MATERIAL_RANDOM_INTERNAL_HH__
#define __AKANTU_MATERIAL_RANDOM_INTERNAL_HH__
__BEGIN_AKANTU__
template<typename Distribution, typename Generator = Rand48Generator<Real> >
class MaterialRandomInternal : public ElementTypeMapArray<Real> {
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public:
MaterialRandomInternal(const ID & id, const ID & parent_id,
const MemoryID & memory_id = 0) :
ElementTypeMapArray<Real>(id, parent_id, memory_id) {};
virtual ~MaterialRandomInternal();
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public:
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
private:
Distribution distribution;
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
//#include "material_random_internal_inline_impl.cc"
__END_AKANTU__
#endif /* __AKANTU_MATERIAL_RANDOM_INTERNAL_HH__ */
Event Timeline
Log In to Comment