<commit_before>/****************************************************************/
/*                                                              */
/*  Implementation of Cardiac Tissue elasticity as given in     */
/*  [Whiteley2007]                                              */
/*                                                              */
/****************************************************************/

#ifndef CARDIACTISSUEMATERIAL_H
#define CARDIACTISSUEMATERIAL_H

#include "Material.h"
#include "SymmTensor.h"
#include "libmesh/tensor_value.h"

//Forward Declarations
class CardiacTissueMaterial;

template<>
InputParameters validParams<CardiacTissueMaterial>();

/**
 * Example material class that defines a few properties.
 */
class CardiacTissueMaterial : public Material
{
public:
  CardiacTissueMaterial(const std::string & name,
                  InputParameters parameters);

protected:
  virtual void computeQpProperties();

private:
  SymmTensor _k, _a, _b;

  /**
   * Member reference to the (static) values
   * for the orientation of the fibre coordinate system
   */
  MaterialProperty<RealTensorValue> & _P;

  /**
   * Member reference to the computed values
   * for the deformation gradient tensor
   */
  MaterialProperty<RealTensorValue> & _F;
  
  /**
   * Member reference to the computed values
   * for the 2nd Piola-Kirchoff stress tensor 
   */
  MaterialProperty<RealTensorValue> & _T;
  
  /**
   * Member reference to the computed values
   * for someting like the stress potential T*F^t
   */
  MaterialProperty<RealTensorValue> & _FT;

};

#endif //CARDIACTISSUEMATERIAL_H
<commit_msg>removed stress potential again - will do the comjputation explicitly in the respective kernels<commit_after>/****************************************************************/
/*                                                              */
/*  Implementation of Cardiac Tissue elasticity as given in     */
/*  [Whiteley2007]                                              */
/*                                                              */
/****************************************************************/

#ifndef CARDIACTISSUEMATERIAL_H
#define CARDIACTISSUEMATERIAL_H

#include "Material.h"
#include "SymmTensor.h"
#include "libmesh/tensor_value.h"

//Forward Declarations
class CardiacTissueMaterial;

template<>
InputParameters validParams<CardiacTissueMaterial>();

/**
 * Example material class that defines a few properties.
 */
class CardiacTissueMaterial : public Material
{
public:
  CardiacTissueMaterial(const std::string & name,
                  InputParameters parameters);

protected:
  virtual void computeQpProperties();

private:
  SymmTensor _k, _a, _b;

  /**
   * Member reference to the (static) values
   * for the orientation of the fibre coordinate system
   */
  MaterialProperty<RealTensorValue> & _P;

  /**
   * Member reference to the computed values
   * for the deformation gradient tensor
   */
  MaterialProperty<RealTensorValue> & _F;
  
  /**
   * Member reference to the computed values
   * for the 2nd Piola-Kirchoff stress tensor 
   */
  MaterialProperty<RealTensorValue> & _T;
};

#endif //CARDIACTISSUEMATERIAL_H

{'fraction_non_alphanumeric': 0.15702220832030028, 'fraction_numerical': 0.0031279324366593683, 'mean_word_length': 2.642369020501139, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7236999', 'n_tokens_mistral': 831, 'n_tokens_neox': 784, 'n_words': 225}