VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
powerRangeEquivalentTntDeterminant.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <readerWriter/rwString.h>
13 #include <readerWriter/rwReal.h>
15 
16 
21 {
22 public:
23 
26 
30  parentRegistry = NULL);
32  parentRegistry = NULL);
34 
38  DtReaderWriterRegistry* parentRegistry = NULL);
40  DtReaderWriterRegistry* parentRegistry = NULL);
42 
44  virtual bool operator==(const DtPowerRangeDeterminant& rhs) const;
45 
48 
50  DtReaderWriterRegistry* parentRegistry = NULL) const;
52  DtReaderWriterRegistry* parentRegistry = NULL) const;
53 
55  virtual double detonationPower(double rangeFromShooter, double rangeFromImpact) const;
56 
58  virtual double rangeFromShooterForPower(double power) const;
59 
61  virtual double rangeFromImpactForPower(double power) const;
62 
64  virtual double maximumRangeFromShooter() const;
65 
67  virtual double maximumRangeFromImpact() const;
68 
70  virtual void postGetSelf();
71 
74 
76  virtual double minRange() const;
77 
79  virtual double maxRange() const;
80 
84  virtual void setEquivalentTntMass(double);
85  virtual double equivalentTntMass() const;
87 
88 protected:
89 
91  virtual double rangeFromPower(double power) const;
92 
96  virtual void validateRangeFrom();
97 
98  virtual double calculateIncidentPressure(double range) const;
99 
100  virtual double calculateRange(double incidentPressure) const;
101 
104  virtual void determineMinAndMaxRanges();
105 
106 protected:
109 
115 
117 
118  double myMinRange;
119  double myMaxRange;
120 
121 };
122 
123 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)