Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93567402
phasefield_exponential.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 29, 19:30
Size
3 KB
Mime Type
text/x-c++
Expires
Sun, Dec 1, 19:30 (2 d)
Engine
blob
Format
Raw Data
Handle
22664609
Attached To
rAKA akantu
phasefield_exponential.hh
View Options
/**
* Copyright (©) 2020-2023 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* This file is part of Akantu
*
* Akantu is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* Akantu is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Akantu. If not, see <http://www.gnu.org/licenses/>.
*/
/* -------------------------------------------------------------------------- */
#include "phasefield.hh"
/* -------------------------------------------------------------------------- */
#ifndef AKANTU_PHASEFIELD_EXPONENTIAL_HH_
#define AKANTU_PHASEFIELD_EXPONENTIAL_HH_
namespace akantu {
template <Int dim> class PhaseFieldExponential : public PhaseField {
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public:
PhaseFieldExponential(PhaseFieldModel & model, const ID & id = "");
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
/// compute the dissiapted energy
void computeDissipatedEnergy(ElementType el_type) override;
void
computeDissipatedEnergyByElement(const Element & element,
Vector<Real> & edis_on_quad_points) override;
protected:
void
computeDissipatedEnergyByElement(ElementType type, Idx index,
Vector<Real> & edis_on_quad_points) override;
inline void computePhiOnQuad(const Matrix<Real> & /*strain_quad*/,
Real & /*phi_quad*/, Real & /*phi_hist_quad*/);
inline void computePhiIsotropicOnQuad(const Matrix<Real> & /*strain_quad*/,
Real & /*phi_quad*/,
Real & /*phi_hist_quad*/);
void computeDrivingForce(ElementType /*el_type*/,
GhostType /*ghost_type*/) override;
inline void computeDrivingForceOnQuad(const Real & /*phi_quad*/,
Real & /*driving_force_quad*/);
inline void computeDamageEnergyDensityOnQuad(const Real & /*phi_quad*/,
Real & /*dam_energy_quad*/,
const Real & /*g_c_quad*/);
inline void
computeDissipatedEnergyOnQuad(const Real & /*dam_quad*/,
const Vector<Real> & /*grad_d_quad */,
Real & /*energy*/, Real & /*g_c_quad*/);
public:
void updateInternalParameters() override;
};
} // namespace akantu
#include "phasefield_exponential_inline_impl.hh"
#endif
Event Timeline
Log In to Comment