-
Notifications
You must be signed in to change notification settings - Fork 96
/
BCIntegratorSubMesh.i
75 lines (60 loc) · 1.97 KB
/
BCIntegratorSubMesh.i
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University of Chicago
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://geodynamics.org).
//
// Copyright (c) 2010-2012 University of California, Davis
//
// See COPYING for license information.
//
// ----------------------------------------------------------------------
//
/** @file modulesrc/bc/BCIntegratorSubMesh.i
*
* @brief Python interface to C++ BCIntegratorSubMesh object.
*/
namespace pylith {
namespace bc {
class pylith::bc::BCIntegratorSubMesh : public BoundaryCondition,
public pylith::feassemble::Integrator<pylith::feassemble::Quadrature<pylith::topology::SubMesh> >
{ // class BoundaryCondition
// PUBLIC METHODS /////////////////////////////////////////////////
public :
/// Default constructor.
BCIntegratorSubMesh(void);
/// Destructor.
virtual
~BCIntegratorSubMesh(void);
/// Deallocate PETSc and local data structures.
virtual
void deallocate(void);
/** Get parameter fields.
*
* @returns Parameter fields.
*/
const pylith::topology::FieldsNew<pylith::topology::Mesh>* parameterFields(void) const;
/** Get boundary mesh.
*
* @return Boundary mesh.
*/
const pylith::topology::SubMesh& boundaryMesh(void) const;
/** Get mesh labels for submesh associated with applied forces.
*
* @param mesh Finite-element mesh.
*/
void createSubMesh(const pylith::topology::Mesh& mesh);
/** Verify configuration is acceptable.
*
* @param mesh Finite-element mesh
*/
void verifyConfiguration(const pylith::topology::Mesh& mesh) const;
}; // BCIntegratorSubMesh
} // bc
} // pylith
// End of file