source: src/Filling/Preparators/ShapeSurfaceFillerPreparator.hpp@ 70f2a1

Action_Thermostats Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChemicalSpaceEvaluator Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps
Last change on this file since 70f2a1 was df9f20, checked in by Frederik Heber <heber@…>, 10 years ago

Refactored FillSurfaceAction to also use FillerPreparators.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 * ShapeSurfaceFillerPreparator.hpp
3 *
4 * Created on: Sep 3, 2014
5 * Author: heber
6 */
7
8#ifndef SHAPESURFACEFILLERPREPARATOR_HPP_
9#define SHAPESURFACEFILLERPREPARATOR_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16#include "BaseFillerPreparator.hpp"
17
18class Shape;
19class Vector;
20
21/** ShapeSurfaceFillerPreparator takes a shape and uses Shape::getHomogeneousPointsInVolume()
22 * to create a specific number of nodes inside this Shape for filling.
23 *
24 */
25class ShapeSurfaceFillerPreparator :
26 public BaseFillerPreparator
27{
28public:
29 ShapeSurfaceFillerPreparator(molecule *_filler);
30 ~ShapeSurfaceFillerPreparator();
31
32 void addShapeMesh(
33 const Shape &_shape,
34 const unsigned int _nodes);
35
36 void addSurfaceInserter(
37 const Shape &_shape,
38 const Vector &_alignedaxis
39 );
40
41 void addSurfaceRandomInserter(
42 const Shape &_shape,
43 const Vector &_alignedaxis,
44 const double _MaxAtomComponent,
45 const double _MaxMoleculeComponent
46 );
47};
48
49#endif /* SHAPESURFACEFILLERPREPARATOR_HPP_ */
Note: See TracBrowser for help on using the repository browser.