source: src/Filling/Mesh/CubeMesh.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 2382d7, checked in by Frederik Heber <heber@…>, 13 years ago

FillRegularGrid now uses std::vector<unsigned int> instead of Vector.

  • with the new validators it possible to constrain number of entries to 3 easily.
  • added unimplemented StreamOperator for vectopr<unsigned int>.
  • TESTFIX: option mesh-size needs its arguments now as 5 5 11, not "5,5,11", hence changed regression tests in Filling/RegularGrid.
  • Property mode set to 100644
File size: 646 bytes
Line 
1/*
2 * CubeMesh.hpp
3 *
4 * Created on: Jan 20, 2012
5 * Author: heber
6 */
7
8#ifndef CUBEMESH_HPP_
9#define CUBEMESH_HPP_
10
11
12
13// include config.h
14#ifdef HAVE_CONFIG_H
15#include <config.h>
16#endif
17
18#include "Filling/NodeTypes.hpp"
19#include "Mesh.hpp"
20
21class Vector;
22
23class CubeMesh : public Mesh
24{
25public:
26 CubeMesh(const Vector &counts, const Vector &offset, const RealSpaceMatrix &M);
27 CubeMesh(const std::vector< unsigned int > &counts, const Vector &offset, const RealSpaceMatrix &M);
28 virtual ~CubeMesh();
29
30 void init(const std::vector< unsigned int > &counts, const Vector &offset, const RealSpaceMatrix &M);
31};
32
33#endif /* CUBEMESH_HPP_ */
Note: See TracBrowser for help on using the repository browser.