Sierra Toolkit
Version of the Day
GridFixture.hpp
1
/*------------------------------------------------------------------------*/
2
/* Copyright 2010 Sandia Corporation. */
3
/* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
4
/* license for use of this work by or on behalf of the U.S. Government. */
5
/* Export of this program may require a license from the */
6
/* United States Government. */
7
/*------------------------------------------------------------------------*/
8
9
#ifndef STK_MESH_FIXTURES_GRID_MESH_FIXTURE_HPP
10
#define STK_MESH_FIXTURES_GRID_MESH_FIXTURE_HPP
11
12
#include <stk_util/parallel/Parallel.hpp>
13
#include <stk_mesh/base/Types.hpp>
14
#include <stk_mesh/base/MetaData.hpp>
15
#include <stk_mesh/base/BulkData.hpp>
16
#include <stk_mesh/fem/FEMMetaData.hpp>
17
18
namespace
stk_classic
{
19
namespace
mesh {
20
namespace
fixtures {
21
22
class
GridFixture
23
{
24
public
:
25
GridFixture(
stk_classic::ParallelMachine
pm);
26
27
~GridFixture();
28
29
fem::FEMMetaData& fem_meta() {
return
m_fem_meta; }
30
BulkData& bulk_data() {
return
m_bulk_data; }
31
32
Part* quad_part()
const
{
return
& m_quad_part; }
33
Part* dead_part()
const
{
return
& m_dead_part; }
34
35
void
generate_grid();
36
37
const
unsigned
m_spatial_dimension;
38
39
fem::FEMMetaData m_fem_meta;
40
BulkData m_bulk_data;
41
Part & m_quad_part;
42
Part & m_dead_part;
43
};
44
45
}
// fixtures
46
}
// mesh
47
}
// stk
48
49
#endif
50
stk_classic
Sierra Toolkit.
Definition:
AlgorithmRunner.cpp:16
stk_classic::ParallelMachine
MPI_Comm ParallelMachine
Definition:
Parallel.hpp:32
stk_mesh
stk_mesh
fixtures
GridFixture.hpp
Generated by
1.8.14