PhysicsBasedAnimationToolkit 0.0.10
Cross-platform C++20 library of algorithms and data structures commonly used in computer graphics research on physically-based simulation.
Loading...
Searching...
No Matches
LoadVector.h File Reference

Functions to compute load vectors for FEM elements. More...

#include "Concepts.h"
#include "ShapeFunctions.h"
#include "pbat/profiling/Profiling.h"
#include <Eigen/Core>

Go to the source code of this file.

Namespaces

namespace  pbat
 The main namespace of the library.
 
namespace  pbat::fem
 Finite Element Method (FEM)
 

Functions

template<CElement TElement, class TDerivedE, class TDerivedeg, class TDerivedwg, class TDerivedNeg, class TDerivedFeg>
auto pbat::fem::LoadVectors (Eigen::DenseBase< TDerivedE > const &E, Eigen::Index nNodes, Eigen::DenseBase< TDerivedeg > const &eg, Eigen::DenseBase< TDerivedwg > const &wg, Eigen::MatrixBase< TDerivedNeg > const &Neg, Eigen::MatrixBase< TDerivedFeg > const &Feg) -> Eigen::Matrix< typename TDerivedFeg::Scalar, TDerivedFeg::RowsAtCompileTime, Eigen::Dynamic >
 Computes the load vector for a given FEM mesh.
 

Detailed Description

Functions to compute load vectors for FEM elements.

Author
Quoc-Minh Ton-That (tonth.nosp@m.at.q.nosp@m.uocmi.nosp@m.nh@g.nosp@m.mail..nosp@m.com)
Date
2025-02-11