b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2property_contact_rb.H
1//------------------------------------------------------------------------
2// b2property_contact_rb.H --
3//
4// Contact with rigid-body objects.
5//
6// written by Thomas Ludwig
7//
8// Copyright (c) 2013,2016
9// SMR Engineering & Development SA
10// 2502 Bienne, Switzerland
11//
12// All Rights Reserved. Proprietary source code. The contents of
13// this file may not be disclosed to third parties, copied or
14// duplicated in any form, in whole or in part, without the prior
15// written permission of SMR.
16//------------------------------------------------------------------------
17
18#ifndef _B2PROPERTY_CONTACT_RB_H_
19#define _B2PROPERTY_CONTACT_RB_H_
20
21#include "model/b2element.H"
22
23namespace b2000 {
24class PropertyContactRB : virtual public ElementProperty {
25public:
26 const double get_max_segment_length() const { return max_segment_length; }
27
28 const double get_penalty_factor() const { return penalty_factor; }
29
30 virtual bool check(const double coor[3], double coor_target[3]) const = 0;
31
32protected:
33 double max_segment_length;
34 double penalty_factor;
35};
36} // namespace b2000
37
38#endif /*_B2PROPERTY_CONTACT_RB_H_ */
Contains the base classes for implementing Finite Elements.
Definition b2boundary_condition.H:32