-
Notifications
You must be signed in to change notification settings - Fork 96
/
Neumann.i
51 lines (43 loc) · 1.77 KB
/
Neumann.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
// =================================================================================================
// This code is part of PyLith, developed through the Computational Infrastructure
// for Geodynamics (https://github.com/geodynamics/pylith).
//
// Copyright (c) 2010-2024, University of California, Davis and the PyLith Development Team.
// All rights reserved.
//
// See https://mit-license.org/ and LICENSE.md and for license information.
// =================================================================================================
/** @file modulesrc/bc/NeumannNew.i
*
* @brief Python interface to C++ Neumann object.
*/
namespace pylith {
namespace bc {
class Neumann:
public pylith::feassemble::IntegratorBoundary {
// PUBLIC METHODS /////////////////////////////////////////////////
public:
/// Default constructor.
Neumann(void);
/// Destructor.
virtual
~Neumann(void);
/// Deallocate PETSc and local data structures.
virtual
void deallocate(void);
/** Name of scale associated with Neumann boundary
* condition (e.g., 'pressure' for elasticity).
*
* A Neumann boundary condition constrains the gradient in
* a solution subfield. In some cases the constraint is
* actually on a scaled version of the gradient as is the
* case of a Neumann boundary condition for elasticity
* that constrains boundary tractions.
*
* @param value Name of scale for nondimensionalizing Neumann boundary condition.
*/
void scaleName(const char* value);
}; // class Neumann
} // bc
} // pylith
// End of file