Page MenuHomec4science

material_damage_iterative_non_local.hh
No OneTemporary

File Metadata

Created
Sun, Apr 28, 02:55

material_damage_iterative_non_local.hh

/**
* @file material_damage_iterative_non_local.hh
*
* @author Aurelia Isabel Cuba Ramos <aurelia.cubaramos@epfl.ch>
*
*
* @brief MaterialDamageIterativeNonLocal header for non-local damage
*
* @section LICENSE
*
* Copyright (©) 2010-2012, 2014 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
*/
/* -------------------------------------------------------------------------- */
#include "aka_common.hh"
#include "material_damage_iterative.hh"
#include "material_damage_non_local.hh"
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_MATERIAL_DAMAGE_ITERATIVE_NON_LOCAL_HH__
#define __AKANTU_MATERIAL_DAMAGE_ITERATIVE_NON_LOCAL_HH__
__BEGIN_AKANTU__
/**
* Material Damage Iterative Non local
*
* parameters in the material files :
*/
template<UInt spatial_dimension>
class MaterialDamageIterativeNonLocal : public MaterialDamageNonLocal<spatial_dimension,
MaterialDamageIterative<spatial_dimension> > {
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public:
typedef MaterialDamageNonLocal<spatial_dimension,
MaterialDamageIterative<spatial_dimension> > MaterialDamageIterativeNonLocalParent;
MaterialDamageIterativeNonLocal(SolidMechanicsModel & model, const ID & id = "");
virtual ~MaterialDamageIterativeNonLocal() {};
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
void initMaterial();
virtual void computeNonLocalStresses(GhostType ghost_type);
protected:
void computeStress(ElementType type, GhostType ghost_type);
void computeNonLocalStress(ElementType type, GhostType ghost_type = _not_ghost);
private:
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public:
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
private:
InternalField<Real> grad_u_nl;
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
#include "material_damage_iterative_non_local_inline_impl.cc"
__END_AKANTU__
#endif /* __AKANTU_MATERIAL_DAMAGE_ITERATIVE_NON_LOCAL_HH__ */

Event Timeline