<commit_before>/*************************************************/
/*           DO NOT MODIFY THIS HEADER           */
/*                                               */
/*                     MASTODON                  */
/*                                               */
/*    (c) 2015 Battelle Energy Alliance, LLC     */
/*            ALL RIGHTS RESERVED                */
/*                                               */
/*   Prepared by Battelle Energy Alliance, LLC   */
/*     With the U. S. Department of Energy       */
/*                                               */
/*     See COPYRIGHT for full restrictions       */
/*************************************************/
#ifndef COMPUTEISOTROPICELASTICITYTENSORSOIL_H
#define COMPUTEISOTROPICELASTICITYTENSORSOIL_H

// MOOSE includes
#include "ComputeElasticityTensorBase.h"

// Mastodon includes
#include "LayeredMaterialInterface.h"

/**
 * This material defines elasticity tensor for isotropic linear elastic
 * layer soil material and also calculates the material properties shear and P
 * wave velocities.
 */
class ComputeIsotropicElasticityTensorSoil : public LayeredMaterialInterface<ComputeElasticityTensorBase>
{
public:
  ComputeIsotropicElasticityTensorSoil(const InputParameters & parameters);

protected:

  virtual void computeQpElasticityTensor() override;

  /// Computed P wave modules<commit_msg>Fix isotropic tensor guarantee #40<commit_after>/*************************************************/
/*           DO NOT MODIFY THIS HEADER           */
/*                                               */
/*                     MASTODON                  */
/*                                               */
/*    (c) 2015 Battelle Energy Alliance, LLC     */
/*            ALL RIGHTS RESERVED                */
/*                                               */
/*   Prepared by Battelle Energy Alliance, LLC   */
/*     With the U. S. Department of Energy       */
/*                                               */
/*     See COPYRIGHT for full restrictions       */
/*************************************************/
#ifndef COMPUTEISOTROPICELASTICITYTENSORSOIL_H
#define COMPUTEISOTROPICELASTICITYTENSORSOIL_H

// MOOSE includes
#include "ComputeElasticityTensorBase.h"

// Mastodon includes
#include "LayeredMaterialInterface.h"

/**
 * This material defines elasticity tensor for isotropic linear elastic
 * layer soil material and also calculates the material properties shear and P
 * wave velocities.
 */
class ComputeIsotropicElasticityTensorSoil : public LayeredMaterialInterface<ComputeElasticityTensorBase>
{
public:
  ComputeIsotropicElasticityTensorSoil(const InputParameters & parameters);

  /// This class will always produce an isotropic tensor.
  virtual bool isGuaranteedIsotropic() const override {return true;}

protected:

  virtual void computeQpElasticityTensor() override;

  /// Computed P wave modules
{'fraction_non_alphanumeric': 0.13634806440561836, 'fraction_numerical': 0.0034258307639602604, 'mean_word_length': 1.9918032786885247, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6610915', 'n_tokens_mistral': 694, 'n_tokens_neox': 650, 'n_words': 190}