Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MarkerParticles_3.h
Go to the documentation of this file.
1 /* *******************************************************************
2  * Rocstar Simulation Suite *
3  * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4  * *
5  * Illinois Rocstar LLC *
6  * Champaign, IL *
7  * www.illinoisrocstar.com *
8  * sales@illinoisrocstar.com *
9  * *
10  * License: See LICENSE file in top level of distribution package or *
11  * http://opensource.org/licenses/NCSA *
12  *********************************************************************/
13 /* *******************************************************************
14  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17  * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21  * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22  *********************************************************************/
23 // $Id: MarkerParticles_3.h,v 1.7 2008/12/06 08:45:27 mtcampbe Exp $
24 
25 /*******************************************************************
26  * This file implements the marker particle method for
27  * interface propagation. It inherits some basic primitives
28  * from the base class Propagation_3.
29  *******************************************************************/
30 
31 #ifndef __MARKER_PARTICLES_3_H_
32 #define __MARKER_PARTICLES_3_H_
33 
34 #include "Propagation_3.h"
35 
37 
39 public:
41  MarkerParticles_3( Manifold *wm, COM::Window *buf)
42  : Propagation_3( wm, buf) {}
43 
45  virtual double time_stepping( const COM::Attribute *spd, double dt,
46  COM::Attribute *disp, int *smoothed=NULL);
47 
48 protected:
49  // Multiply attribute a by nodal normals and save into attribute b
50  void multiply_nodal_normals( const COM::Attribute *a,
51  COM::Attribute *b);
52 };
53 
55 
56 #endif
57 
58 
59 
60 
61 
62 
MarkerParticles_3(Manifold *wm, COM::Window *buf)
Construct an object from a window manifold.
#define PROP_END_NAMESPACE
Definition: propbasic.h:29
#define PROP_BEGIN_NAMESPACE
Definition: propbasic.h:28
SURF::Window_manifold_2 Manifold
Definition: propbasic.h:46
void multiply_nodal_normals(const COM::Attribute *a, COM::Attribute *b)
virtual double time_stepping(const COM::Attribute *spd, double dt, COM::Attribute *disp, int *smoothed=NULL)
Main entry of the algorithm.
This class provides some common primitives used by various propagation algorithms.
Definition: Propagation_3.h:40