SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
actions.hpp File Reference
#include <functional>
#include <vector>
#include "serif/operators/backend/mfem/linearized_block.hpp"
Include dependency graph for actions.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  serif
 
namespace  serif::model
 
namespace  serif::model::backend
 
namespace  serif::model::backend::mfem
 

Typedefs

using serif::model::backend::mfem::LinearizedBlock = operators::backend::mfem::LinearizedBlock
 
using serif::model::backend::mfem::MatrixAction = std::function<void(const ::mfem::Vector&, ::mfem::Vector&)>
 

Functions

LinearizedBlock serif::model::backend::mfem::linearized_action (int rows, int columns, MatrixAction action, MatrixAction transpose)
 Wrap owned accepted callbacks with checked dimensions, finite results, and overlap-safe application.
 
LinearizedBlock serif::model::backend::mfem::transpose_block (LinearizedBlock block)
 Reverse a physical coupling without discarding efficient assembly and diagonal operations.
 
LinearizedBlock serif::model::backend::mfem::compose_blocks (LinearizedBlock left, LinearizedBlock right)
 Compose physical coordinate maps in their written mathematical order.
 
LinearizedBlock serif::model::backend::mfem::sum_blocks (int rows, int columns, std::vector< LinearizedBlock > blocks)
 Add accepted contributions to the same physical coupling.