Acoustic FDTD Solver
ElasticProperty.hpp
Go to the documentation of this file.
1 #ifndef ELASTICPROPERTY_HPP
2 #define ELASTICPROPERTY_HPP
3 
4 
5 #include "MaterialDecorator.hpp"
6 #include "Vacuum.hpp"
7 
8 
10  double rho;
11  double K;
12  double E;
13  double lambda;
14  double mu;
15 public:
22  ElasticProperty(const double density,
23  const double bulk_modulus,
24  const double youngs_modulus);
26  const double density,
27  const double bulk_modulus,
28  const double youngs_modulus);
29  ElasticProperty(const ElasticProperty &the_property);
30  ElasticProperty & operator=(const ElasticProperty &the_property);
31  ElasticProperty *clone() const ;
32  void print() const;
34 
38  virtual double getBulkModulus() const;
39  virtual double getYoungsModulus() const;
40  virtual double getLameFirst() const;
41  virtual double getShearModulus() const;
42 
43  double getCompressionalVelocity() const;
44  double getShearVelocity() const;
45 };
46 
47 #endif