25#ifndef _MODELS_VERTEX_SOLVER_ACTORS_TFADHESION_H_
26#define _MODELS_VERTEX_SOLVER_ACTORS_TFADHESION_H_
28#include <tf_platform.h>
33namespace TissueForge::models::vertex {
70 virtual std::string
name()
const override {
return "Adhesion"; }
73 static std::string
actorName() {
return "Adhesion"; }
The mesh body is a volume-enclosing object of mesh surfaces.
Definition tfBody.h:59
The mesh surface is an area-enclosed object of implicit mesh edges defined by mesh vertices.
Definition tfSurface.h:65
The mesh vertex is a volume of a mesh centered at a point in a space.
Definition tfVertex.h:71
Models adhesion between pairs of Surface or Body instances by type.
Definition tfAdhesion.h:60
FloatP_t energy(const Surface *source, const Vertex *target) override
Calculate the energy of a source object acting on a target object.
virtual std::string name() const override
Definition tfAdhesion.h:70
FloatP_t lam
Definition tfAdhesion.h:63
FVector3 force(const Surface *source, const Vertex *target) override
Calculate the force that a source object exerts on a target object.
FloatP_t energy(const Body *source, const Vertex *target) override
Calculate the energy of a source object acting on a target object.
FVector3 force(const Body *source, const Vertex *target) override
Calculate the force that a source object exerts on a target object.
static std::string actorName()
Definition tfAdhesion.h:73
static Adhesion * fromString(const std::string &str)
Create from a JSON string representation.
Base definition of how a mesh object of a type acts on another mesh object through interactions with ...
Definition tfMeshObj.h:201