ASPECT
include
aspect
particle
property
initial_position.h
Go to the documentation of this file.
1
// ------------------------------------------------------
2
//
3
// SPDX-License-Identifier: GPL-2.0-or-later
4
//
5
// SPDX-FileCopyrightText: Copyright (C) 2015-2022 by the ASPECT authors.
6
//
7
// This file is part of ASPECT.
8
//
9
// Detailed license information governing the source code and
10
// contributions can be found in the folder LICENSES and in
11
// LICENSE and CONTRIBUTING.md at the top level directory.
12
//
13
// ------------------------------------------------------
14
15
#ifndef _aspect_particle_property_initial_position_h
16
#define _aspect_particle_property_initial_position_h
17
18
#include <
aspect/particle/property/interface.h
>
19
20
namespace
aspect
21
{
22
namespace
Particle
23
{
24
namespace
Property
25
{
32
template
<
int
dim>
33
class
InitialPosition
:
public
Interface
<dim>
34
{
35
public
:
47
void
48
initialize_one_particle_property
(
const
Point<dim>
&position,
49
std::vector<double> &particle_properties)
const override
;
50
58
std::vector<std::pair<std::string, unsigned int>>
59
get_property_information
()
const override
;
60
};
61
}
62
}
63
}
64
65
#endif
aspect::MaterialModel::MaterialProperties::Property
Property
Definition:
interface.h:177
Point< dim >
aspect::Particle::Property::InitialPosition::get_property_information
std::vector< std::pair< std::string, unsigned int > > get_property_information() const override
aspect::Particle::Property::InitialPosition::initialize_one_particle_property
void initialize_one_particle_property(const Point< dim > &position, std::vector< double > &particle_properties) const override
interface.h
aspect::Particle::Property::Interface
Definition:
interface.h:339
aspect
Definition:
advection_field.h:24
aspect::Particle::Property::InitialPosition
Definition:
initial_position.h:33
ASPECT manual
| Generated by
1.8.12